[PATCH wayland] protocol: Add note about per version requirements to wl_data_device_manager

Jonas Ådahl jadahl at gmail.com
Mon Jan 18 02:18:16 PST 2016

Add a note to the wl_data_device_manager global interface about the
different requirements for operating the objects created from the bound

Signed-off-by: Jonas Ådahl <jadahl at gmail.com>

Pekka suggested we should add a note about the per version requirements
(wl_data_source.set_actions, wl_data_offer.accept and wl_data_offer.finish
during DND), see here is such a paragraph.


 protocol/wayland.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index b223bb4..8739cd3 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -910,6 +910,11 @@
       copy-and-paste and drag-and-drop.  These mechanisms are tied to
       a wl_seat and this interface lets a client get a wl_data_device
       corresponding to a wl_seat.
+      Depending on the version bound, the objects created from the bound
+      wl_data_device_manager object will have different requirements for
+      functioning properly. See wl_data_source.set_actions,
+      wl_data_offer.accept and wl_data_offer.finish for details.
     <request name="create_data_source">

More information about the wayland-devel mailing list