diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-10-15 18:50:43 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-10-15 18:50:43 +0100 |
| commit | fe0a4f0d11362fd89d35067847cefe12fb249d68 (patch) | |
| tree | a9bf01aede96e4ea3a5640c51fefc3c08c3d7f15 /src/context.cc | |
| parent | 608196f526b542c257810ef1284813c6cc13197e (diff) | |
Reset normal mode when changing the current editor
Diffstat (limited to 'src/context.cc')
| -rw-r--r-- | src/context.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/context.cc b/src/context.cc index c36984e6..513bd6cb 100644 --- a/src/context.cc +++ b/src/context.cc @@ -153,6 +153,8 @@ void Context::change_editor(Editor& editor) window().set_dimensions(ui().dimensions()); window().hooks().run_hook("WinDisplay", buffer().name(), *this); } + if (has_client()) + client().reset_normal_mode(); } } |
