xdg-shell: Some xdg_popup clarifications
Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
@@ -469,11 +469,14 @@
|
|||||||
A parent surface must be mapped before the new popup is mapped.
|
A parent surface must be mapped before the new popup is mapped.
|
||||||
|
|
||||||
When compositors choose to dismiss a popup, they will likely
|
When compositors choose to dismiss a popup, they will likely
|
||||||
dismiss every nested popup as well.
|
dismiss every nested popup as well. When a compositor dismisses
|
||||||
|
popups, it will follow the same dismissing order as required
|
||||||
|
from the client.
|
||||||
|
|
||||||
The x and y arguments specify where the top left of the popup
|
The x and y arguments passed when creating the popup object specify
|
||||||
should be placed, relative to the local surface coordinates of the
|
where the top left of the popup should be placed, relative to the
|
||||||
parent surface.
|
local surface coordinates of the parent surface. See
|
||||||
|
xdg_shell.get_xdg_popup.
|
||||||
|
|
||||||
The client must call wl_surface.commit on the corresponding wl_surface
|
The client must call wl_surface.commit on the corresponding wl_surface
|
||||||
for the xdg_popup state to take effect.
|
for the xdg_popup state to take effect.
|
||||||
|
|||||||
Reference in New Issue
Block a user