Treeland window managment
treeland_window_management_v1
version 1
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 |
---|---|---|
state | uint | requested state |
show/hide the desktop
Tell the compositor to show/hide the desktop.
show_desktop(state: uint)
Argument | Type | Description |
---|---|---|
state | uint | 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.
desktop_state { normal, show, preview_show }
Argument | Value | Description |
---|---|---|
normal | 0 | |
show | 1 | |
preview_show | 2 |
Compositor Support
Mutter | KWin | Sway | COSMIC | Hyprland | niri | Weston | Labwc | Cage | Wayfire | GameScope | Jay | Mir | Treeland | Louvre | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
treeland_window_management_v1 | x | x | x | x | x | x | x | x | x | x | x | x | x | 1 | x |
Copyright
SPDX-FileCopyrightText: 2024 UnionTech Software Technology Co., Ltd. SPDX-License-Identifier: MIT