Wayland behavior improvements for Yakuake
Current changes:
- Do not use KWindowSystem::activeWindow() on wayland as it doesn't work - replace with Qt builtin where possible. This should solve the sub-issue reported in KDE bug 402634 where on Wayland, with "keep window open when it loses focus" setting, pressing the global shortcut again does not retract the Yakuake window.
- Set "skip taskbar" and "skip task switcher" for Wayland (using the existing
PlasmaShellSurface
) to have the same window behavior as on X11. - Add a work around kwin-wayland's implementation of XDG activation protocol and its too aggressive focus stealing prevention by using a helper invisible window.
Edited by Oded Arbel