mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-10 04:27:45 -05:00
do not end vimode selection on focus loss
This commit is contained in:
parent
fefe3c7d81
commit
8215c8598d
1 changed files with 3 additions and 3 deletions
6
input.c
6
input.c
|
|
@ -2572,9 +2572,9 @@ wl_pointer_leave(void *data, struct wl_pointer *wl_pointer,
|
|||
break;
|
||||
|
||||
case TERM_SURF_GRID:
|
||||
// TODO (kociap): unsure what this does and when it
|
||||
// triggers.
|
||||
selection_finalize(seat, old_moused, seat->pointer.serial);
|
||||
if(!old_moused->vimode.active) {
|
||||
selection_finalize(seat, old_moused, seat->pointer.serial);
|
||||
}
|
||||
break;
|
||||
|
||||
case TERM_SURF_NONE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue