From e5569b1b348db7d8fa291f1f28dbd4684c8cad3c Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Fri, 5 Jul 2024 12:52:06 +0200 Subject: [PATCH] update description from kwin --- src/wlr-layer-shell-unstable-v1.xml | 33 +++++++++++++++++------------ 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/src/wlr-layer-shell-unstable-v1.xml b/src/wlr-layer-shell-unstable-v1.xml index 9be06f9..050bf43 100644 --- a/src/wlr-layer-shell-unstable-v1.xml +++ b/src/wlr-layer-shell-unstable-v1.xml @@ -382,11 +382,6 @@ - - - - - @@ -416,19 +411,29 @@ + + + + Place the layer_surface_v1 relative to the full output area. + + + + + Place the layer_surface_v1 relative to the output area while taking + the exclusive zone of other surfaces into account. + + + + - - When this surface is anchored, it can be to two possible anchor rects. + + Set the anchor rectangle relative to which the anchors are applied. - The work area rect (anchor_rect_work_area) is the usable space, excluding - exclusive zones already claimed by other surfaces, ensuring no overlap will happen. - This is the default behavior + By default, the layer_surface_v1 is anchored to the 'work_area'. - The full area (anchor_rect_full_area) is the whole space of the screen, ensuring - that the surface will touch all the screen edges corresponding to each anchor - edge that was asked, even if this would result in overlapping surfaces. + Anchor rect is double-buffered, see wl_surface.commit. - +