From 2473cac32c9a062ddaee9d5495a72317bdd1f9ff Mon Sep 17 00:00:00 2001 From: David96 Date: Sat, 18 Apr 2020 13:29:20 +0200 Subject: Implement pointer simulation if client hasn't bound to touch --- include/sway/input/cursor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/sway') 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; -- cgit v1.2.3