input: pointer-leave: reset 'active-surface' in terminal

This commit is contained in:
Daniel Eklöf 2020-02-24 22:41:46 +01:00
parent d303084a81
commit 7b18f8394e
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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