protocol: refer to wl_surface.offset in wl_data_device.start_drag

Passing an offset to wl_surface.attach is not supported in the
latest version of the interface.

Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
Simon Ser 2023-10-19 16:29:07 +02:00 committed by Daniel Stone
parent 50ea9c5b1c
commit e4eb42d073

View File

@ -884,7 +884,7 @@
The icon surface is an optional (can be NULL) surface that The icon surface is an optional (can be NULL) surface that
provides an icon to be moved around with the cursor. Initially, provides an icon to be moved around with the cursor. Initially,
the top-left corner of the icon surface is placed at the cursor the top-left corner of the icon surface is placed at the cursor
hotspot, but subsequent wl_surface.attach request can move the hotspot, but subsequent wl_surface.offset requests can move the
relative position. Attach requests must be confirmed with relative position. Attach requests must be confirmed with
wl_surface.commit as usual. The icon surface is given the role of wl_surface.commit as usual. The icon surface is given the role of
a drag-and-drop icon. If the icon surface already has another role, a drag-and-drop icon. If the icon surface already has another role,