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/sway/input | |
parent | 7a294b266839a63c871eeb72b2354dbbebcf15ec (diff) |
Implement pointer simulation if client hasn't bound to touch
Diffstat (limited to 'include/sway/input')
-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 { 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; |