protocol: add missing enums for wl_data_device_manager.dnd_action
authorSimon Ser <contact@emersion.fr>
Mon, 13 Jan 2020 18:00:33 +0000 (19:00 +0100)
committerSimon Ser <contact@emersion.fr>
Tue, 21 Jan 2020 11:40:09 +0000 (11:40 +0000)
Signed-off-by: Simon Ser <contact@emersion.fr>
protocol/wayland.xml

index 1f645ba..f1d95c7 100644 (file)
        This request can only be made on drag-and-drop offers, a protocol error
        will be raised otherwise.
       </description>
-      <arg name="dnd_actions" type="uint" summary="actions supported by the destination client"/>
-      <arg name="preferred_action" type="uint" summary="action preferred by the destination client"/>
+      <arg name="dnd_actions" type="uint" summary="actions supported by the destination client"
+           enum="wl_data_device_manager.dnd_action"/>
+      <arg name="preferred_action" type="uint" summary="action preferred by the destination client"
+           enum="wl_data_device_manager.dnd_action"/>
     </request>
 
     <event name="source_actions" since="3">
        will be sent right after wl_data_device.enter, or anytime the source
        side changes its offered actions through wl_data_source.set_actions.
       </description>
-      <arg name="source_actions" type="uint" summary="actions offered by the data source"/>
+      <arg name="source_actions" type="uint" summary="actions offered by the data source"
+           enum="wl_data_device_manager.dnd_action"/>
     </event>
 
     <event name="action" since="3">
        final wl_data_offer.set_actions and wl_data_offer.accept requests
        must happen before the call to wl_data_offer.finish.
       </description>
-      <arg name="dnd_action" type="uint" summary="action selected by the compositor"/>
+      <arg name="dnd_action" type="uint" summary="action selected by the compositor"
+           enum="wl_data_device_manager.dnd_action"/>
     </event>
   </interface>
 
        wl_data_device.start_drag. Attempting to use the source other than
        for drag-and-drop will raise a protocol error.
       </description>
-      <arg name="dnd_actions" type="uint" summary="actions supported by the data source"/>
+      <arg name="dnd_actions" type="uint" summary="actions supported by the data source"
+           enum="wl_data_device_manager.dnd_action"/>
     </request>
 
     <event name="dnd_drop_performed" since="3">
        Clients can trigger cursor surface changes from this point, so
        they reflect the current action.
       </description>
-      <arg name="dnd_action" type="uint" summary="action selected by the compositor"/>
+      <arg name="dnd_action" type="uint" summary="action selected by the compositor"
+           enum="wl_data_device_manager.dnd_action"/>
     </event>
   </interface>