From f9ef5fdba5051a66f9b44fb3dce77553f5a1079f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Thu, 30 Mar 2023 22:35:04 +0200 Subject: xdg-shell: Clarify window geometry bounds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The xdg_surface window geometry can extend outside the base wl_surface to e.g. accompany subsurfaces that extend outside it but is part of the window itself. Spell out this bit explicitly. Signed-off-by: Jonas Ã…dahl --- stable/xdg-shell/xdg-shell.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stable/xdg-shell/xdg-shell.xml b/stable/xdg-shell/xdg-shell.xml index 835db07..5cbd0d5 100644 --- a/stable/xdg-shell/xdg-shell.xml +++ b/stable/xdg-shell/xdg-shell.xml @@ -530,7 +530,9 @@ commit. This unset is meant for extremely simple clients. The arguments are given in the surface-local coordinate space of - the wl_surface associated with this xdg_surface. + the wl_surface associated with this xdg_surface, and may extend outside + of the wl_surface itself to mark parts of the subsurface tree as part of + the window geometry. When applied, the effective window geometry will be the set window geometry clamped to the bounding rectangle of the combined -- cgit v1.2.1