mirror of
https://github.com/brl/mutter.git
synced 2025-03-28 06:03:47 +00:00

Since Xwayland surface constraints might need to enable not only because the constrained window appears focused, add a pointer focus listener and try constrain whenever the pointer focus changes. It's still required that a Xwayland window is focused to activate. https://bugzilla.gnome.org/show_bug.cgi?id=771050