clutter/stage: Ensure that generated crossing events go through filters
We essentially create those at the time they need to be handled, and use shortcuts that avoid the event from being queued up. It's too much of a short cut though, these events are also of interest to the Wayland event handlers, e.g. to handle pointer state changes (e.g. repicks due to the pick actor being destroyed) immediately, instead of at the next event. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1915>
This commit is contained in:
parent
757d595fa3
commit
28009e8e63
@ -3486,7 +3486,8 @@ create_crossing_event (ClutterStage *stage,
|
|||||||
* now, so we go on, and synthesize the event emission
|
* now, so we go on, and synthesize the event emission
|
||||||
* ourselves
|
* ourselves
|
||||||
*/
|
*/
|
||||||
_clutter_process_event (event);
|
if (!_clutter_event_process_filters (event))
|
||||||
|
_clutter_process_event (event);
|
||||||
|
|
||||||
clutter_event_free (event);
|
clutter_event_free (event);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user