diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-02-24 21:41:46 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-02-24 21:41:46 +0000 |
| commit | 7b18f8394e45aaf5a930e6ea08b6a4a58f5c7dc7 (patch) | |
| tree | 03d3de895e7fd6100dbd670bb614397a31db3563 /input.c | |
| parent | input: pointer-enter: differentiate between the surfaces (diff) | |
input: pointer-leave: reset 'active-surface' in terminal
Diffstat (limited to 'input.c')
| -rw-r--r-- | input.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |
