Support forceActiveWindow for Panels
ClosedPublic

Authored by graesslin on Oct 12 2016, 12:49 PM.

Details

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.

Diff Detail

Repository
R130 Frameworks integration plugin using KWayland
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin updated this revision to Diff 7345.Oct 12 2016, 12:49 PM
graesslin retitled this revision from to Support forceActiveWindow for Panels.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added a reviewer: Plasma on Wayland.
Restricted Application added a project: Plasma on Wayland. · View Herald TranscriptOct 12 2016, 12:49 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
sebas accepted this revision.Oct 16 2016, 2:48 PM
sebas added a reviewer: sebas.
This revision is now accepted and ready to land.Oct 16 2016, 2:48 PM
This revision was automatically updated to reflect the committed changes.