Understanding GNOME Shell’s focus stealing prevention

from blog GNOME Shell & Mutter, | ↗ original
Focus stealing prevention exists for two main reasons: One is security, since we need to prevent rogue apps from deceiving users into e.g. typing their password into another window. If apps can silently claim keyboard focus and open their own window over the currently focused one, this enables phishing and other similar attacks. The other …...