treeland_foreign_toplevel_manager_v1 ↗
Copyright
SPDX-FileCopyrightText: 2024 UnionTech Software Technology Co., Ltd. SPDX-License-Identifier: MIT
- treeland_foreign_toplevel_manager_v1 — foreign toplevel manager
- treeland_foreign_toplevel_handle_v1 — An opened toplevel
- treeland_dock_preview_context_v1 — handle dock preview
manage foreign toplevel windows
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.
treeland_foreign_toplevel_manager_v1
treeland_foreign_toplevel_manager_v1
- toplevel — a toplevel has been created
- stop — Stop sending events
- finished — the compositor has finished with the toplevel manager
- get_dock_preview_context — create a dock preview context
foreign toplevel manager
This interface allows a client to observe information about toplevel windows managed by the compositor.
treeland_foreign_toplevel_manager_v1
treeland_foreign_toplevel_handle_v1
- pid — Process id of application owning the window has changed
- title — title change
- app_id — app-id change
- identifier — a stable identifier for a toplevel
- output_enter — toplevel entered an output
- output_leave — toplevel left an output
- set_maximized — requests that the toplevel be maximized
- unset_maximized — requests that the toplevel be unmaximized
- set_minimized — requests that the toplevel be minimized
- unset_minimized — requests that the toplevel be unminimized
- activate — activate the toplevel
- state — types of states on the toplevel
- state — the toplevel state changed
- done — all information about the toplevel has been sent
- close — request that the toplevel be closed
- set_rectangle — the rectangle which represents the toplevel
- error
- closed — this toplevel has been destroyed
- destroy — destroy the treeland_foreign_toplevel_handle_v1 object
- set_fullscreen — request that the toplevel be fullscreened
- unset_fullscreen — request that the toplevel be unfullscreened
- parent — parent change
An opened toplevel
A treeland_foreign_toplevel_handle_v1 object represents an opened toplevel window. Each app may have multiple opened toplevels.
treeland_foreign_toplevel_manager_v1
treeland_dock_preview_context_v1
- direction — types of direction on the dock preview
- enter — enter preview box
- leave — leave preview box
- show — set preview surfaces
- show_tooltip — show a tooltip
- close — close preview box
- destroy — destroy the context object
handle dock preview
This interface allows dock set windows preview.