Wayland Focus Stealing Prevention: The XDG Activation Story
2025-08-09
Unlike X, Wayland requires applications to use the XDG Activation protocol to bring their windows to the front. This protocol uses tokens to ensure focus changes are legitimate, preventing rogue applications from stealing focus. The KDE community recently fixed several applications' XDG Activation issues (Dolphin, KRunner, etc.) and strengthened KWin's focus stealing prevention, improving the Wayland user experience. KWin will gradually tighten its focus stealing policy to enforce proper application behavior.
Development