From e49a2c0b56c3992cf6e10f1a1a870eef6d4f855f Mon Sep 17 00:00:00 2001 From: Jonas Ådahl Date: Mon, 8 May 2017 21:43:18 +0800 Subject: xdg-shell/positioner: Allow empty anchor_rect MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allow setting an empty anchor rectangle, so that one can map a popup against a coordinate, not a pixel. Signed-off-by: Jonas Ådahl Reviewed-By: Mike Blumenkrantz --- stable/xdg-shell/xdg-shell.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stable/xdg-shell') diff --git a/stable/xdg-shell/xdg-shell.xml b/stable/xdg-shell/xdg-shell.xml index 2be4599..e64bd3e 100644 --- a/stable/xdg-shell/xdg-shell.xml +++ b/stable/xdg-shell/xdg-shell.xml @@ -165,13 +165,13 @@ Specify the anchor rectangle within the parent surface that the child surface will be placed relative to. The rectangle is relative to the window geometry as defined by xdg_surface.set_window_geometry of the - parent surface. The rectangle must be at least 1x1 large. + parent surface. When the xdg_positioner object is used to position a child surface, the anchor rectangle may not extend outside the window geometry of the positioned child's parent surface. - If a zero or negative size is set the invalid_input error is raised. + If a negative size is set the invalid_input error is raised. -- cgit v1.2.3