mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 10:30:47 -05: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. |
||
---|---|---|
.. | ||
native | ||
x11 | ||
edid-parse.c | ||
edid.h | ||
meta-backend-private.h | ||
meta-backend.c | ||
meta-backend.h | ||
meta-cursor-private.h | ||
meta-cursor-renderer.c | ||
meta-cursor-renderer.h | ||
meta-cursor-tracker-private.h | ||
meta-cursor-tracker.c | ||
meta-cursor.c | ||
meta-cursor.h | ||
meta-display-config-shared.h | ||
meta-idle-monitor-dbus.c | ||
meta-idle-monitor-dbus.h | ||
meta-idle-monitor-private.h | ||
meta-idle-monitor.c | ||
meta-monitor-config.c | ||
meta-monitor-config.h | ||
meta-monitor-manager-dummy.c | ||
meta-monitor-manager-dummy.h | ||
meta-monitor-manager.c | ||
meta-monitor-manager.h |