mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
input: pointer-leave: reset 'active-surface' in terminal
This commit is contained in:
parent
d303084a81
commit
7b18f8394e
1 changed files with 3 additions and 1 deletions
4
input.c
4
input.c
|
|
@ -684,8 +684,10 @@ wl_pointer_leave(void *data, struct wl_pointer *wl_pointer,
|
|||
LOG_WARN(
|
||||
"compositor sent pointer_leave event without a pointer_enter "
|
||||
"event: surface=%p", surface);
|
||||
} else
|
||||
} else {
|
||||
old_moused->active_surface = TERM_SURF_NONE;
|
||||
term_xcursor_update(old_moused);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue