graesslin created this revision. graesslin added a reviewer: Plasma on Wayland. Restricted Application added a project: Plasma on Wayland. Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY On X11 a panel can be activated by setting it to type dock and then force activating it. This change implements this behavior for Wayland by checking whether a window refers to a PlasmaShellSurface of type Panel and then sets the hint that it wants to get focus. For other window types the force activate is still not supported and this is also (mostly) the correct behavior. REPOSITORY rKWAYLANDINTEGRATION Frameworks integration plugin using KWayland BRANCH force-active-window-panel REVISION DETAIL https://phabricator.kde.org/D3036 AFFECTED FILES src/windowsystem/windowsystem.cpp EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #plasma_on_wayland Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas