diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2017-05-08 21:43:18 +0800 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2017-11-21 16:25:51 +0800 |
commit | e49a2c0b56c3992cf6e10f1a1a870eef6d4f855f (patch) | |
tree | e0b6c6ebe88895681ed15f8cdcce5a543548bfb9 /stable/xdg-shell | |
parent | 092c976606dc340340c4a7a15a8968cbdb15818b (diff) |
xdg-shell/positioner: Allow empty anchor_rect
Allow setting an empty anchor rectangle, so that one can map a popup
against a coordinate, not a pixel.
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-By: Mike Blumenkrantz <zmike@osg.samsung.com>
Diffstat (limited to 'stable/xdg-shell')
-rw-r--r-- | stable/xdg-shell/xdg-shell.xml | 4 |
1 files changed, 2 insertions, 2 deletions
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. </description> <arg name="x" type="int" summary="x position of anchor rectangle"/> <arg name="y" type="int" summary="y position of anchor rectangle"/> |