From 224f73d72a2d844fa16dbcf61108c5c3f9abf610 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 12 Feb 2015 14:55:02 +0000 Subject: Cleanup and refactor externally modified buffer reloading * Correctly hide the reload dialog in every client. * Correctly handle buffer being deleted. --- src/input_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input_handler.cc') 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); })} {} -- cgit v1.2.3