diff options
author | David96 <david@hameipe.de> | 2020-04-18 13:29:20 +0200 |
---|---|---|
committer | Tudor Brindus <me@tbrindus.ca> | 2020-05-13 14:29:15 -0400 |
commit | 2473cac32c9a062ddaee9d5495a72317bdd1f9ff (patch) | |
tree | b22f06986323cc5af17a48c7de65013e66be26a8 /include | |
parent | Really fix floating window border resize problems (diff) | |
download | sway-2473cac32c9a062ddaee9d5495a72317bdd1f9ff.tar.gz sway-2473cac32c9a062ddaee9d5495a72317bdd1f9ff.tar.zst sway-2473cac32c9a062ddaee9d5495a72317bdd1f9ff.zip |
Implement pointer simulation if client hasn't bound to touch
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/input/cursor.h | 2 |
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; |