From 2913f39dcb58997ab055465154d7c7b287da10c7 Mon Sep 17 00:00:00 2001 From: Tudor Brindus Date: Sat, 25 Apr 2020 22:12:59 -0400 Subject: 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. --- include/sway/input/cursor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/sway/input') diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h index 35738894..3f46c548 100644 --- a/include/sway/input/cursor.h +++ b/include/sway/input/cursor.h @@ -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; -- cgit v1.2.3