diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-02-12 14:55:02 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-02-12 19:18:03 +0000 |
| commit | 224f73d72a2d844fa16dbcf61108c5c3f9abf610 (patch) | |
| tree | e8a2c456b7def9b7ac3a1f3a6d4e1480c6db3549 /src/input_handler.cc | |
| parent | 6658d157418e7d5b3e71a3ae0d13497be93b7fb1 (diff) | |
Cleanup and refactor externally modified buffer reloading
* Correctly hide the reload dialog in every client.
* Correctly handle buffer being deleted.
Diffstat (limited to 'src/input_handler.cc')
| -rw-r--r-- | src/input_handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc index 354fa973..c0d1c11f 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -64,7 +64,7 @@ public: Timer::Callback() : Timer::Callback([this](Timer& timer) { if (not context().has_client()) return; - context().client().check_buffer_fs_timestamp(); + context().client().check_if_buffer_needs_reloading(); timer.set_next_date(Clock::now() + fs_check_timeout); })} {} |
