aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/cursor.h
diff options
context:
space:
mode:
authorLibravatar David96 <david@hameipe.de>2020-04-18 13:29:20 +0200
committerLibravatar Tudor Brindus <me@tbrindus.ca>2020-05-13 14:29:15 -0400
commit2473cac32c9a062ddaee9d5495a72317bdd1f9ff (patch)
treeb22f06986323cc5af17a48c7de65013e66be26a8 /include/sway/input/cursor.h
parentReally fix floating window border resize problems (diff)
downloadsway-2473cac32c9a062ddaee9d5495a72317bdd1f9ff.tar.gz
sway-2473cac32c9a062ddaee9d5495a72317bdd1f9ff.tar.zst
sway-2473cac32c9a062ddaee9d5495a72317bdd1f9ff.zip
Implement pointer simulation if client hasn't bound to touch
Diffstat (limited to 'include/sway/input/cursor.h')
-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 {
50 struct wl_listener touch_down; 50 struct wl_listener touch_down;
51 struct wl_listener touch_up; 51 struct wl_listener touch_up;
52 struct wl_listener touch_motion; 52 struct wl_listener touch_motion;
53 bool simulating_pointer_from_touch;
54 int32_t pointer_touch_id;
53 55
54 struct wl_listener tool_axis; 56 struct wl_listener tool_axis;
55 struct wl_listener tool_tip; 57 struct wl_listener tool_tip;