mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
fix vimode selection breaking on focus loss
This commit is contained in:
parent
8215c8598d
commit
c22ec6a9b9
1 changed files with 2 additions and 0 deletions
2
input.c
2
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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue