SPDX-License-Identifier: LGPL-2.1-or-later
]]>
This interface is used by the Pantheon Wayland shell to communicate with
the compositor.
Create a panel surface from an existing surface.
Create a desktop widget surface from an existing surface.
Create a desktop-specific surface from an existing surface.
The anchor is a placement hint to the compositor.
How the shell should handle the window.
Tell the shell which side of the screen the panel is
located. This is so that new windows do not overlap the panel
and maximized windows maximize properly.
Request keyboard focus, taking it away from any other window.
Keyboard focus must always be manually be requested and is
- in contrast to normal windows - never automatically granted
by the compositor.
The given size is only used for exclusive zones and
collision tracking for auto hide. By default and if set
to -1 the size of the surface is used.
Tell the shell when to hide the panel.
Tell the shell to keep the surface above on all workspaces
Request to keep the surface centered. This will cause keyboard focus
to not be granted automatically but having to be requested via focus.
Request keyboard focus, taking it away from any other window.
Keyboard focus must always be manually be requested and is
- in contrast to normal windows - never automatically granted
by the compositor.