input/cursor: release simulated tool tip button when over v2 surface

d88460f addressed sending v2 tool tip up when over a non-v2 surface.
This commit addresses the other direction.

Fixes #5230.
This commit is contained in:
Tudor Brindus 2020-04-25 22:12:59 -04:00 committed by Simon Ser
parent 091f580b7c
commit 2913f39dcb
2 changed files with 9 additions and 1 deletions

View file

@ -55,6 +55,7 @@ struct sway_cursor {
struct wl_listener tool_tip;
struct wl_listener tool_proximity;
struct wl_listener tool_button;
bool simulated_tool_tip_down;
uint32_t tool_buttons;
struct wl_listener request_set_cursor;