This interface is used by KF5 powered Wayland shells to communicate with
the compositor and can only be bound one time.
Warning! The protocol described in this file is a desktop environment
implementation detail. Regular clients must not use this protocol.
Backward incompatible changes may be added without bumping the major
version of the extension.
Create a shell surface for an existing surface.
Only one shell surface can be associated with a given
surface.
An interface that may be implemented by a wl_surface, for
implementations that provide the shell user interface.
It provides requests to set surface roles, assign an output
or set the position in output coordinates.
On the server side the object is automatically destroyed when
the related wl_surface is destroyed. On client side,
org_kde_plasma_surface.destroy() must be called before
destroying the wl_surface object.
The org_kde_plasma_surface interface is removed from the
wl_surface object that was turned into a shell surface with the
org_kde_plasma_shell.get_surface request.
The shell surface role is lost and wl_surface is unmapped.
Assign an output to this shell surface.
The compositor will use this information to set the position
when org_kde_plasma_surface.set_position request is
called.
Move the surface to new coordinates.
Coordinates are global, for example 50,50 for a 1920,0+1920x1080 output
is 1970,50 in global coordinates space.
Use org_kde_plasma_surface.set_output to assign an output
to this surface.
Assign a role to a shell surface.
The compositor handles surfaces depending on their role.
This request fails if the surface already has a role, this means
the surface role may be assigned only once.
== Surfaces with desktop role ==
Desktop surfaces are placed below all other surfaces and are used
to show the actual desktop view with icons, search results or
controls the user will interact with. What to show depends on the
shell implementation.
The surfaces are placed according to the output coordinates.
No size is imposed to those surfaces, the shell has to resize
them according to output size.
Only one surface per output can have the desktop role.
Deprecated in Plasma 6. Has no effect.
Setting this bit to the window, will make it say it prefers to not be listed in the taskbar.
By default various org_kde_plasma_surface roles do not take focus and cannot be
activated. With this request the compositor can be instructed to pass focus also to this
org_kde_plasma_surface.
Setting this bit will indicate that the window prefers not to be listed in a switcher.
Request the initial position of this surface to be under the current
cursor position. Has to be called before attaching any buffer to this surface.