summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-09-12 11:38:17 +0800
committerMaxime Coste <mawww@kakoune.org>2017-09-12 11:38:17 +0800
commitdf6b39ab607cf410e378446ca9bb6852c47b6370 (patch)
treea4f7b78ebe09a5578ef61a414e30497673c33bd5 /src/input_handler.cc
parentefa66d7486333e92c18594d51db8df9d9f1fe0e2 (diff)
Hide info box and eventual status message after handling a mouse event
Fixes #1566
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index debae2d8..eae424da 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -231,6 +231,10 @@ public:
if (m_mouse_handler.handle_key(key, context()))
{
+ context().print_status({});
+ if (context().has_client())
+ context().client().info_hide();
+
if (not transient)
m_idle_timer.set_next_date(Clock::now() + get_idle_timeout(context()));
}