mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 09:59:03 +00:00
67773ab88d
Add the mechanism to integrate MetaWaylandEventInterface with grabs, callers may now specify whether a grab is required, in which case one is created, shared by all the event interface stack. ClutterStage grab state is also tracked, so the MetaWaylandEventInterface in charge will focus or unfocus depending on whether input should be handled (if ungrabbed, or grabbed by the MetaWaylandInput itself), or not (if grabbed by something else). At the moment nothing uses this mechanism yet, later commits will add the first users. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3420>