mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2025-12-20 02:20:12 +01:00
xdg-toplevel-drag: clarify offset is relative to geometry
The current description is not clear about it, though the only available implementation works like that, so make it explicit in the protocol description. Signed-off-by: Nick Diego Yamane <nickdiego@igalia.com>
This commit is contained in:
parent
9b95f83a2f
commit
e7fea17be8
1 changed files with 4 additions and 3 deletions
|
|
@ -118,9 +118,10 @@
|
|||
Request that the window will be moved with the cursor during the drag
|
||||
operation. The offset is a hint to the compositor how the toplevel
|
||||
should be positioned relative to the cursor hotspot in surface local
|
||||
coordinates. For example it might only be used when an unmapped window
|
||||
is attached. The attached window does not participate in the selection
|
||||
of the drag target.
|
||||
coordinates and relative to the geometry of the toplevel being attached.
|
||||
See xdg_surface.set_window_geometry. For example it might only
|
||||
be used when an unmapped window is attached. The attached window
|
||||
does not participate in the selection of the drag target.
|
||||
|
||||
If the toplevel is unmapped while it is attached, it is automatically
|
||||
detached from the drag. In this case this request has to be called again
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue