aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2021-07-10 14:02:20 +0200
committerLibravatar Simon Ser <contact@emersion.fr>2021-07-26 16:58:11 +0200
commit2e03a61262746b882e82033914afae950a9fa2b2 (patch)
treec7f7432dd647bc0c6f06389dd3d42d6e2a28ed7b /meson.build
parentFix crash when starting without HOME (diff)
downloadsway-2e03a61262746b882e82033914afae950a9fa2b2.tar.gz
sway-2e03a61262746b882e82033914afae950a9fa2b2.tar.zst
sway-2e03a61262746b882e82033914afae950a9fa2b2.zip
Fix wl_pointer.frame not sent on touch emulation
When emulating touch, the simulating_pointer_from_touch field is set to true. It's switched back to false when a touch_up event is received. However we need to ensure we always send a wl_pointer.frame event following a group of other wl_pointer events. Since a touch_frame event is always guaranteed to come after a group of touch events, unset simulating_pointer_from_touch in the touch_frame handler instead of the touch_up handler. Add a new field to know whether the touch_frame handler should stop emulation.
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions