XApp Shell

xapp_shell_v1

version 1
XApp window-manager hints

xapp_shell is a private protocol extension that lets clients attach XApp-specific window-manager hints to their toplevel surfaces. It is the Wayland counterpart of the X11 _NET_WM_XAPP_* window properties used by the Cinnamon desktop: a themed icon name (resolved crisply by the compositor at any scale) and task-manager progress information.

The compositor advertises which hints it understands through the 'capabilities' event, allowing clients to negotiate features instead of relying on the interface version alone.

get_xapp_surface(id: new_id<xapp_surface_v1>, surface: object<wl_surface>)
Argument
Type
Description
idnew_id<xapp_surface_v1>
surfaceobject<wl_surface>
create an xapp surface for a wl_surface

Create an xapp_surface_v1 object associated with the given wl_surface, through which XApp hints can be set on the corresponding window.

destroy
Type: destructor
destroy()
destroy the xapp shell object

Destroy the xapp_shell_v1 object. This does not affect any xapp_surface_v1 objects created with it.

Argument
Type
Description
capabilitiesuint<xapp_shell_v1.capability>
advertise supported hints

This event is sent once when the client binds the global, describing the set of hints the compositor supports.

capability { icon_name, progress } 
Argument
Value
Description
icon_name1
set_icon_name is supported
progress2
set_progress/set_progress_pulse are supported

XApp hints for a single window

An xapp_surface_v1 carries XApp hints for the wl_surface it was created for. Setting a hint takes effect immediately. The hints persist until changed or unset; destroying the object does not reset them.

set_icon_name(icon_name: string)
Argument
Type
Description
icon_namestringallow null
set a themed icon name or icon path

Set a themed icon name, or an absolute path to an icon file, that the compositor and its desktop shell should use for this window in titlebars, task lists and window switchers. Pass a null name to unset it.

set_progress(progress: int)
Argument
Type
Description
progressint
set progress (0-100)

Set a progress value, from 0 to 100, to be displayed by a task manager for this window. A value of 0 clears the progress. Setting an explicit progress value also clears the pulsing state.

set_progress_pulse(pulse: uint)
Argument
Type
Description
pulseuint
set indeterminate progress

Set whether the window should show indeterminate ('pulsing') progress. A non-zero value enables pulsing.

destroy
Type: destructor
destroy()
destroy the xapp surface object

Destroy the xapp_surface_v1 object. Hints already set on the window are left untouched.


Compositor Support

xapp_shell_v1
Compositors
CageCage0.3.0
x
COSMICCOSMIC1.0.0~beta.8
x
GameScopeGameScope3.15.14
x
HyprlandHyprland0.52.1
x
Jay1.14.0
x
KWinKWin6.6
x
LabwcLabwc0.20.2
x
LouvreLouvre2.14.1
x
MirMir2.26
x
MuffinMuffin6.7.4
1
MutterMutter50.4
x
niriniri26.04
x
phocphoc0.55
x
riverriver0.3.13
x
SwaySway1.11
x
TreelandTreeland0.8.0
x
WayfireWayfire0.9.0
x
WestonWeston14.0.2
x

Copyright © 2026 Linux Mint

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.