mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00:00
6c17aa66c6
Mutters event filter can prevent events from getting processed by Clutter, this can also happen for TOUCH_END/CANCEL events. Processing these events in Clutter is crucial for proper tracking of touch sequences though, that's because Clutter adds a PointerDeviceEntry to the stage on a TOUCH_BEGIN *before* going through the event filter, but removes that entry on a TOUCH_END *after* going through the filter. So Clutter really needs to see those TOUCH_END events, or else there will be a stale PointerDeviceEntry on the ClutterStage. Make sure those TOUCH_END/CANCEL events always get seen by Clutter by removing the device entry immediately when those get filtered out. Because there might still be events belonging to this sequence in the event queue of the stage, we need to flush the queue before removing the entry, too. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2350> |
||
---|---|---|
.. | ||
clutter | ||
.gitignore | ||
meson.build |