From c22ec6a9b9822505853ef79081587340df2139ee Mon Sep 17 00:00:00 2001 From: Piotr Kocia Date: Sat, 14 Jun 2025 13:32:21 +0200 Subject: [PATCH] fix vimode selection breaking on focus loss --- input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/input.c b/input.c index b5b0240a..853a4891 100644 --- a/input.c +++ b/input.c @@ -2572,6 +2572,8 @@ wl_pointer_leave(void *data, struct wl_pointer *wl_pointer, break; case TERM_SURF_GRID: + // We want to keep the vimode selection going regardless + // of whether we have focus or not. if(!old_moused->vimode.active) { selection_finalize(seat, old_moused, seat->pointer.serial); }