Codebase list wayland / 5d891f0
protocol: add missing enums for wl_data_device_manager.dnd_action Signed-off-by: Simon Ser <contact@emersion.fr> Simon Ser authored 4 years ago Héctor Orón Martínez committed 4 years ago
1 changed file(s) with 12 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
592592 This request can only be made on drag-and-drop offers, a protocol error
593593 will be raised otherwise.
594594 </description>
595 <arg name="dnd_actions" type="uint" summary="actions supported by the destination client"/>
596 <arg name="preferred_action" type="uint" summary="action preferred by the destination client"/>
595 <arg name="dnd_actions" type="uint" summary="actions supported by the destination client"
596 enum="wl_data_device_manager.dnd_action"/>
597 <arg name="preferred_action" type="uint" summary="action preferred by the destination client"
598 enum="wl_data_device_manager.dnd_action"/>
597599 </request>
598600
599601 <event name="source_actions" since="3">
602604 will be sent right after wl_data_device.enter, or anytime the source
603605 side changes its offered actions through wl_data_source.set_actions.
604606 </description>
605 <arg name="source_actions" type="uint" summary="actions offered by the data source"/>
607 <arg name="source_actions" type="uint" summary="actions offered by the data source"
608 enum="wl_data_device_manager.dnd_action"/>
606609 </event>
607610
608611 <event name="action" since="3">
643646 final wl_data_offer.set_actions and wl_data_offer.accept requests
644647 must happen before the call to wl_data_offer.finish.
645648 </description>
646 <arg name="dnd_action" type="uint" summary="action selected by the compositor"/>
649 <arg name="dnd_action" type="uint" summary="action selected by the compositor"
650 enum="wl_data_device_manager.dnd_action"/>
647651 </event>
648652 </interface>
649653
740744 wl_data_device.start_drag. Attempting to use the source other than
741745 for drag-and-drop will raise a protocol error.
742746 </description>
743 <arg name="dnd_actions" type="uint" summary="actions supported by the data source"/>
747 <arg name="dnd_actions" type="uint" summary="actions supported by the data source"
748 enum="wl_data_device_manager.dnd_action"/>
744749 </request>
745750
746751 <event name="dnd_drop_performed" since="3">
796801 Clients can trigger cursor surface changes from this point, so
797802 they reflect the current action.
798803 </description>
799 <arg name="dnd_action" type="uint" summary="action selected by the compositor"/>
804 <arg name="dnd_action" type="uint" summary="action selected by the compositor"
805 enum="wl_data_device_manager.dnd_action"/>
800806 </event>
801807 </interface>
802808