mirror of
https://github.com/swaywm/sway.git
synced 2024-12-27 15:36:29 +01:00
2e03a61262
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. |
||
---|---|---|
.. | ||
sway | ||
swaybar | ||
swaynag | ||
background-image.h | ||
cairo_util.h | ||
ipc-client.h | ||
ipc.h | ||
list.h | ||
log.h | ||
loop.h | ||
meson.build | ||
pango.h | ||
pool-buffer.h | ||
stringop.h | ||
util.h |