mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
704cae1de3
When a touch sequence is passively grabbed and later rejected, events will be replayed on the next client in propagation order, although those events (either transformed to pointer events or not) will contain the original timestamps, this will make grabs fail with InvalidTime if triggered from the replayed ButtonPress/TouchBegin handler. In order to work around this, store the most recent event time (presumably gotten from the XI_TouchEnd caused by the passive grab being rejected), and use that time on the events being replayed afterwards and grabs, so we don't possibly fail with InvalidTime if those events result in a compositor grab. |
||
---|---|---|
.. | ||
backends | ||
compositor | ||
core | ||
meta | ||
ui | ||
wayland | ||
x11 | ||
.cvsignore | ||
libmutter.pc.in | ||
Makefile.am | ||
mutter-enum-types.c.in | ||
mutter-enum-types.h.in | ||
org.freedesktop.login1.xml | ||
org.gnome.Mutter.DisplayConfig.xml | ||
org.gnome.Mutter.IdleMonitor.xml |