Implement pointer simulation if client hasn't bound to touch

This commit is contained in:
David96 2020-04-18 13:29:20 +02:00 committed by Tudor Brindus
parent 7a294b2668
commit 2473cac32c
2 changed files with 52 additions and 24 deletions

View file

@ -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;