treeland_xwindow_control_unstable_v1 ↗
Copyright
SPDX-FileCopyrightText: 2024 - 2026 UnionTech Software Technology Co., Ltd. SPDX-License-Identifier: MIT
- treeland_xwindow_control_v1 — XWayland window placement control
XWayland window placement control for treeland
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.
This protocol allows a privileged DDE client such as the dock or shell to place XWayland windows on the compositor: moving an XWayland window identified by its X11 window ID to a position relative to another surface.
The compositor should reject bind attempts from non-privileged clients.
The terms "must", "must not", "should", and "may" in this document are to be interpreted as described in RFC 2119.
treeland_xwindow_control_unstable_v1
treeland_xwindow_control_v1
- destroy — destroy the xwindow control object
- set_xwindow_position_relative — move an XWayland window relative to a surface
XWayland window placement control
A global that exposes XWayland window placement actions to a privileged DDE client.
The compositor should reject bind attempts from non-privileged clients.
This interface is stateless: each request is an independent one-shot action. The compositor does not send events on this interface; set_xwindow_position_relative reports its result through a per-request wl_callback.