From e4eb42d073056201d4569ddff16743265f1eedf6 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 19 Oct 2023 16:29:07 +0200 Subject: [PATCH] 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 --- protocol/wayland.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 5efe562d..bc7865b0 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -884,7 +884,7 @@ The icon surface is an optional (can be NULL) surface that provides an icon to be moved around with the cursor. Initially, 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 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,