aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input
diff options
context:
space:
mode:
authorDavid96 <david@hameipe.de>2020-04-18 13:29:20 +0200
committerTudor Brindus <me@tbrindus.ca>2020-05-13 14:29:15 -0400
commit2473cac32c9a062ddaee9d5495a72317bdd1f9ff (patch)
treeb22f06986323cc5af17a48c7de65013e66be26a8 /include/sway/input
parent7a294b266839a63c871eeb72b2354dbbebcf15ec (diff)
Implement pointer simulation if client hasn't bound to touch
Diffstat (limited to 'include/sway/input')
-rw-r--r--include/sway/input/cursor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h
index 1b31143d..8f9f84d0 100644
--- a/include/sway/input/cursor.h
+++ b/include/sway/input/cursor.h
@@ -50,6 +50,8 @@ struct sway_cursor {
struct wl_listener touch_down;
struct wl_listener touch_up;
struct wl_listener touch_motion;
+ bool simulating_pointer_from_touch;
+ int32_t pointer_touch_id;
struct wl_listener tool_axis;
struct wl_listener tool_tip;