Treeland window management

application window management

Warning! This protocol is EXPERIMENTAL and under active development. It may change at any time, including in backward-incompatible ways, without incrementing the interface major version and without prior notice. No compatibility guarantees of any kind are provided. Clients and compositors must track the upstream definition in treeland-protocols and must not rely on the current interface names, requests, events, or semantics remaining stable across releases.

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.

Argument
Type
Description
stateuint<treeland_window_management_v1.desktop_state>
requested state
show/hide the desktop

Tell the compositor to show/hide the desktop.

destroy()
destroy the window manager object
Argument
Type
Description
stateuint<treeland_window_management_v1.desktop_state>
new state
notify the client when the show desktop mode is entered/left

This event will be sent whenever the show desktop mode changes. For example, this event is sent when the user enters or leaves show desktop mode.

On binding the interface the current state is sent.

desktop_state { normal, show, preview_show } 
Argument
Value
Description
normal0
normal desktop state
show1
show desktop mode
preview_show2
preview show desktop mode

Compositor Support

treeland_window_management_v1↓
Compositors
CageCage0.3.0
x
COSMICCOSMIC1.11.0
x
flakewm3.0.5
x
GameScopeGameScope3.17.0
x
HyprlandHyprland0.57.2
x
Jay1.14.0
x
KWinKWin6.7
x
LabwcLabwc0.20.2
x
LouvreLouvre2.14.1
x
MangoMango0.16.3
x
MirMir2.26
x
MuffinMuffin6.7.4
x
MutterMutter51
x
niriniri26.04
x
phocphoc0.55
x
Pila0.5.1
x
QtileQtile0.37.1
x
riverriver0.5.0
x
SwaySway1.11
x
TreelandTreeland0.8.0
1
WayfireWayfire0.9.0
x
WestonWeston15.0.1
x

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