From 81b5d476a96e83464971f6f17cc8770079550de1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Thu, 4 Mar 2021 08:57:03 +0100 Subject: [PATCH] input: exit URLs mode on mouse button events This makes URLs mode behave like scrollback search mode. --- input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/input.c b/input.c index b7b2d290..601f8267 100644 --- a/input.c +++ b/input.c @@ -1693,6 +1693,7 @@ wl_pointer_button(void *data, struct wl_pointer *wl_pointer, case TERM_SURF_GRID: { search_cancel(term); + urls_reset(term); bool cursor_is_on_grid = seat->mouse.col >= 0 && seat->mouse.row >= 0;