aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2020-04-25 22:12:59 -0400
committerFurkan Sahin <furkan-dev@proton.me>2020-04-25 22:12:59 -0400
commitc3fcbc9f6c67d6378108455610c022632ee2e23f (patch)
treef8fee0fba77f9eab3d3a4348cd8ddf5aef6b6e4c /include
parentdec2cf9f58231168cb0f74af91d6918181801a94 (diff)
input/cursor: release simulated tool tip button when over v2 surface
e13cc6f addressed sending v2 tool tip up when over a non-v2 surface. This commit addresses the other direction. Fixes #5230.
Diffstat (limited to 'include')
-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 {
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;