diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-08-07 21:51:36 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-08-07 21:51:36 +0100 |
| commit | 43f44bbab3c3a6b3f219d8a1a235ee5c7267b2f5 (patch) | |
| tree | 0b58148748ba2ca35feb39e4d5d6a67e5c51d364 /src | |
| parent | c4f0c4dee6d258992977c445b696dec64b58aa8e (diff) | |
Fix buffer modification check
It used to grab the next key, because the normal mode reactivation
when executing the on_next_key would trigger a timestamp check again.
Diffstat (limited to 'src')
| -rw-r--r-- | src/input_handler.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc index 9459dd74..1ece72b6 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -69,7 +69,8 @@ public: { if (not context().has_client()) return; - context().client().check_buffer_fs_timestamp(); + // Do not check buffer timestamp, we might already be executing the + // on next key of a buffer timestamp check. m_fs_check_timer.set_next_date(Clock::now() + fs_check_timeout); context().hooks().run_hook("NormalBegin", "", context()); |
