graesslin created this revision. graesslin added a reviewer: Plasma on Wayland. Restricted Application added a subscriber: plasma-devel. Restricted Application added a project: Plasma on Wayland.
REVISION SUMMARY This change adds support for auto-hiding panels. A PlasmaShellSurface with Role Panel and PanelBehavior AutoHide can request to get auto-hidden at a screen edge. The compositor will then not show the surface although it is still mapped and will show it again once the screen edge gets triggered. The interface is extended by one new request to allow the client to request the hiding of the surface. In addition two events are added to inform the client when the surface got hidden and when it got shown again. REPOSITORY rKWAYLAND KWayland BRANCH panel-auto-hide REVISION DETAIL https://phabricator.kde.org/D3007 AFFECTED FILES autotests/client/test_plasmashell.cpp src/client/plasmashell.cpp src/client/plasmashell.h src/client/protocols/plasma-shell.xml src/client/registry.cpp src/server/plasmashell_interface.cpp src/server/plasmashell_interface.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #plasma_on_wayland Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas