mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -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(
|
LOG_WARN(
|
||||||
"compositor sent pointer_leave event without a pointer_enter "
|
"compositor sent pointer_leave event without a pointer_enter "
|
||||||
"event: surface=%p", surface);
|
"event: surface=%p", surface);
|
||||||
} else
|
} else {
|
||||||
|
old_moused->active_surface = TERM_SURF_NONE;
|
||||||
term_xcursor_update(old_moused);
|
term_xcursor_update(old_moused);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue