aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/cursor.h
diff options
context:
space:
mode:
authorLibravatar Tudor Brindus <me@tbrindus.ca>2020-04-25 22:12:59 -0400
committerLibravatar Simon Ser <contact@emersion.fr>2020-05-01 11:00:49 +0200
commit2913f39dcb58997ab055465154d7c7b287da10c7 (patch)
treef8fee0fba77f9eab3d3a4348cd8ddf5aef6b6e4c /include/sway/input/cursor.h
parentinput/seatop_default: properly notify pointer leave (diff)
downloadsway-2913f39dcb58997ab055465154d7c7b287da10c7.tar.gz
sway-2913f39dcb58997ab055465154d7c7b287da10c7.tar.zst
sway-2913f39dcb58997ab055465154d7c7b287da10c7.zip
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.
Diffstat (limited to 'include/sway/input/cursor.h')
-rw-r--r--include/sway/input/cursor.h1
1 files changed, 1 insertions, 0 deletions
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 {
55 struct wl_listener tool_tip; 55 struct wl_listener tool_tip;
56 struct wl_listener tool_proximity; 56 struct wl_listener tool_proximity;
57 struct wl_listener tool_button; 57 struct wl_listener tool_button;
58 bool simulated_tool_tip_down;
58 uint32_t tool_buttons; 59 uint32_t tool_buttons;
59 60
60 struct wl_listener request_set_cursor; 61 struct wl_listener request_set_cursor;