Skip to content

x11: Don't move X11 input focus during grabs

Florian Müllner requested to merge fmuellner/mutter:x11-grab-stealing into main

On X11, the display system's own input focus can undermine Clutter grabs, e.g. a newly activated window can take away focus from supposedly system-modal modes (shell overview, dialogs, ...).

Fix this, as well as an related issue where the tracking of the server focus xwindow messes up the stage's focused state.

Ah, isn't X fun ...

Fixes gnome-shell#5932 (closed)

Merge request reports