From 94c82f2ed1f8145bb53769b12acdd6ce7e3daa00 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 9 May 2024 10:58:57 +0200 Subject: [PATCH] update docs --- src/wlr-layer-shell-unstable-v1.xml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/wlr-layer-shell-unstable-v1.xml b/src/wlr-layer-shell-unstable-v1.xml index 4583fe2..19dfd82 100644 --- a/src/wlr-layer-shell-unstable-v1.xml +++ b/src/wlr-layer-shell-unstable-v1.xml @@ -176,11 +176,12 @@ occluding the panel, but shell surfaces are shown underneath it. The default value is 0. - Since version 6 It must be a value of 0 or more, otherwise the error - invalid_exclusive_zone will be triggered. Exclusive zone is double-buffered, see wl_surface.commit. + Since version 6 It must be a value of 0 or more, otherwise the error + invalid_exclusive_zone will be triggered. + Until version 5 if set to -1, the surface indicates that it would not like to be moved to accommodate for other surfaces, and the compositor should extend it all the way to the edges it is anchored to. @@ -412,8 +413,14 @@ - Asks for this surface to not be automatically moved and resized according - to exclusive zones claimed by other surfaces. + Asks for this surface to not be automatically moved and resized according to + exclusive zones claimed by other surfaces. + + The accomodate parameter is treated as a boolean flag, a zero value means false, + a non zero value means true. + + This is the default behavior, if you want a zone to not be automatically moved, + explicitly call this with 0 as parameter.