application windows management

This interface manages application windows. It provides requests to show and hide the desktop and emits an event every time a window is created so that the client can use it to manage the window.

Only one client can bind this interface at a time.

set_desktop(state: uint)
Argument
Type
Description
stateuint
requested state
show/hide the desktop

Tell the compositor to show/hide the desktop.

destroy()
destroy the window manager object
show_desktop(state: uint)
Argument
Type
Description
stateuint
new state
notify the client when the show desktop mode is entered/left

This event will be sent whenever the show desktop mode changes. E.g. when it is entered or left.

On binding the interface the current state is sent.


Compositor Support

Cage
Cage
0.2.0
COSMIC
COSMIC
1.0.0~beta.8
GameScope
GameScope
3.15.14
Hyprland
Hyprland
0.52.1
Jay
1.11.0
KWin
KWin
6.4
Labwc
Labwc
0.9.2
Louvre
Louvre
2.14.1
Mir
Mir
2.19
Muffin
Muffin
6.6.0
Mutter
Mutter
49.2
niri
niri
25.11
phoc
phoc
0.52
river
river
0.3.13
Sway
Sway
1.11
Treeland
Treeland
0.8.0
Wayfire
Wayfire
0.9.0
Weston
Weston
14.0.2
treeland_window_management_v1
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
1
x
x

SPDX-FileCopyrightText: 2024 UnionTech Software Technology Co., Ltd. SPDX-License-Identifier: MIT