From 3f767be500d6a92d293c3cbf6cc04cce6c8dc594 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 27 Aug 2019 19:44:19 +0200 Subject: [PATCH] input: cancel search on mouse button events --- input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/input.c b/input.c index 4384cead..237d1f68 100644 --- a/input.c +++ b/input.c @@ -448,6 +448,8 @@ wl_pointer_button(void *data, struct wl_pointer *wl_pointer, struct terminal *term = data; + search_cancel(term); + switch (state) { case WL_POINTER_BUTTON_STATE_PRESSED: { /* Time since last click */