mirror of
https://github.com/swaywm/sway.git
synced 2025-10-31 22:25:26 -04:00
Implement pointer simulation if client hasn't bound to touch
This commit is contained in:
parent
7a294b2668
commit
2473cac32c
2 changed files with 52 additions and 24 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue