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
592 | 592 | This request can only be made on drag-and-drop offers, a protocol error |
593 | 593 | will be raised otherwise. |
594 | 594 | </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"/> | |
597 | 599 | </request> |
598 | 600 | |
599 | 601 | <event name="source_actions" since="3"> |
602 | 604 | will be sent right after wl_data_device.enter, or anytime the source |
603 | 605 | side changes its offered actions through wl_data_source.set_actions. |
604 | 606 | </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"/> | |
606 | 609 | </event> |
607 | 610 | |
608 | 611 | <event name="action" since="3"> |
643 | 646 | final wl_data_offer.set_actions and wl_data_offer.accept requests |
644 | 647 | must happen before the call to wl_data_offer.finish. |
645 | 648 | </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"/> | |
647 | 651 | </event> |
648 | 652 | </interface> |
649 | 653 | |
740 | 744 | wl_data_device.start_drag. Attempting to use the source other than |
741 | 745 | for drag-and-drop will raise a protocol error. |
742 | 746 | </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"/> | |
744 | 749 | </request> |
745 | 750 | |
746 | 751 | <event name="dnd_drop_performed" since="3"> |
796 | 801 | Clients can trigger cursor surface changes from this point, so |
797 | 802 | they reflect the current action. |
798 | 803 | </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"/> | |
800 | 806 | </event> |
801 | 807 | </interface> |
802 | 808 |