Implement show on screen edge for Wayland
ClosedPublic

Authored by graesslin on Sep 16 2016, 6:38 AM.

Details

Summary

This change ports ScreenEdges to operate on AbstractClient instead of
Client. For this AbstractClient gained a new pure virtual method
showOnScreenEdge which is also implemented in ShellClient.

In ShellClient the functionality is bound for the case windows can
cover a panel. If triggered the panel gets raised again.

The auto hiding panel, though, is not yet implemented. For that the
protocol needs to be adjusted to give a hint to the compositor when to
hide and hint back to the panel when it was shown. This needs a change
in KWayland and thus is not 5.8 material.

Test Plan

See added test case

Diff Detail

Repository
R108 KWin
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 6769.Sep 16 2016, 6:38 AM
graesslin retitled this revision from to Implement show on screen edge for Wayland.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added reviewers: KWin, Plasma on Wayland.
Restricted Application added projects: Plasma on Wayland, KWin. · View Herald TranscriptSep 16 2016, 6:38 AM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
sebas accepted this revision.Oct 4 2016, 2:19 PM
sebas added a reviewer: sebas.
This revision is now accepted and ready to land.Oct 4 2016, 2:19 PM
This revision was automatically updated to reflect the committed changes.