diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-12-19 11:56:38 -0500 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2017-01-17 21:29:13 +0800 |
commit | 375385e3d2372604618f2b2adebc57e304b4268c (patch) | |
tree | 4cac87e5a3bbd166e6d57cf852769e87cc9a69b8 | |
parent | 642dd7af507d8f1c618b8a1397aba649681f8bcd (diff) |
xdg-shell: require popups to intersect with or be adjacent to parent surfaces
some restrictions must be placed on this or else it becomes legal for
the compositor to place popups in unexpected locations
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
-rw-r--r-- | unstable/xdg-shell/xdg-shell-unstable-v6.xml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/unstable/xdg-shell/xdg-shell-unstable-v6.xml b/unstable/xdg-shell/xdg-shell-unstable-v6.xml index e49d74f..1c0f924 100644 --- a/unstable/xdg-shell/xdg-shell-unstable-v6.xml +++ b/unstable/xdg-shell/xdg-shell-unstable-v6.xml @@ -118,7 +118,9 @@ child surface relative to a parent surface. Rules can be defined to ensure the child surface remains within the visible area's borders, and to specify how the child surface changes its position, such as sliding along - an axis, or flipping around a rectangle. + an axis, or flipping around a rectangle. These positioner-created rules are + constrained by the requirement that a child surface must intersect with or + be at least partially adjacent to its parent surface. See the various requests for details about possible rules. @@ -941,7 +943,8 @@ The x and y arguments passed when creating the popup object specify where the top left of the popup should be placed, relative to the local surface coordinates of the parent surface. See - xdg_surface.get_popup. + xdg_surface.get_popup. An xdg_popup must intersect with or be at least + partially adjacent to its parent surface. The client must call wl_surface.commit on the corresponding wl_surface for the xdg_popup state to take effect. |