1#include <wayland-client-protocol-unstable.hpp>
3using namespace wayland;
6const wl_interface* zwp_fullscreen_shell_v1_interface_release_request[0] = {
9const wl_interface* zwp_fullscreen_shell_v1_interface_present_surface_request[3] = {
15const wl_interface* zwp_fullscreen_shell_v1_interface_present_surface_for_mode_request[4] = {
19 &zwp_fullscreen_shell_mode_feedback_v1_interface,
22const wl_interface* zwp_fullscreen_shell_v1_interface_capability_event[1] = {
26const wl_message zwp_fullscreen_shell_v1_interface_requests[3] = {
30 zwp_fullscreen_shell_v1_interface_release_request,
35 zwp_fullscreen_shell_v1_interface_present_surface_request,
38 "present_surface_for_mode",
40 zwp_fullscreen_shell_v1_interface_present_surface_for_mode_request,
44const wl_message zwp_fullscreen_shell_v1_interface_events[1] = {
48 zwp_fullscreen_shell_v1_interface_capability_event,
52const wl_interface wayland::detail::zwp_fullscreen_shell_v1_interface =
54 "zwp_fullscreen_shell_v1",
57 zwp_fullscreen_shell_v1_interface_requests,
59 zwp_fullscreen_shell_v1_interface_events,
62const wl_interface* zwp_fullscreen_shell_mode_feedback_v1_interface_mode_successful_event[0] = {
65const wl_interface* zwp_fullscreen_shell_mode_feedback_v1_interface_mode_failed_event[0] = {
68const wl_interface* zwp_fullscreen_shell_mode_feedback_v1_interface_present_cancelled_event[0] = {
71const wl_message zwp_fullscreen_shell_mode_feedback_v1_interface_requests[0] = {
74const wl_message zwp_fullscreen_shell_mode_feedback_v1_interface_events[3] = {
78 zwp_fullscreen_shell_mode_feedback_v1_interface_mode_successful_event,
83 zwp_fullscreen_shell_mode_feedback_v1_interface_mode_failed_event,
88 zwp_fullscreen_shell_mode_feedback_v1_interface_present_cancelled_event,
92const wl_interface wayland::detail::zwp_fullscreen_shell_mode_feedback_v1_interface =
94 "zwp_fullscreen_shell_mode_feedback_v1",
97 zwp_fullscreen_shell_mode_feedback_v1_interface_requests,
99 zwp_fullscreen_shell_mode_feedback_v1_interface_events,
102const wl_interface* zwp_idle_inhibit_manager_v1_interface_destroy_request[0] = {
105const wl_interface* zwp_idle_inhibit_manager_v1_interface_create_inhibitor_request[2] = {
106 &zwp_idle_inhibitor_v1_interface,
110const wl_message zwp_idle_inhibit_manager_v1_interface_requests[2] = {
114 zwp_idle_inhibit_manager_v1_interface_destroy_request,
119 zwp_idle_inhibit_manager_v1_interface_create_inhibitor_request,
123const wl_message zwp_idle_inhibit_manager_v1_interface_events[0] = {
126const wl_interface wayland::detail::zwp_idle_inhibit_manager_v1_interface =
128 "zwp_idle_inhibit_manager_v1",
131 zwp_idle_inhibit_manager_v1_interface_requests,
133 zwp_idle_inhibit_manager_v1_interface_events,
136const wl_interface* zwp_idle_inhibitor_v1_interface_destroy_request[0] = {
139const wl_message zwp_idle_inhibitor_v1_interface_requests[1] = {
143 zwp_idle_inhibitor_v1_interface_destroy_request,
147const wl_message zwp_idle_inhibitor_v1_interface_events[0] = {
150const wl_interface wayland::detail::zwp_idle_inhibitor_v1_interface =
152 "zwp_idle_inhibitor_v1",
155 zwp_idle_inhibitor_v1_interface_requests,
157 zwp_idle_inhibitor_v1_interface_events,
160const wl_interface* zwp_input_method_context_v1_interface_destroy_request[0] = {
163const wl_interface* zwp_input_method_context_v1_interface_commit_string_request[2] = {
168const wl_interface* zwp_input_method_context_v1_interface_preedit_string_request[3] = {
174const wl_interface* zwp_input_method_context_v1_interface_preedit_styling_request[3] = {
180const wl_interface* zwp_input_method_context_v1_interface_preedit_cursor_request[1] = {
184const wl_interface* zwp_input_method_context_v1_interface_delete_surrounding_text_request[2] = {
189const wl_interface* zwp_input_method_context_v1_interface_cursor_position_request[2] = {
194const wl_interface* zwp_input_method_context_v1_interface_modifiers_map_request[1] = {
198const wl_interface* zwp_input_method_context_v1_interface_keysym_request[5] = {
206const wl_interface* zwp_input_method_context_v1_interface_grab_keyboard_request[1] = {
210const wl_interface* zwp_input_method_context_v1_interface_key_request[4] = {
217const wl_interface* zwp_input_method_context_v1_interface_modifiers_request[5] = {
225const wl_interface* zwp_input_method_context_v1_interface_language_request[2] = {
230const wl_interface* zwp_input_method_context_v1_interface_text_direction_request[2] = {
235const wl_interface* zwp_input_method_context_v1_interface_surrounding_text_event[3] = {
241const wl_interface* zwp_input_method_context_v1_interface_reset_event[0] = {
244const wl_interface* zwp_input_method_context_v1_interface_content_type_event[2] = {
249const wl_interface* zwp_input_method_context_v1_interface_invoke_action_event[2] = {
254const wl_interface* zwp_input_method_context_v1_interface_commit_state_event[1] = {
258const wl_interface* zwp_input_method_context_v1_interface_preferred_language_event[1] = {
262const wl_message zwp_input_method_context_v1_interface_requests[14] = {
266 zwp_input_method_context_v1_interface_destroy_request,
271 zwp_input_method_context_v1_interface_commit_string_request,
276 zwp_input_method_context_v1_interface_preedit_string_request,
281 zwp_input_method_context_v1_interface_preedit_styling_request,
286 zwp_input_method_context_v1_interface_preedit_cursor_request,
289 "delete_surrounding_text",
291 zwp_input_method_context_v1_interface_delete_surrounding_text_request,
296 zwp_input_method_context_v1_interface_cursor_position_request,
301 zwp_input_method_context_v1_interface_modifiers_map_request,
306 zwp_input_method_context_v1_interface_keysym_request,
311 zwp_input_method_context_v1_interface_grab_keyboard_request,
316 zwp_input_method_context_v1_interface_key_request,
321 zwp_input_method_context_v1_interface_modifiers_request,
326 zwp_input_method_context_v1_interface_language_request,
331 zwp_input_method_context_v1_interface_text_direction_request,
335const wl_message zwp_input_method_context_v1_interface_events[6] = {
339 zwp_input_method_context_v1_interface_surrounding_text_event,
344 zwp_input_method_context_v1_interface_reset_event,
349 zwp_input_method_context_v1_interface_content_type_event,
354 zwp_input_method_context_v1_interface_invoke_action_event,
359 zwp_input_method_context_v1_interface_commit_state_event,
362 "preferred_language",
364 zwp_input_method_context_v1_interface_preferred_language_event,
368const wl_interface wayland::detail::zwp_input_method_context_v1_interface =
370 "zwp_input_method_context_v1",
373 zwp_input_method_context_v1_interface_requests,
375 zwp_input_method_context_v1_interface_events,
378const wl_interface* zwp_input_method_v1_interface_activate_event[1] = {
379 &zwp_input_method_context_v1_interface,
382const wl_interface* zwp_input_method_v1_interface_deactivate_event[1] = {
383 &zwp_input_method_context_v1_interface,
386const wl_message zwp_input_method_v1_interface_requests[0] = {
389const wl_message zwp_input_method_v1_interface_events[2] = {
393 zwp_input_method_v1_interface_activate_event,
398 zwp_input_method_v1_interface_deactivate_event,
402const wl_interface wayland::detail::zwp_input_method_v1_interface =
404 "zwp_input_method_v1",
407 zwp_input_method_v1_interface_requests,
409 zwp_input_method_v1_interface_events,
412const wl_interface* zwp_input_panel_v1_interface_get_input_panel_surface_request[2] = {
413 &zwp_input_panel_surface_v1_interface,
417const wl_message zwp_input_panel_v1_interface_requests[1] = {
419 "get_input_panel_surface",
421 zwp_input_panel_v1_interface_get_input_panel_surface_request,
425const wl_message zwp_input_panel_v1_interface_events[0] = {
428const wl_interface wayland::detail::zwp_input_panel_v1_interface =
430 "zwp_input_panel_v1",
433 zwp_input_panel_v1_interface_requests,
435 zwp_input_panel_v1_interface_events,
438const wl_interface* zwp_input_panel_surface_v1_interface_set_toplevel_request[2] = {
443const wl_interface* zwp_input_panel_surface_v1_interface_set_overlay_panel_request[0] = {
446const wl_message zwp_input_panel_surface_v1_interface_requests[2] = {
450 zwp_input_panel_surface_v1_interface_set_toplevel_request,
455 zwp_input_panel_surface_v1_interface_set_overlay_panel_request,
459const wl_message zwp_input_panel_surface_v1_interface_events[0] = {
462const wl_interface wayland::detail::zwp_input_panel_surface_v1_interface =
464 "zwp_input_panel_surface_v1",
467 zwp_input_panel_surface_v1_interface_requests,
469 zwp_input_panel_surface_v1_interface_events,
472const wl_interface* zwp_input_timestamps_manager_v1_interface_destroy_request[0] = {
475const wl_interface* zwp_input_timestamps_manager_v1_interface_get_keyboard_timestamps_request[2] = {
476 &zwp_input_timestamps_v1_interface,
480const wl_interface* zwp_input_timestamps_manager_v1_interface_get_pointer_timestamps_request[2] = {
481 &zwp_input_timestamps_v1_interface,
485const wl_interface* zwp_input_timestamps_manager_v1_interface_get_touch_timestamps_request[2] = {
486 &zwp_input_timestamps_v1_interface,
490const wl_message zwp_input_timestamps_manager_v1_interface_requests[4] = {
494 zwp_input_timestamps_manager_v1_interface_destroy_request,
497 "get_keyboard_timestamps",
499 zwp_input_timestamps_manager_v1_interface_get_keyboard_timestamps_request,
502 "get_pointer_timestamps",
504 zwp_input_timestamps_manager_v1_interface_get_pointer_timestamps_request,
507 "get_touch_timestamps",
509 zwp_input_timestamps_manager_v1_interface_get_touch_timestamps_request,
513const wl_message zwp_input_timestamps_manager_v1_interface_events[0] = {
516const wl_interface wayland::detail::zwp_input_timestamps_manager_v1_interface =
518 "zwp_input_timestamps_manager_v1",
521 zwp_input_timestamps_manager_v1_interface_requests,
523 zwp_input_timestamps_manager_v1_interface_events,
526const wl_interface* zwp_input_timestamps_v1_interface_destroy_request[0] = {
529const wl_interface* zwp_input_timestamps_v1_interface_timestamp_event[3] = {
535const wl_message zwp_input_timestamps_v1_interface_requests[1] = {
539 zwp_input_timestamps_v1_interface_destroy_request,
543const wl_message zwp_input_timestamps_v1_interface_events[1] = {
547 zwp_input_timestamps_v1_interface_timestamp_event,
551const wl_interface wayland::detail::zwp_input_timestamps_v1_interface =
553 "zwp_input_timestamps_v1",
556 zwp_input_timestamps_v1_interface_requests,
558 zwp_input_timestamps_v1_interface_events,
561const wl_interface* zwp_keyboard_shortcuts_inhibit_manager_v1_interface_destroy_request[0] = {
564const wl_interface* zwp_keyboard_shortcuts_inhibit_manager_v1_interface_inhibit_shortcuts_request[3] = {
565 &zwp_keyboard_shortcuts_inhibitor_v1_interface,
570const wl_message zwp_keyboard_shortcuts_inhibit_manager_v1_interface_requests[2] = {
574 zwp_keyboard_shortcuts_inhibit_manager_v1_interface_destroy_request,
579 zwp_keyboard_shortcuts_inhibit_manager_v1_interface_inhibit_shortcuts_request,
583const wl_message zwp_keyboard_shortcuts_inhibit_manager_v1_interface_events[0] = {
586const wl_interface wayland::detail::zwp_keyboard_shortcuts_inhibit_manager_v1_interface =
588 "zwp_keyboard_shortcuts_inhibit_manager_v1",
591 zwp_keyboard_shortcuts_inhibit_manager_v1_interface_requests,
593 zwp_keyboard_shortcuts_inhibit_manager_v1_interface_events,
596const wl_interface* zwp_keyboard_shortcuts_inhibitor_v1_interface_destroy_request[0] = {
599const wl_interface* zwp_keyboard_shortcuts_inhibitor_v1_interface_active_event[0] = {
602const wl_interface* zwp_keyboard_shortcuts_inhibitor_v1_interface_inactive_event[0] = {
605const wl_message zwp_keyboard_shortcuts_inhibitor_v1_interface_requests[1] = {
609 zwp_keyboard_shortcuts_inhibitor_v1_interface_destroy_request,
613const wl_message zwp_keyboard_shortcuts_inhibitor_v1_interface_events[2] = {
617 zwp_keyboard_shortcuts_inhibitor_v1_interface_active_event,
622 zwp_keyboard_shortcuts_inhibitor_v1_interface_inactive_event,
626const wl_interface wayland::detail::zwp_keyboard_shortcuts_inhibitor_v1_interface =
628 "zwp_keyboard_shortcuts_inhibitor_v1",
631 zwp_keyboard_shortcuts_inhibitor_v1_interface_requests,
633 zwp_keyboard_shortcuts_inhibitor_v1_interface_events,
636const wl_interface* zwp_linux_dmabuf_v1_interface_destroy_request[0] = {
639const wl_interface* zwp_linux_dmabuf_v1_interface_create_params_request[1] = {
640 &zwp_linux_buffer_params_v1_interface,
643const wl_interface* zwp_linux_dmabuf_v1_interface_get_default_feedback_request[1] = {
644 &zwp_linux_dmabuf_feedback_v1_interface,
647const wl_interface* zwp_linux_dmabuf_v1_interface_get_surface_feedback_request[2] = {
648 &zwp_linux_dmabuf_feedback_v1_interface,
652const wl_interface* zwp_linux_dmabuf_v1_interface_format_event[1] = {
656const wl_interface* zwp_linux_dmabuf_v1_interface_modifier_event[3] = {
662const wl_message zwp_linux_dmabuf_v1_interface_requests[4] = {
666 zwp_linux_dmabuf_v1_interface_destroy_request,
671 zwp_linux_dmabuf_v1_interface_create_params_request,
674 "get_default_feedback",
676 zwp_linux_dmabuf_v1_interface_get_default_feedback_request,
679 "get_surface_feedback",
681 zwp_linux_dmabuf_v1_interface_get_surface_feedback_request,
685const wl_message zwp_linux_dmabuf_v1_interface_events[2] = {
689 zwp_linux_dmabuf_v1_interface_format_event,
694 zwp_linux_dmabuf_v1_interface_modifier_event,
698const wl_interface wayland::detail::zwp_linux_dmabuf_v1_interface =
700 "zwp_linux_dmabuf_v1",
703 zwp_linux_dmabuf_v1_interface_requests,
705 zwp_linux_dmabuf_v1_interface_events,
708const wl_interface* zwp_linux_buffer_params_v1_interface_destroy_request[0] = {
711const wl_interface* zwp_linux_buffer_params_v1_interface_add_request[6] = {
720const wl_interface* zwp_linux_buffer_params_v1_interface_create_request[4] = {
727const wl_interface* zwp_linux_buffer_params_v1_interface_create_immed_request[5] = {
735const wl_interface* zwp_linux_buffer_params_v1_interface_created_event[1] = {
739const wl_interface* zwp_linux_buffer_params_v1_interface_failed_event[0] = {
742const wl_message zwp_linux_buffer_params_v1_interface_requests[4] = {
746 zwp_linux_buffer_params_v1_interface_destroy_request,
751 zwp_linux_buffer_params_v1_interface_add_request,
756 zwp_linux_buffer_params_v1_interface_create_request,
761 zwp_linux_buffer_params_v1_interface_create_immed_request,
765const wl_message zwp_linux_buffer_params_v1_interface_events[2] = {
769 zwp_linux_buffer_params_v1_interface_created_event,
774 zwp_linux_buffer_params_v1_interface_failed_event,
778const wl_interface wayland::detail::zwp_linux_buffer_params_v1_interface =
780 "zwp_linux_buffer_params_v1",
783 zwp_linux_buffer_params_v1_interface_requests,
785 zwp_linux_buffer_params_v1_interface_events,
788const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_destroy_request[0] = {
791const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_done_event[0] = {
794const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_format_table_event[2] = {
799const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_main_device_event[1] = {
803const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_tranche_done_event[0] = {
806const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_tranche_target_device_event[1] = {
810const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_tranche_formats_event[1] = {
814const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_tranche_flags_event[1] = {
818const wl_message zwp_linux_dmabuf_feedback_v1_interface_requests[1] = {
822 zwp_linux_dmabuf_feedback_v1_interface_destroy_request,
826const wl_message zwp_linux_dmabuf_feedback_v1_interface_events[7] = {
830 zwp_linux_dmabuf_feedback_v1_interface_done_event,
835 zwp_linux_dmabuf_feedback_v1_interface_format_table_event,
840 zwp_linux_dmabuf_feedback_v1_interface_main_device_event,
845 zwp_linux_dmabuf_feedback_v1_interface_tranche_done_event,
848 "tranche_target_device",
850 zwp_linux_dmabuf_feedback_v1_interface_tranche_target_device_event,
855 zwp_linux_dmabuf_feedback_v1_interface_tranche_formats_event,
860 zwp_linux_dmabuf_feedback_v1_interface_tranche_flags_event,
864const wl_interface wayland::detail::zwp_linux_dmabuf_feedback_v1_interface =
866 "zwp_linux_dmabuf_feedback_v1",
869 zwp_linux_dmabuf_feedback_v1_interface_requests,
871 zwp_linux_dmabuf_feedback_v1_interface_events,
874const wl_interface* zwp_linux_explicit_synchronization_v1_interface_destroy_request[0] = {
877const wl_interface* zwp_linux_explicit_synchronization_v1_interface_get_synchronization_request[2] = {
878 &zwp_linux_surface_synchronization_v1_interface,
882const wl_message zwp_linux_explicit_synchronization_v1_interface_requests[2] = {
886 zwp_linux_explicit_synchronization_v1_interface_destroy_request,
889 "get_synchronization",
891 zwp_linux_explicit_synchronization_v1_interface_get_synchronization_request,
895const wl_message zwp_linux_explicit_synchronization_v1_interface_events[0] = {
898const wl_interface wayland::detail::zwp_linux_explicit_synchronization_v1_interface =
900 "zwp_linux_explicit_synchronization_v1",
903 zwp_linux_explicit_synchronization_v1_interface_requests,
905 zwp_linux_explicit_synchronization_v1_interface_events,
908const wl_interface* zwp_linux_surface_synchronization_v1_interface_destroy_request[0] = {
911const wl_interface* zwp_linux_surface_synchronization_v1_interface_set_acquire_fence_request[1] = {
915const wl_interface* zwp_linux_surface_synchronization_v1_interface_get_release_request[1] = {
916 &zwp_linux_buffer_release_v1_interface,
919const wl_message zwp_linux_surface_synchronization_v1_interface_requests[3] = {
923 zwp_linux_surface_synchronization_v1_interface_destroy_request,
928 zwp_linux_surface_synchronization_v1_interface_set_acquire_fence_request,
933 zwp_linux_surface_synchronization_v1_interface_get_release_request,
937const wl_message zwp_linux_surface_synchronization_v1_interface_events[0] = {
940const wl_interface wayland::detail::zwp_linux_surface_synchronization_v1_interface =
942 "zwp_linux_surface_synchronization_v1",
945 zwp_linux_surface_synchronization_v1_interface_requests,
947 zwp_linux_surface_synchronization_v1_interface_events,
950const wl_interface* zwp_linux_buffer_release_v1_interface_fenced_release_event[1] = {
954const wl_interface* zwp_linux_buffer_release_v1_interface_immediate_release_event[0] = {
957const wl_message zwp_linux_buffer_release_v1_interface_requests[0] = {
960const wl_message zwp_linux_buffer_release_v1_interface_events[2] = {
964 zwp_linux_buffer_release_v1_interface_fenced_release_event,
969 zwp_linux_buffer_release_v1_interface_immediate_release_event,
973const wl_interface wayland::detail::zwp_linux_buffer_release_v1_interface =
975 "zwp_linux_buffer_release_v1",
978 zwp_linux_buffer_release_v1_interface_requests,
980 zwp_linux_buffer_release_v1_interface_events,
983const wl_interface* zwp_pointer_constraints_v1_interface_destroy_request[0] = {
986const wl_interface* zwp_pointer_constraints_v1_interface_lock_pointer_request[5] = {
987 &zwp_locked_pointer_v1_interface,
994const wl_interface* zwp_pointer_constraints_v1_interface_confine_pointer_request[5] = {
995 &zwp_confined_pointer_v1_interface,
1002const wl_message zwp_pointer_constraints_v1_interface_requests[3] = {
1006 zwp_pointer_constraints_v1_interface_destroy_request,
1011 zwp_pointer_constraints_v1_interface_lock_pointer_request,
1016 zwp_pointer_constraints_v1_interface_confine_pointer_request,
1020const wl_message zwp_pointer_constraints_v1_interface_events[0] = {
1023const wl_interface wayland::detail::zwp_pointer_constraints_v1_interface =
1025 "zwp_pointer_constraints_v1",
1028 zwp_pointer_constraints_v1_interface_requests,
1030 zwp_pointer_constraints_v1_interface_events,
1033const wl_interface* zwp_locked_pointer_v1_interface_destroy_request[0] = {
1036const wl_interface* zwp_locked_pointer_v1_interface_set_cursor_position_hint_request[2] = {
1041const wl_interface* zwp_locked_pointer_v1_interface_set_region_request[1] = {
1045const wl_interface* zwp_locked_pointer_v1_interface_locked_event[0] = {
1048const wl_interface* zwp_locked_pointer_v1_interface_unlocked_event[0] = {
1051const wl_message zwp_locked_pointer_v1_interface_requests[3] = {
1055 zwp_locked_pointer_v1_interface_destroy_request,
1058 "set_cursor_position_hint",
1060 zwp_locked_pointer_v1_interface_set_cursor_position_hint_request,
1065 zwp_locked_pointer_v1_interface_set_region_request,
1069const wl_message zwp_locked_pointer_v1_interface_events[2] = {
1073 zwp_locked_pointer_v1_interface_locked_event,
1078 zwp_locked_pointer_v1_interface_unlocked_event,
1082const wl_interface wayland::detail::zwp_locked_pointer_v1_interface =
1084 "zwp_locked_pointer_v1",
1087 zwp_locked_pointer_v1_interface_requests,
1089 zwp_locked_pointer_v1_interface_events,
1092const wl_interface* zwp_confined_pointer_v1_interface_destroy_request[0] = {
1095const wl_interface* zwp_confined_pointer_v1_interface_set_region_request[1] = {
1099const wl_interface* zwp_confined_pointer_v1_interface_confined_event[0] = {
1102const wl_interface* zwp_confined_pointer_v1_interface_unconfined_event[0] = {
1105const wl_message zwp_confined_pointer_v1_interface_requests[2] = {
1109 zwp_confined_pointer_v1_interface_destroy_request,
1114 zwp_confined_pointer_v1_interface_set_region_request,
1118const wl_message zwp_confined_pointer_v1_interface_events[2] = {
1122 zwp_confined_pointer_v1_interface_confined_event,
1127 zwp_confined_pointer_v1_interface_unconfined_event,
1131const wl_interface wayland::detail::zwp_confined_pointer_v1_interface =
1133 "zwp_confined_pointer_v1",
1136 zwp_confined_pointer_v1_interface_requests,
1138 zwp_confined_pointer_v1_interface_events,
1141const wl_interface* zwp_pointer_gestures_v1_interface_get_swipe_gesture_request[2] = {
1142 &zwp_pointer_gesture_swipe_v1_interface,
1146const wl_interface* zwp_pointer_gestures_v1_interface_get_pinch_gesture_request[2] = {
1147 &zwp_pointer_gesture_pinch_v1_interface,
1151const wl_interface* zwp_pointer_gestures_v1_interface_release_request[0] = {
1154const wl_interface* zwp_pointer_gestures_v1_interface_get_hold_gesture_request[2] = {
1155 &zwp_pointer_gesture_hold_v1_interface,
1159const wl_message zwp_pointer_gestures_v1_interface_requests[4] = {
1161 "get_swipe_gesture",
1163 zwp_pointer_gestures_v1_interface_get_swipe_gesture_request,
1166 "get_pinch_gesture",
1168 zwp_pointer_gestures_v1_interface_get_pinch_gesture_request,
1173 zwp_pointer_gestures_v1_interface_release_request,
1178 zwp_pointer_gestures_v1_interface_get_hold_gesture_request,
1182const wl_message zwp_pointer_gestures_v1_interface_events[0] = {
1185const wl_interface wayland::detail::zwp_pointer_gestures_v1_interface =
1187 "zwp_pointer_gestures_v1",
1190 zwp_pointer_gestures_v1_interface_requests,
1192 zwp_pointer_gestures_v1_interface_events,
1195const wl_interface* zwp_pointer_gesture_swipe_v1_interface_destroy_request[0] = {
1198const wl_interface* zwp_pointer_gesture_swipe_v1_interface_begin_event[4] = {
1205const wl_interface* zwp_pointer_gesture_swipe_v1_interface_update_event[3] = {
1211const wl_interface* zwp_pointer_gesture_swipe_v1_interface_end_event[3] = {
1217const wl_message zwp_pointer_gesture_swipe_v1_interface_requests[1] = {
1221 zwp_pointer_gesture_swipe_v1_interface_destroy_request,
1225const wl_message zwp_pointer_gesture_swipe_v1_interface_events[3] = {
1229 zwp_pointer_gesture_swipe_v1_interface_begin_event,
1234 zwp_pointer_gesture_swipe_v1_interface_update_event,
1239 zwp_pointer_gesture_swipe_v1_interface_end_event,
1243const wl_interface wayland::detail::zwp_pointer_gesture_swipe_v1_interface =
1245 "zwp_pointer_gesture_swipe_v1",
1248 zwp_pointer_gesture_swipe_v1_interface_requests,
1250 zwp_pointer_gesture_swipe_v1_interface_events,
1253const wl_interface* zwp_pointer_gesture_pinch_v1_interface_destroy_request[0] = {
1256const wl_interface* zwp_pointer_gesture_pinch_v1_interface_begin_event[4] = {
1263const wl_interface* zwp_pointer_gesture_pinch_v1_interface_update_event[5] = {
1271const wl_interface* zwp_pointer_gesture_pinch_v1_interface_end_event[3] = {
1277const wl_message zwp_pointer_gesture_pinch_v1_interface_requests[1] = {
1281 zwp_pointer_gesture_pinch_v1_interface_destroy_request,
1285const wl_message zwp_pointer_gesture_pinch_v1_interface_events[3] = {
1289 zwp_pointer_gesture_pinch_v1_interface_begin_event,
1294 zwp_pointer_gesture_pinch_v1_interface_update_event,
1299 zwp_pointer_gesture_pinch_v1_interface_end_event,
1303const wl_interface wayland::detail::zwp_pointer_gesture_pinch_v1_interface =
1305 "zwp_pointer_gesture_pinch_v1",
1308 zwp_pointer_gesture_pinch_v1_interface_requests,
1310 zwp_pointer_gesture_pinch_v1_interface_events,
1313const wl_interface* zwp_pointer_gesture_hold_v1_interface_destroy_request[0] = {
1316const wl_interface* zwp_pointer_gesture_hold_v1_interface_begin_event[4] = {
1323const wl_interface* zwp_pointer_gesture_hold_v1_interface_end_event[3] = {
1329const wl_message zwp_pointer_gesture_hold_v1_interface_requests[1] = {
1333 zwp_pointer_gesture_hold_v1_interface_destroy_request,
1337const wl_message zwp_pointer_gesture_hold_v1_interface_events[2] = {
1341 zwp_pointer_gesture_hold_v1_interface_begin_event,
1346 zwp_pointer_gesture_hold_v1_interface_end_event,
1350const wl_interface wayland::detail::zwp_pointer_gesture_hold_v1_interface =
1352 "zwp_pointer_gesture_hold_v1",
1355 zwp_pointer_gesture_hold_v1_interface_requests,
1357 zwp_pointer_gesture_hold_v1_interface_events,
1360const wl_interface* zwp_primary_selection_device_manager_v1_interface_create_source_request[1] = {
1361 &zwp_primary_selection_source_v1_interface,
1364const wl_interface* zwp_primary_selection_device_manager_v1_interface_get_device_request[2] = {
1365 &zwp_primary_selection_device_v1_interface,
1369const wl_interface* zwp_primary_selection_device_manager_v1_interface_destroy_request[0] = {
1372const wl_message zwp_primary_selection_device_manager_v1_interface_requests[3] = {
1376 zwp_primary_selection_device_manager_v1_interface_create_source_request,
1381 zwp_primary_selection_device_manager_v1_interface_get_device_request,
1386 zwp_primary_selection_device_manager_v1_interface_destroy_request,
1390const wl_message zwp_primary_selection_device_manager_v1_interface_events[0] = {
1393const wl_interface wayland::detail::zwp_primary_selection_device_manager_v1_interface =
1395 "zwp_primary_selection_device_manager_v1",
1398 zwp_primary_selection_device_manager_v1_interface_requests,
1400 zwp_primary_selection_device_manager_v1_interface_events,
1403const wl_interface* zwp_primary_selection_device_v1_interface_set_selection_request[2] = {
1404 &zwp_primary_selection_source_v1_interface,
1408const wl_interface* zwp_primary_selection_device_v1_interface_destroy_request[0] = {
1411const wl_interface* zwp_primary_selection_device_v1_interface_data_offer_event[1] = {
1412 &zwp_primary_selection_offer_v1_interface,
1415const wl_interface* zwp_primary_selection_device_v1_interface_selection_event[1] = {
1416 &zwp_primary_selection_offer_v1_interface,
1419const wl_message zwp_primary_selection_device_v1_interface_requests[2] = {
1423 zwp_primary_selection_device_v1_interface_set_selection_request,
1428 zwp_primary_selection_device_v1_interface_destroy_request,
1432const wl_message zwp_primary_selection_device_v1_interface_events[2] = {
1436 zwp_primary_selection_device_v1_interface_data_offer_event,
1441 zwp_primary_selection_device_v1_interface_selection_event,
1445const wl_interface wayland::detail::zwp_primary_selection_device_v1_interface =
1447 "zwp_primary_selection_device_v1",
1450 zwp_primary_selection_device_v1_interface_requests,
1452 zwp_primary_selection_device_v1_interface_events,
1455const wl_interface* zwp_primary_selection_offer_v1_interface_receive_request[2] = {
1460const wl_interface* zwp_primary_selection_offer_v1_interface_destroy_request[0] = {
1463const wl_interface* zwp_primary_selection_offer_v1_interface_offer_event[1] = {
1467const wl_message zwp_primary_selection_offer_v1_interface_requests[2] = {
1471 zwp_primary_selection_offer_v1_interface_receive_request,
1476 zwp_primary_selection_offer_v1_interface_destroy_request,
1480const wl_message zwp_primary_selection_offer_v1_interface_events[1] = {
1484 zwp_primary_selection_offer_v1_interface_offer_event,
1488const wl_interface wayland::detail::zwp_primary_selection_offer_v1_interface =
1490 "zwp_primary_selection_offer_v1",
1493 zwp_primary_selection_offer_v1_interface_requests,
1495 zwp_primary_selection_offer_v1_interface_events,
1498const wl_interface* zwp_primary_selection_source_v1_interface_offer_request[1] = {
1502const wl_interface* zwp_primary_selection_source_v1_interface_destroy_request[0] = {
1505const wl_interface* zwp_primary_selection_source_v1_interface_send_event[2] = {
1510const wl_interface* zwp_primary_selection_source_v1_interface_cancelled_event[0] = {
1513const wl_message zwp_primary_selection_source_v1_interface_requests[2] = {
1517 zwp_primary_selection_source_v1_interface_offer_request,
1522 zwp_primary_selection_source_v1_interface_destroy_request,
1526const wl_message zwp_primary_selection_source_v1_interface_events[2] = {
1530 zwp_primary_selection_source_v1_interface_send_event,
1535 zwp_primary_selection_source_v1_interface_cancelled_event,
1539const wl_interface wayland::detail::zwp_primary_selection_source_v1_interface =
1541 "zwp_primary_selection_source_v1",
1544 zwp_primary_selection_source_v1_interface_requests,
1546 zwp_primary_selection_source_v1_interface_events,
1549const wl_interface* zwp_relative_pointer_manager_v1_interface_destroy_request[0] = {
1552const wl_interface* zwp_relative_pointer_manager_v1_interface_get_relative_pointer_request[2] = {
1553 &zwp_relative_pointer_v1_interface,
1557const wl_message zwp_relative_pointer_manager_v1_interface_requests[2] = {
1561 zwp_relative_pointer_manager_v1_interface_destroy_request,
1564 "get_relative_pointer",
1566 zwp_relative_pointer_manager_v1_interface_get_relative_pointer_request,
1570const wl_message zwp_relative_pointer_manager_v1_interface_events[0] = {
1573const wl_interface wayland::detail::zwp_relative_pointer_manager_v1_interface =
1575 "zwp_relative_pointer_manager_v1",
1578 zwp_relative_pointer_manager_v1_interface_requests,
1580 zwp_relative_pointer_manager_v1_interface_events,
1583const wl_interface* zwp_relative_pointer_v1_interface_destroy_request[0] = {
1586const wl_interface* zwp_relative_pointer_v1_interface_relative_motion_event[6] = {
1595const wl_message zwp_relative_pointer_v1_interface_requests[1] = {
1599 zwp_relative_pointer_v1_interface_destroy_request,
1603const wl_message zwp_relative_pointer_v1_interface_events[1] = {
1607 zwp_relative_pointer_v1_interface_relative_motion_event,
1611const wl_interface wayland::detail::zwp_relative_pointer_v1_interface =
1613 "zwp_relative_pointer_v1",
1616 zwp_relative_pointer_v1_interface_requests,
1618 zwp_relative_pointer_v1_interface_events,
1621const wl_interface* zwp_tablet_manager_v1_interface_get_tablet_seat_request[2] = {
1622 &zwp_tablet_seat_v1_interface,
1626const wl_interface* zwp_tablet_manager_v1_interface_destroy_request[0] = {
1629const wl_message zwp_tablet_manager_v1_interface_requests[2] = {
1633 zwp_tablet_manager_v1_interface_get_tablet_seat_request,
1638 zwp_tablet_manager_v1_interface_destroy_request,
1642const wl_message zwp_tablet_manager_v1_interface_events[0] = {
1645const wl_interface wayland::detail::zwp_tablet_manager_v1_interface =
1647 "zwp_tablet_manager_v1",
1650 zwp_tablet_manager_v1_interface_requests,
1652 zwp_tablet_manager_v1_interface_events,
1655const wl_interface* zwp_tablet_seat_v1_interface_destroy_request[0] = {
1658const wl_interface* zwp_tablet_seat_v1_interface_tablet_added_event[1] = {
1659 &zwp_tablet_v1_interface,
1662const wl_interface* zwp_tablet_seat_v1_interface_tool_added_event[1] = {
1663 &zwp_tablet_tool_v1_interface,
1666const wl_message zwp_tablet_seat_v1_interface_requests[1] = {
1670 zwp_tablet_seat_v1_interface_destroy_request,
1674const wl_message zwp_tablet_seat_v1_interface_events[2] = {
1678 zwp_tablet_seat_v1_interface_tablet_added_event,
1683 zwp_tablet_seat_v1_interface_tool_added_event,
1687const wl_interface wayland::detail::zwp_tablet_seat_v1_interface =
1689 "zwp_tablet_seat_v1",
1692 zwp_tablet_seat_v1_interface_requests,
1694 zwp_tablet_seat_v1_interface_events,
1697const wl_interface* zwp_tablet_tool_v1_interface_set_cursor_request[4] = {
1704const wl_interface* zwp_tablet_tool_v1_interface_destroy_request[0] = {
1707const wl_interface* zwp_tablet_tool_v1_interface_type_event[1] = {
1711const wl_interface* zwp_tablet_tool_v1_interface_hardware_serial_event[2] = {
1716const wl_interface* zwp_tablet_tool_v1_interface_hardware_id_wacom_event[2] = {
1721const wl_interface* zwp_tablet_tool_v1_interface_capability_event[1] = {
1725const wl_interface* zwp_tablet_tool_v1_interface_done_event[0] = {
1728const wl_interface* zwp_tablet_tool_v1_interface_removed_event[0] = {
1731const wl_interface* zwp_tablet_tool_v1_interface_proximity_in_event[3] = {
1733 &zwp_tablet_v1_interface,
1737const wl_interface* zwp_tablet_tool_v1_interface_proximity_out_event[0] = {
1740const wl_interface* zwp_tablet_tool_v1_interface_down_event[1] = {
1744const wl_interface* zwp_tablet_tool_v1_interface_up_event[0] = {
1747const wl_interface* zwp_tablet_tool_v1_interface_motion_event[2] = {
1752const wl_interface* zwp_tablet_tool_v1_interface_pressure_event[1] = {
1756const wl_interface* zwp_tablet_tool_v1_interface_distance_event[1] = {
1760const wl_interface* zwp_tablet_tool_v1_interface_tilt_event[2] = {
1765const wl_interface* zwp_tablet_tool_v1_interface_rotation_event[1] = {
1769const wl_interface* zwp_tablet_tool_v1_interface_slider_event[1] = {
1773const wl_interface* zwp_tablet_tool_v1_interface_wheel_event[2] = {
1778const wl_interface* zwp_tablet_tool_v1_interface_button_event[3] = {
1784const wl_interface* zwp_tablet_tool_v1_interface_frame_event[1] = {
1788const wl_message zwp_tablet_tool_v1_interface_requests[2] = {
1792 zwp_tablet_tool_v1_interface_set_cursor_request,
1797 zwp_tablet_tool_v1_interface_destroy_request,
1801const wl_message zwp_tablet_tool_v1_interface_events[19] = {
1805 zwp_tablet_tool_v1_interface_type_event,
1810 zwp_tablet_tool_v1_interface_hardware_serial_event,
1813 "hardware_id_wacom",
1815 zwp_tablet_tool_v1_interface_hardware_id_wacom_event,
1820 zwp_tablet_tool_v1_interface_capability_event,
1825 zwp_tablet_tool_v1_interface_done_event,
1830 zwp_tablet_tool_v1_interface_removed_event,
1835 zwp_tablet_tool_v1_interface_proximity_in_event,
1840 zwp_tablet_tool_v1_interface_proximity_out_event,
1845 zwp_tablet_tool_v1_interface_down_event,
1850 zwp_tablet_tool_v1_interface_up_event,
1855 zwp_tablet_tool_v1_interface_motion_event,
1860 zwp_tablet_tool_v1_interface_pressure_event,
1865 zwp_tablet_tool_v1_interface_distance_event,
1870 zwp_tablet_tool_v1_interface_tilt_event,
1875 zwp_tablet_tool_v1_interface_rotation_event,
1880 zwp_tablet_tool_v1_interface_slider_event,
1885 zwp_tablet_tool_v1_interface_wheel_event,
1890 zwp_tablet_tool_v1_interface_button_event,
1895 zwp_tablet_tool_v1_interface_frame_event,
1899const wl_interface wayland::detail::zwp_tablet_tool_v1_interface =
1901 "zwp_tablet_tool_v1",
1904 zwp_tablet_tool_v1_interface_requests,
1906 zwp_tablet_tool_v1_interface_events,
1909const wl_interface* zwp_tablet_v1_interface_destroy_request[0] = {
1912const wl_interface* zwp_tablet_v1_interface_name_event[1] = {
1916const wl_interface* zwp_tablet_v1_interface_id_event[2] = {
1921const wl_interface* zwp_tablet_v1_interface_path_event[1] = {
1925const wl_interface* zwp_tablet_v1_interface_done_event[0] = {
1928const wl_interface* zwp_tablet_v1_interface_removed_event[0] = {
1931const wl_message zwp_tablet_v1_interface_requests[1] = {
1935 zwp_tablet_v1_interface_destroy_request,
1939const wl_message zwp_tablet_v1_interface_events[5] = {
1943 zwp_tablet_v1_interface_name_event,
1948 zwp_tablet_v1_interface_id_event,
1953 zwp_tablet_v1_interface_path_event,
1958 zwp_tablet_v1_interface_done_event,
1963 zwp_tablet_v1_interface_removed_event,
1967const wl_interface wayland::detail::zwp_tablet_v1_interface =
1972 zwp_tablet_v1_interface_requests,
1974 zwp_tablet_v1_interface_events,
1977const wl_interface* zwp_tablet_manager_v2_interface_get_tablet_seat_request[2] = {
1978 &zwp_tablet_seat_v2_interface,
1982const wl_interface* zwp_tablet_manager_v2_interface_destroy_request[0] = {
1985const wl_message zwp_tablet_manager_v2_interface_requests[2] = {
1989 zwp_tablet_manager_v2_interface_get_tablet_seat_request,
1994 zwp_tablet_manager_v2_interface_destroy_request,
1998const wl_message zwp_tablet_manager_v2_interface_events[0] = {
2001const wl_interface wayland::detail::zwp_tablet_manager_v2_interface =
2003 "zwp_tablet_manager_v2",
2006 zwp_tablet_manager_v2_interface_requests,
2008 zwp_tablet_manager_v2_interface_events,
2011const wl_interface* zwp_tablet_seat_v2_interface_destroy_request[0] = {
2014const wl_interface* zwp_tablet_seat_v2_interface_tablet_added_event[1] = {
2015 &zwp_tablet_v2_interface,
2018const wl_interface* zwp_tablet_seat_v2_interface_tool_added_event[1] = {
2019 &zwp_tablet_tool_v2_interface,
2022const wl_interface* zwp_tablet_seat_v2_interface_pad_added_event[1] = {
2023 &zwp_tablet_pad_v2_interface,
2026const wl_message zwp_tablet_seat_v2_interface_requests[1] = {
2030 zwp_tablet_seat_v2_interface_destroy_request,
2034const wl_message zwp_tablet_seat_v2_interface_events[3] = {
2038 zwp_tablet_seat_v2_interface_tablet_added_event,
2043 zwp_tablet_seat_v2_interface_tool_added_event,
2048 zwp_tablet_seat_v2_interface_pad_added_event,
2052const wl_interface wayland::detail::zwp_tablet_seat_v2_interface =
2054 "zwp_tablet_seat_v2",
2057 zwp_tablet_seat_v2_interface_requests,
2059 zwp_tablet_seat_v2_interface_events,
2062const wl_interface* zwp_tablet_tool_v2_interface_set_cursor_request[4] = {
2069const wl_interface* zwp_tablet_tool_v2_interface_destroy_request[0] = {
2072const wl_interface* zwp_tablet_tool_v2_interface_type_event[1] = {
2076const wl_interface* zwp_tablet_tool_v2_interface_hardware_serial_event[2] = {
2081const wl_interface* zwp_tablet_tool_v2_interface_hardware_id_wacom_event[2] = {
2086const wl_interface* zwp_tablet_tool_v2_interface_capability_event[1] = {
2090const wl_interface* zwp_tablet_tool_v2_interface_done_event[0] = {
2093const wl_interface* zwp_tablet_tool_v2_interface_removed_event[0] = {
2096const wl_interface* zwp_tablet_tool_v2_interface_proximity_in_event[3] = {
2098 &zwp_tablet_v2_interface,
2102const wl_interface* zwp_tablet_tool_v2_interface_proximity_out_event[0] = {
2105const wl_interface* zwp_tablet_tool_v2_interface_down_event[1] = {
2109const wl_interface* zwp_tablet_tool_v2_interface_up_event[0] = {
2112const wl_interface* zwp_tablet_tool_v2_interface_motion_event[2] = {
2117const wl_interface* zwp_tablet_tool_v2_interface_pressure_event[1] = {
2121const wl_interface* zwp_tablet_tool_v2_interface_distance_event[1] = {
2125const wl_interface* zwp_tablet_tool_v2_interface_tilt_event[2] = {
2130const wl_interface* zwp_tablet_tool_v2_interface_rotation_event[1] = {
2134const wl_interface* zwp_tablet_tool_v2_interface_slider_event[1] = {
2138const wl_interface* zwp_tablet_tool_v2_interface_wheel_event[2] = {
2143const wl_interface* zwp_tablet_tool_v2_interface_button_event[3] = {
2149const wl_interface* zwp_tablet_tool_v2_interface_frame_event[1] = {
2153const wl_message zwp_tablet_tool_v2_interface_requests[2] = {
2157 zwp_tablet_tool_v2_interface_set_cursor_request,
2162 zwp_tablet_tool_v2_interface_destroy_request,
2166const wl_message zwp_tablet_tool_v2_interface_events[19] = {
2170 zwp_tablet_tool_v2_interface_type_event,
2175 zwp_tablet_tool_v2_interface_hardware_serial_event,
2178 "hardware_id_wacom",
2180 zwp_tablet_tool_v2_interface_hardware_id_wacom_event,
2185 zwp_tablet_tool_v2_interface_capability_event,
2190 zwp_tablet_tool_v2_interface_done_event,
2195 zwp_tablet_tool_v2_interface_removed_event,
2200 zwp_tablet_tool_v2_interface_proximity_in_event,
2205 zwp_tablet_tool_v2_interface_proximity_out_event,
2210 zwp_tablet_tool_v2_interface_down_event,
2215 zwp_tablet_tool_v2_interface_up_event,
2220 zwp_tablet_tool_v2_interface_motion_event,
2225 zwp_tablet_tool_v2_interface_pressure_event,
2230 zwp_tablet_tool_v2_interface_distance_event,
2235 zwp_tablet_tool_v2_interface_tilt_event,
2240 zwp_tablet_tool_v2_interface_rotation_event,
2245 zwp_tablet_tool_v2_interface_slider_event,
2250 zwp_tablet_tool_v2_interface_wheel_event,
2255 zwp_tablet_tool_v2_interface_button_event,
2260 zwp_tablet_tool_v2_interface_frame_event,
2264const wl_interface wayland::detail::zwp_tablet_tool_v2_interface =
2266 "zwp_tablet_tool_v2",
2269 zwp_tablet_tool_v2_interface_requests,
2271 zwp_tablet_tool_v2_interface_events,
2274const wl_interface* zwp_tablet_v2_interface_destroy_request[0] = {
2277const wl_interface* zwp_tablet_v2_interface_name_event[1] = {
2281const wl_interface* zwp_tablet_v2_interface_id_event[2] = {
2286const wl_interface* zwp_tablet_v2_interface_path_event[1] = {
2290const wl_interface* zwp_tablet_v2_interface_done_event[0] = {
2293const wl_interface* zwp_tablet_v2_interface_removed_event[0] = {
2296const wl_message zwp_tablet_v2_interface_requests[1] = {
2300 zwp_tablet_v2_interface_destroy_request,
2304const wl_message zwp_tablet_v2_interface_events[5] = {
2308 zwp_tablet_v2_interface_name_event,
2313 zwp_tablet_v2_interface_id_event,
2318 zwp_tablet_v2_interface_path_event,
2323 zwp_tablet_v2_interface_done_event,
2328 zwp_tablet_v2_interface_removed_event,
2332const wl_interface wayland::detail::zwp_tablet_v2_interface =
2337 zwp_tablet_v2_interface_requests,
2339 zwp_tablet_v2_interface_events,
2342const wl_interface* zwp_tablet_pad_ring_v2_interface_set_feedback_request[2] = {
2347const wl_interface* zwp_tablet_pad_ring_v2_interface_destroy_request[0] = {
2350const wl_interface* zwp_tablet_pad_ring_v2_interface_source_event[1] = {
2354const wl_interface* zwp_tablet_pad_ring_v2_interface_angle_event[1] = {
2358const wl_interface* zwp_tablet_pad_ring_v2_interface_stop_event[0] = {
2361const wl_interface* zwp_tablet_pad_ring_v2_interface_frame_event[1] = {
2365const wl_message zwp_tablet_pad_ring_v2_interface_requests[2] = {
2369 zwp_tablet_pad_ring_v2_interface_set_feedback_request,
2374 zwp_tablet_pad_ring_v2_interface_destroy_request,
2378const wl_message zwp_tablet_pad_ring_v2_interface_events[4] = {
2382 zwp_tablet_pad_ring_v2_interface_source_event,
2387 zwp_tablet_pad_ring_v2_interface_angle_event,
2392 zwp_tablet_pad_ring_v2_interface_stop_event,
2397 zwp_tablet_pad_ring_v2_interface_frame_event,
2401const wl_interface wayland::detail::zwp_tablet_pad_ring_v2_interface =
2403 "zwp_tablet_pad_ring_v2",
2406 zwp_tablet_pad_ring_v2_interface_requests,
2408 zwp_tablet_pad_ring_v2_interface_events,
2411const wl_interface* zwp_tablet_pad_strip_v2_interface_set_feedback_request[2] = {
2416const wl_interface* zwp_tablet_pad_strip_v2_interface_destroy_request[0] = {
2419const wl_interface* zwp_tablet_pad_strip_v2_interface_source_event[1] = {
2423const wl_interface* zwp_tablet_pad_strip_v2_interface_position_event[1] = {
2427const wl_interface* zwp_tablet_pad_strip_v2_interface_stop_event[0] = {
2430const wl_interface* zwp_tablet_pad_strip_v2_interface_frame_event[1] = {
2434const wl_message zwp_tablet_pad_strip_v2_interface_requests[2] = {
2438 zwp_tablet_pad_strip_v2_interface_set_feedback_request,
2443 zwp_tablet_pad_strip_v2_interface_destroy_request,
2447const wl_message zwp_tablet_pad_strip_v2_interface_events[4] = {
2451 zwp_tablet_pad_strip_v2_interface_source_event,
2456 zwp_tablet_pad_strip_v2_interface_position_event,
2461 zwp_tablet_pad_strip_v2_interface_stop_event,
2466 zwp_tablet_pad_strip_v2_interface_frame_event,
2470const wl_interface wayland::detail::zwp_tablet_pad_strip_v2_interface =
2472 "zwp_tablet_pad_strip_v2",
2475 zwp_tablet_pad_strip_v2_interface_requests,
2477 zwp_tablet_pad_strip_v2_interface_events,
2480const wl_interface* zwp_tablet_pad_group_v2_interface_destroy_request[0] = {
2483const wl_interface* zwp_tablet_pad_group_v2_interface_buttons_event[1] = {
2487const wl_interface* zwp_tablet_pad_group_v2_interface_ring_event[1] = {
2488 &zwp_tablet_pad_ring_v2_interface,
2491const wl_interface* zwp_tablet_pad_group_v2_interface_strip_event[1] = {
2492 &zwp_tablet_pad_strip_v2_interface,
2495const wl_interface* zwp_tablet_pad_group_v2_interface_modes_event[1] = {
2499const wl_interface* zwp_tablet_pad_group_v2_interface_done_event[0] = {
2502const wl_interface* zwp_tablet_pad_group_v2_interface_mode_switch_event[3] = {
2508const wl_message zwp_tablet_pad_group_v2_interface_requests[1] = {
2512 zwp_tablet_pad_group_v2_interface_destroy_request,
2516const wl_message zwp_tablet_pad_group_v2_interface_events[6] = {
2520 zwp_tablet_pad_group_v2_interface_buttons_event,
2525 zwp_tablet_pad_group_v2_interface_ring_event,
2530 zwp_tablet_pad_group_v2_interface_strip_event,
2535 zwp_tablet_pad_group_v2_interface_modes_event,
2540 zwp_tablet_pad_group_v2_interface_done_event,
2545 zwp_tablet_pad_group_v2_interface_mode_switch_event,
2549const wl_interface wayland::detail::zwp_tablet_pad_group_v2_interface =
2551 "zwp_tablet_pad_group_v2",
2554 zwp_tablet_pad_group_v2_interface_requests,
2556 zwp_tablet_pad_group_v2_interface_events,
2559const wl_interface* zwp_tablet_pad_v2_interface_set_feedback_request[3] = {
2565const wl_interface* zwp_tablet_pad_v2_interface_destroy_request[0] = {
2568const wl_interface* zwp_tablet_pad_v2_interface_group_event[1] = {
2569 &zwp_tablet_pad_group_v2_interface,
2572const wl_interface* zwp_tablet_pad_v2_interface_path_event[1] = {
2576const wl_interface* zwp_tablet_pad_v2_interface_buttons_event[1] = {
2580const wl_interface* zwp_tablet_pad_v2_interface_done_event[0] = {
2583const wl_interface* zwp_tablet_pad_v2_interface_button_event[3] = {
2589const wl_interface* zwp_tablet_pad_v2_interface_enter_event[3] = {
2591 &zwp_tablet_v2_interface,
2595const wl_interface* zwp_tablet_pad_v2_interface_leave_event[2] = {
2600const wl_interface* zwp_tablet_pad_v2_interface_removed_event[0] = {
2603const wl_message zwp_tablet_pad_v2_interface_requests[2] = {
2607 zwp_tablet_pad_v2_interface_set_feedback_request,
2612 zwp_tablet_pad_v2_interface_destroy_request,
2616const wl_message zwp_tablet_pad_v2_interface_events[8] = {
2620 zwp_tablet_pad_v2_interface_group_event,
2625 zwp_tablet_pad_v2_interface_path_event,
2630 zwp_tablet_pad_v2_interface_buttons_event,
2635 zwp_tablet_pad_v2_interface_done_event,
2640 zwp_tablet_pad_v2_interface_button_event,
2645 zwp_tablet_pad_v2_interface_enter_event,
2650 zwp_tablet_pad_v2_interface_leave_event,
2655 zwp_tablet_pad_v2_interface_removed_event,
2659const wl_interface wayland::detail::zwp_tablet_pad_v2_interface =
2661 "zwp_tablet_pad_v2",
2664 zwp_tablet_pad_v2_interface_requests,
2666 zwp_tablet_pad_v2_interface_events,
2669const wl_interface* zwp_text_input_v1_interface_activate_request[2] = {
2674const wl_interface* zwp_text_input_v1_interface_deactivate_request[1] = {
2678const wl_interface* zwp_text_input_v1_interface_show_input_panel_request[0] = {
2681const wl_interface* zwp_text_input_v1_interface_hide_input_panel_request[0] = {
2684const wl_interface* zwp_text_input_v1_interface_reset_request[0] = {
2687const wl_interface* zwp_text_input_v1_interface_set_surrounding_text_request[3] = {
2693const wl_interface* zwp_text_input_v1_interface_set_content_type_request[2] = {
2698const wl_interface* zwp_text_input_v1_interface_set_cursor_rectangle_request[4] = {
2705const wl_interface* zwp_text_input_v1_interface_set_preferred_language_request[1] = {
2709const wl_interface* zwp_text_input_v1_interface_commit_state_request[1] = {
2713const wl_interface* zwp_text_input_v1_interface_invoke_action_request[2] = {
2718const wl_interface* zwp_text_input_v1_interface_enter_event[1] = {
2722const wl_interface* zwp_text_input_v1_interface_leave_event[0] = {
2725const wl_interface* zwp_text_input_v1_interface_modifiers_map_event[1] = {
2729const wl_interface* zwp_text_input_v1_interface_input_panel_state_event[1] = {
2733const wl_interface* zwp_text_input_v1_interface_preedit_string_event[3] = {
2739const wl_interface* zwp_text_input_v1_interface_preedit_styling_event[3] = {
2745const wl_interface* zwp_text_input_v1_interface_preedit_cursor_event[1] = {
2749const wl_interface* zwp_text_input_v1_interface_commit_string_event[2] = {
2754const wl_interface* zwp_text_input_v1_interface_cursor_position_event[2] = {
2759const wl_interface* zwp_text_input_v1_interface_delete_surrounding_text_event[2] = {
2764const wl_interface* zwp_text_input_v1_interface_keysym_event[5] = {
2772const wl_interface* zwp_text_input_v1_interface_language_event[2] = {
2777const wl_interface* zwp_text_input_v1_interface_text_direction_event[2] = {
2782const wl_message zwp_text_input_v1_interface_requests[11] = {
2786 zwp_text_input_v1_interface_activate_request,
2791 zwp_text_input_v1_interface_deactivate_request,
2796 zwp_text_input_v1_interface_show_input_panel_request,
2801 zwp_text_input_v1_interface_hide_input_panel_request,
2806 zwp_text_input_v1_interface_reset_request,
2809 "set_surrounding_text",
2811 zwp_text_input_v1_interface_set_surrounding_text_request,
2816 zwp_text_input_v1_interface_set_content_type_request,
2819 "set_cursor_rectangle",
2821 zwp_text_input_v1_interface_set_cursor_rectangle_request,
2824 "set_preferred_language",
2826 zwp_text_input_v1_interface_set_preferred_language_request,
2831 zwp_text_input_v1_interface_commit_state_request,
2836 zwp_text_input_v1_interface_invoke_action_request,
2840const wl_message zwp_text_input_v1_interface_events[13] = {
2844 zwp_text_input_v1_interface_enter_event,
2849 zwp_text_input_v1_interface_leave_event,
2854 zwp_text_input_v1_interface_modifiers_map_event,
2857 "input_panel_state",
2859 zwp_text_input_v1_interface_input_panel_state_event,
2864 zwp_text_input_v1_interface_preedit_string_event,
2869 zwp_text_input_v1_interface_preedit_styling_event,
2874 zwp_text_input_v1_interface_preedit_cursor_event,
2879 zwp_text_input_v1_interface_commit_string_event,
2884 zwp_text_input_v1_interface_cursor_position_event,
2887 "delete_surrounding_text",
2889 zwp_text_input_v1_interface_delete_surrounding_text_event,
2894 zwp_text_input_v1_interface_keysym_event,
2899 zwp_text_input_v1_interface_language_event,
2904 zwp_text_input_v1_interface_text_direction_event,
2908const wl_interface wayland::detail::zwp_text_input_v1_interface =
2910 "zwp_text_input_v1",
2913 zwp_text_input_v1_interface_requests,
2915 zwp_text_input_v1_interface_events,
2918const wl_interface* zwp_text_input_manager_v1_interface_create_text_input_request[1] = {
2919 &zwp_text_input_v1_interface,
2922const wl_message zwp_text_input_manager_v1_interface_requests[1] = {
2924 "create_text_input",
2926 zwp_text_input_manager_v1_interface_create_text_input_request,
2930const wl_message zwp_text_input_manager_v1_interface_events[0] = {
2933const wl_interface wayland::detail::zwp_text_input_manager_v1_interface =
2935 "zwp_text_input_manager_v1",
2938 zwp_text_input_manager_v1_interface_requests,
2940 zwp_text_input_manager_v1_interface_events,
2943const wl_interface* zwp_text_input_v3_interface_destroy_request[0] = {
2946const wl_interface* zwp_text_input_v3_interface_enable_request[0] = {
2949const wl_interface* zwp_text_input_v3_interface_disable_request[0] = {
2952const wl_interface* zwp_text_input_v3_interface_set_surrounding_text_request[3] = {
2958const wl_interface* zwp_text_input_v3_interface_set_text_change_cause_request[1] = {
2962const wl_interface* zwp_text_input_v3_interface_set_content_type_request[2] = {
2967const wl_interface* zwp_text_input_v3_interface_set_cursor_rectangle_request[4] = {
2974const wl_interface* zwp_text_input_v3_interface_commit_request[0] = {
2977const wl_interface* zwp_text_input_v3_interface_enter_event[1] = {
2981const wl_interface* zwp_text_input_v3_interface_leave_event[1] = {
2985const wl_interface* zwp_text_input_v3_interface_preedit_string_event[3] = {
2991const wl_interface* zwp_text_input_v3_interface_commit_string_event[1] = {
2995const wl_interface* zwp_text_input_v3_interface_delete_surrounding_text_event[2] = {
3000const wl_interface* zwp_text_input_v3_interface_done_event[1] = {
3004const wl_message zwp_text_input_v3_interface_requests[8] = {
3008 zwp_text_input_v3_interface_destroy_request,
3013 zwp_text_input_v3_interface_enable_request,
3018 zwp_text_input_v3_interface_disable_request,
3021 "set_surrounding_text",
3023 zwp_text_input_v3_interface_set_surrounding_text_request,
3026 "set_text_change_cause",
3028 zwp_text_input_v3_interface_set_text_change_cause_request,
3033 zwp_text_input_v3_interface_set_content_type_request,
3036 "set_cursor_rectangle",
3038 zwp_text_input_v3_interface_set_cursor_rectangle_request,
3043 zwp_text_input_v3_interface_commit_request,
3047const wl_message zwp_text_input_v3_interface_events[6] = {
3051 zwp_text_input_v3_interface_enter_event,
3056 zwp_text_input_v3_interface_leave_event,
3061 zwp_text_input_v3_interface_preedit_string_event,
3066 zwp_text_input_v3_interface_commit_string_event,
3069 "delete_surrounding_text",
3071 zwp_text_input_v3_interface_delete_surrounding_text_event,
3076 zwp_text_input_v3_interface_done_event,
3080const wl_interface wayland::detail::zwp_text_input_v3_interface =
3082 "zwp_text_input_v3",
3085 zwp_text_input_v3_interface_requests,
3087 zwp_text_input_v3_interface_events,
3090const wl_interface* zwp_text_input_manager_v3_interface_destroy_request[0] = {
3093const wl_interface* zwp_text_input_manager_v3_interface_get_text_input_request[2] = {
3094 &zwp_text_input_v3_interface,
3098const wl_message zwp_text_input_manager_v3_interface_requests[2] = {
3102 zwp_text_input_manager_v3_interface_destroy_request,
3107 zwp_text_input_manager_v3_interface_get_text_input_request,
3111const wl_message zwp_text_input_manager_v3_interface_events[0] = {
3114const wl_interface wayland::detail::zwp_text_input_manager_v3_interface =
3116 "zwp_text_input_manager_v3",
3119 zwp_text_input_manager_v3_interface_requests,
3121 zwp_text_input_manager_v3_interface_events,
3124const wl_interface* xdg_activation_v1_interface_destroy_request[0] = {
3127const wl_interface* xdg_activation_v1_interface_get_activation_token_request[1] = {
3128 &xdg_activation_token_v1_interface,
3131const wl_interface* xdg_activation_v1_interface_activate_request[2] = {
3136const wl_message xdg_activation_v1_interface_requests[3] = {
3140 xdg_activation_v1_interface_destroy_request,
3143 "get_activation_token",
3145 xdg_activation_v1_interface_get_activation_token_request,
3150 xdg_activation_v1_interface_activate_request,
3154const wl_message xdg_activation_v1_interface_events[0] = {
3157const wl_interface wayland::detail::xdg_activation_v1_interface =
3159 "xdg_activation_v1",
3162 xdg_activation_v1_interface_requests,
3164 xdg_activation_v1_interface_events,
3167const wl_interface* xdg_activation_token_v1_interface_set_serial_request[2] = {
3172const wl_interface* xdg_activation_token_v1_interface_set_app_id_request[1] = {
3176const wl_interface* xdg_activation_token_v1_interface_set_surface_request[1] = {
3180const wl_interface* xdg_activation_token_v1_interface_commit_request[0] = {
3183const wl_interface* xdg_activation_token_v1_interface_destroy_request[0] = {
3186const wl_interface* xdg_activation_token_v1_interface_done_event[1] = {
3190const wl_message xdg_activation_token_v1_interface_requests[5] = {
3194 xdg_activation_token_v1_interface_set_serial_request,
3199 xdg_activation_token_v1_interface_set_app_id_request,
3204 xdg_activation_token_v1_interface_set_surface_request,
3209 xdg_activation_token_v1_interface_commit_request,
3214 xdg_activation_token_v1_interface_destroy_request,
3218const wl_message xdg_activation_token_v1_interface_events[1] = {
3222 xdg_activation_token_v1_interface_done_event,
3226const wl_interface wayland::detail::xdg_activation_token_v1_interface =
3228 "xdg_activation_token_v1",
3231 xdg_activation_token_v1_interface_requests,
3233 xdg_activation_token_v1_interface_events,
3236const wl_interface* zxdg_decoration_manager_v1_interface_destroy_request[0] = {
3239const wl_interface* zxdg_decoration_manager_v1_interface_get_toplevel_decoration_request[2] = {
3240 &zxdg_toplevel_decoration_v1_interface,
3241 &xdg_toplevel_interface,
3244const wl_message zxdg_decoration_manager_v1_interface_requests[2] = {
3248 zxdg_decoration_manager_v1_interface_destroy_request,
3251 "get_toplevel_decoration",
3253 zxdg_decoration_manager_v1_interface_get_toplevel_decoration_request,
3257const wl_message zxdg_decoration_manager_v1_interface_events[0] = {
3260const wl_interface wayland::detail::zxdg_decoration_manager_v1_interface =
3262 "zxdg_decoration_manager_v1",
3265 zxdg_decoration_manager_v1_interface_requests,
3267 zxdg_decoration_manager_v1_interface_events,
3270const wl_interface* zxdg_toplevel_decoration_v1_interface_destroy_request[0] = {
3273const wl_interface* zxdg_toplevel_decoration_v1_interface_set_mode_request[1] = {
3277const wl_interface* zxdg_toplevel_decoration_v1_interface_unset_mode_request[0] = {
3280const wl_interface* zxdg_toplevel_decoration_v1_interface_configure_event[1] = {
3284const wl_message zxdg_toplevel_decoration_v1_interface_requests[3] = {
3288 zxdg_toplevel_decoration_v1_interface_destroy_request,
3293 zxdg_toplevel_decoration_v1_interface_set_mode_request,
3298 zxdg_toplevel_decoration_v1_interface_unset_mode_request,
3302const wl_message zxdg_toplevel_decoration_v1_interface_events[1] = {
3306 zxdg_toplevel_decoration_v1_interface_configure_event,
3310const wl_interface wayland::detail::zxdg_toplevel_decoration_v1_interface =
3312 "zxdg_toplevel_decoration_v1",
3315 zxdg_toplevel_decoration_v1_interface_requests,
3317 zxdg_toplevel_decoration_v1_interface_events,
3320const wl_interface* zxdg_exporter_v1_interface_destroy_request[0] = {
3323const wl_interface* zxdg_exporter_v1_interface_export_request[2] = {
3324 &zxdg_exported_v1_interface,
3328const wl_message zxdg_exporter_v1_interface_requests[2] = {
3332 zxdg_exporter_v1_interface_destroy_request,
3337 zxdg_exporter_v1_interface_export_request,
3341const wl_message zxdg_exporter_v1_interface_events[0] = {
3344const wl_interface wayland::detail::zxdg_exporter_v1_interface =
3349 zxdg_exporter_v1_interface_requests,
3351 zxdg_exporter_v1_interface_events,
3354const wl_interface* zxdg_importer_v1_interface_destroy_request[0] = {
3357const wl_interface* zxdg_importer_v1_interface_import_request[2] = {
3358 &zxdg_imported_v1_interface,
3362const wl_message zxdg_importer_v1_interface_requests[2] = {
3366 zxdg_importer_v1_interface_destroy_request,
3371 zxdg_importer_v1_interface_import_request,
3375const wl_message zxdg_importer_v1_interface_events[0] = {
3378const wl_interface wayland::detail::zxdg_importer_v1_interface =
3383 zxdg_importer_v1_interface_requests,
3385 zxdg_importer_v1_interface_events,
3388const wl_interface* zxdg_exported_v1_interface_destroy_request[0] = {
3391const wl_interface* zxdg_exported_v1_interface_handle_event[1] = {
3395const wl_message zxdg_exported_v1_interface_requests[1] = {
3399 zxdg_exported_v1_interface_destroy_request,
3403const wl_message zxdg_exported_v1_interface_events[1] = {
3407 zxdg_exported_v1_interface_handle_event,
3411const wl_interface wayland::detail::zxdg_exported_v1_interface =
3416 zxdg_exported_v1_interface_requests,
3418 zxdg_exported_v1_interface_events,
3421const wl_interface* zxdg_imported_v1_interface_destroy_request[0] = {
3424const wl_interface* zxdg_imported_v1_interface_set_parent_of_request[1] = {
3428const wl_interface* zxdg_imported_v1_interface_destroyed_event[0] = {
3431const wl_message zxdg_imported_v1_interface_requests[2] = {
3435 zxdg_imported_v1_interface_destroy_request,
3440 zxdg_imported_v1_interface_set_parent_of_request,
3444const wl_message zxdg_imported_v1_interface_events[1] = {
3448 zxdg_imported_v1_interface_destroyed_event,
3452const wl_interface wayland::detail::zxdg_imported_v1_interface =
3457 zxdg_imported_v1_interface_requests,
3459 zxdg_imported_v1_interface_events,
3462const wl_interface* zxdg_exporter_v2_interface_destroy_request[0] = {
3465const wl_interface* zxdg_exporter_v2_interface_export_toplevel_request[2] = {
3466 &zxdg_exported_v2_interface,
3470const wl_message zxdg_exporter_v2_interface_requests[2] = {
3474 zxdg_exporter_v2_interface_destroy_request,
3479 zxdg_exporter_v2_interface_export_toplevel_request,
3483const wl_message zxdg_exporter_v2_interface_events[0] = {
3486const wl_interface wayland::detail::zxdg_exporter_v2_interface =
3491 zxdg_exporter_v2_interface_requests,
3493 zxdg_exporter_v2_interface_events,
3496const wl_interface* zxdg_importer_v2_interface_destroy_request[0] = {
3499const wl_interface* zxdg_importer_v2_interface_import_toplevel_request[2] = {
3500 &zxdg_imported_v2_interface,
3504const wl_message zxdg_importer_v2_interface_requests[2] = {
3508 zxdg_importer_v2_interface_destroy_request,
3513 zxdg_importer_v2_interface_import_toplevel_request,
3517const wl_message zxdg_importer_v2_interface_events[0] = {
3520const wl_interface wayland::detail::zxdg_importer_v2_interface =
3525 zxdg_importer_v2_interface_requests,
3527 zxdg_importer_v2_interface_events,
3530const wl_interface* zxdg_exported_v2_interface_destroy_request[0] = {
3533const wl_interface* zxdg_exported_v2_interface_handle_event[1] = {
3537const wl_message zxdg_exported_v2_interface_requests[1] = {
3541 zxdg_exported_v2_interface_destroy_request,
3545const wl_message zxdg_exported_v2_interface_events[1] = {
3549 zxdg_exported_v2_interface_handle_event,
3553const wl_interface wayland::detail::zxdg_exported_v2_interface =
3558 zxdg_exported_v2_interface_requests,
3560 zxdg_exported_v2_interface_events,
3563const wl_interface* zxdg_imported_v2_interface_destroy_request[0] = {
3566const wl_interface* zxdg_imported_v2_interface_set_parent_of_request[1] = {
3570const wl_interface* zxdg_imported_v2_interface_destroyed_event[0] = {
3573const wl_message zxdg_imported_v2_interface_requests[2] = {
3577 zxdg_imported_v2_interface_destroy_request,
3582 zxdg_imported_v2_interface_set_parent_of_request,
3586const wl_message zxdg_imported_v2_interface_events[1] = {
3590 zxdg_imported_v2_interface_destroyed_event,
3594const wl_interface wayland::detail::zxdg_imported_v2_interface =
3599 zxdg_imported_v2_interface_requests,
3601 zxdg_imported_v2_interface_events,
3604const wl_interface* zxdg_output_manager_v1_interface_destroy_request[0] = {
3607const wl_interface* zxdg_output_manager_v1_interface_get_xdg_output_request[2] = {
3608 &zxdg_output_v1_interface,
3612const wl_message zxdg_output_manager_v1_interface_requests[2] = {
3616 zxdg_output_manager_v1_interface_destroy_request,
3621 zxdg_output_manager_v1_interface_get_xdg_output_request,
3625const wl_message zxdg_output_manager_v1_interface_events[0] = {
3628const wl_interface wayland::detail::zxdg_output_manager_v1_interface =
3630 "zxdg_output_manager_v1",
3633 zxdg_output_manager_v1_interface_requests,
3635 zxdg_output_manager_v1_interface_events,
3638const wl_interface* zxdg_output_v1_interface_destroy_request[0] = {
3641const wl_interface* zxdg_output_v1_interface_logical_position_event[2] = {
3646const wl_interface* zxdg_output_v1_interface_logical_size_event[2] = {
3651const wl_interface* zxdg_output_v1_interface_done_event[0] = {
3654const wl_interface* zxdg_output_v1_interface_name_event[1] = {
3658const wl_interface* zxdg_output_v1_interface_description_event[1] = {
3662const wl_message zxdg_output_v1_interface_requests[1] = {
3666 zxdg_output_v1_interface_destroy_request,
3670const wl_message zxdg_output_v1_interface_events[5] = {
3674 zxdg_output_v1_interface_logical_position_event,
3679 zxdg_output_v1_interface_logical_size_event,
3684 zxdg_output_v1_interface_done_event,
3689 zxdg_output_v1_interface_name_event,
3694 zxdg_output_v1_interface_description_event,
3698const wl_interface wayland::detail::zxdg_output_v1_interface =
3703 zxdg_output_v1_interface_requests,
3705 zxdg_output_v1_interface_events,
3708const wl_interface* zxdg_shell_v6_interface_destroy_request[0] = {
3711const wl_interface* zxdg_shell_v6_interface_create_positioner_request[1] = {
3712 &zxdg_positioner_v6_interface,
3715const wl_interface* zxdg_shell_v6_interface_get_xdg_surface_request[2] = {
3716 &zxdg_surface_v6_interface,
3720const wl_interface* zxdg_shell_v6_interface_pong_request[1] = {
3724const wl_interface* zxdg_shell_v6_interface_ping_event[1] = {
3728const wl_message zxdg_shell_v6_interface_requests[4] = {
3732 zxdg_shell_v6_interface_destroy_request,
3735 "create_positioner",
3737 zxdg_shell_v6_interface_create_positioner_request,
3742 zxdg_shell_v6_interface_get_xdg_surface_request,
3747 zxdg_shell_v6_interface_pong_request,
3751const wl_message zxdg_shell_v6_interface_events[1] = {
3755 zxdg_shell_v6_interface_ping_event,
3759const wl_interface wayland::detail::zxdg_shell_v6_interface =
3764 zxdg_shell_v6_interface_requests,
3766 zxdg_shell_v6_interface_events,
3769const wl_interface* zxdg_positioner_v6_interface_destroy_request[0] = {
3772const wl_interface* zxdg_positioner_v6_interface_set_size_request[2] = {
3777const wl_interface* zxdg_positioner_v6_interface_set_anchor_rect_request[4] = {
3784const wl_interface* zxdg_positioner_v6_interface_set_anchor_request[1] = {
3788const wl_interface* zxdg_positioner_v6_interface_set_gravity_request[1] = {
3792const wl_interface* zxdg_positioner_v6_interface_set_constraint_adjustment_request[1] = {
3796const wl_interface* zxdg_positioner_v6_interface_set_offset_request[2] = {
3801const wl_message zxdg_positioner_v6_interface_requests[7] = {
3805 zxdg_positioner_v6_interface_destroy_request,
3810 zxdg_positioner_v6_interface_set_size_request,
3815 zxdg_positioner_v6_interface_set_anchor_rect_request,
3820 zxdg_positioner_v6_interface_set_anchor_request,
3825 zxdg_positioner_v6_interface_set_gravity_request,
3828 "set_constraint_adjustment",
3830 zxdg_positioner_v6_interface_set_constraint_adjustment_request,
3835 zxdg_positioner_v6_interface_set_offset_request,
3839const wl_message zxdg_positioner_v6_interface_events[0] = {
3842const wl_interface wayland::detail::zxdg_positioner_v6_interface =
3844 "zxdg_positioner_v6",
3847 zxdg_positioner_v6_interface_requests,
3849 zxdg_positioner_v6_interface_events,
3852const wl_interface* zxdg_surface_v6_interface_destroy_request[0] = {
3855const wl_interface* zxdg_surface_v6_interface_get_toplevel_request[1] = {
3856 &zxdg_toplevel_v6_interface,
3859const wl_interface* zxdg_surface_v6_interface_get_popup_request[3] = {
3860 &zxdg_popup_v6_interface,
3861 &zxdg_surface_v6_interface,
3862 &zxdg_positioner_v6_interface,
3865const wl_interface* zxdg_surface_v6_interface_set_window_geometry_request[4] = {
3872const wl_interface* zxdg_surface_v6_interface_ack_configure_request[1] = {
3876const wl_interface* zxdg_surface_v6_interface_configure_event[1] = {
3880const wl_message zxdg_surface_v6_interface_requests[5] = {
3884 zxdg_surface_v6_interface_destroy_request,
3889 zxdg_surface_v6_interface_get_toplevel_request,
3894 zxdg_surface_v6_interface_get_popup_request,
3897 "set_window_geometry",
3899 zxdg_surface_v6_interface_set_window_geometry_request,
3904 zxdg_surface_v6_interface_ack_configure_request,
3908const wl_message zxdg_surface_v6_interface_events[1] = {
3912 zxdg_surface_v6_interface_configure_event,
3916const wl_interface wayland::detail::zxdg_surface_v6_interface =
3921 zxdg_surface_v6_interface_requests,
3923 zxdg_surface_v6_interface_events,
3926const wl_interface* zxdg_toplevel_v6_interface_destroy_request[0] = {
3929const wl_interface* zxdg_toplevel_v6_interface_set_parent_request[1] = {
3930 &zxdg_toplevel_v6_interface,
3933const wl_interface* zxdg_toplevel_v6_interface_set_title_request[1] = {
3937const wl_interface* zxdg_toplevel_v6_interface_set_app_id_request[1] = {
3941const wl_interface* zxdg_toplevel_v6_interface_show_window_menu_request[4] = {
3948const wl_interface* zxdg_toplevel_v6_interface_move_request[2] = {
3953const wl_interface* zxdg_toplevel_v6_interface_resize_request[3] = {
3959const wl_interface* zxdg_toplevel_v6_interface_set_max_size_request[2] = {
3964const wl_interface* zxdg_toplevel_v6_interface_set_min_size_request[2] = {
3969const wl_interface* zxdg_toplevel_v6_interface_set_maximized_request[0] = {
3972const wl_interface* zxdg_toplevel_v6_interface_unset_maximized_request[0] = {
3975const wl_interface* zxdg_toplevel_v6_interface_set_fullscreen_request[1] = {
3979const wl_interface* zxdg_toplevel_v6_interface_unset_fullscreen_request[0] = {
3982const wl_interface* zxdg_toplevel_v6_interface_set_minimized_request[0] = {
3985const wl_interface* zxdg_toplevel_v6_interface_configure_event[3] = {
3991const wl_interface* zxdg_toplevel_v6_interface_close_event[0] = {
3994const wl_message zxdg_toplevel_v6_interface_requests[14] = {
3998 zxdg_toplevel_v6_interface_destroy_request,
4003 zxdg_toplevel_v6_interface_set_parent_request,
4008 zxdg_toplevel_v6_interface_set_title_request,
4013 zxdg_toplevel_v6_interface_set_app_id_request,
4018 zxdg_toplevel_v6_interface_show_window_menu_request,
4023 zxdg_toplevel_v6_interface_move_request,
4028 zxdg_toplevel_v6_interface_resize_request,
4033 zxdg_toplevel_v6_interface_set_max_size_request,
4038 zxdg_toplevel_v6_interface_set_min_size_request,
4043 zxdg_toplevel_v6_interface_set_maximized_request,
4048 zxdg_toplevel_v6_interface_unset_maximized_request,
4053 zxdg_toplevel_v6_interface_set_fullscreen_request,
4058 zxdg_toplevel_v6_interface_unset_fullscreen_request,
4063 zxdg_toplevel_v6_interface_set_minimized_request,
4067const wl_message zxdg_toplevel_v6_interface_events[2] = {
4071 zxdg_toplevel_v6_interface_configure_event,
4076 zxdg_toplevel_v6_interface_close_event,
4080const wl_interface wayland::detail::zxdg_toplevel_v6_interface =
4085 zxdg_toplevel_v6_interface_requests,
4087 zxdg_toplevel_v6_interface_events,
4090const wl_interface* zxdg_popup_v6_interface_destroy_request[0] = {
4093const wl_interface* zxdg_popup_v6_interface_grab_request[2] = {
4098const wl_interface* zxdg_popup_v6_interface_configure_event[4] = {
4105const wl_interface* zxdg_popup_v6_interface_popup_done_event[0] = {
4108const wl_message zxdg_popup_v6_interface_requests[2] = {
4112 zxdg_popup_v6_interface_destroy_request,
4117 zxdg_popup_v6_interface_grab_request,
4121const wl_message zxdg_popup_v6_interface_events[2] = {
4125 zxdg_popup_v6_interface_configure_event,
4130 zxdg_popup_v6_interface_popup_done_event,
4134const wl_interface wayland::detail::zxdg_popup_v6_interface =
4139 zxdg_popup_v6_interface_requests,
4141 zxdg_popup_v6_interface_events,
4144const wl_interface* zwp_xwayland_keyboard_grab_manager_v1_interface_destroy_request[0] = {
4147const wl_interface* zwp_xwayland_keyboard_grab_manager_v1_interface_grab_keyboard_request[3] = {
4148 &zwp_xwayland_keyboard_grab_v1_interface,
4153const wl_message zwp_xwayland_keyboard_grab_manager_v1_interface_requests[2] = {
4157 zwp_xwayland_keyboard_grab_manager_v1_interface_destroy_request,
4162 zwp_xwayland_keyboard_grab_manager_v1_interface_grab_keyboard_request,
4166const wl_message zwp_xwayland_keyboard_grab_manager_v1_interface_events[0] = {
4169const wl_interface wayland::detail::zwp_xwayland_keyboard_grab_manager_v1_interface =
4171 "zwp_xwayland_keyboard_grab_manager_v1",
4174 zwp_xwayland_keyboard_grab_manager_v1_interface_requests,
4176 zwp_xwayland_keyboard_grab_manager_v1_interface_events,
4179const wl_interface* zwp_xwayland_keyboard_grab_v1_interface_destroy_request[0] = {
4182const wl_message zwp_xwayland_keyboard_grab_v1_interface_requests[1] = {
4186 zwp_xwayland_keyboard_grab_v1_interface_destroy_request,
4190const wl_message zwp_xwayland_keyboard_grab_v1_interface_events[0] = {
4193const wl_interface wayland::detail::zwp_xwayland_keyboard_grab_v1_interface =
4195 "zwp_xwayland_keyboard_grab_v1",
4198 zwp_xwayland_keyboard_grab_v1_interface_requests,
4200 zwp_xwayland_keyboard_grab_v1_interface_events,
4203zwp_fullscreen_shell_v1_t::zwp_fullscreen_shell_v1_t(
const proxy_t &p)
4206 if(proxy_has_object() && get_wrapper_type() == wrapper_type::standard)
4208 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4210 set_interface(&zwp_fullscreen_shell_v1_interface);
4215zwp_fullscreen_shell_v1_t::zwp_fullscreen_shell_v1_t()
4217 set_interface(&zwp_fullscreen_shell_v1_interface);
4222zwp_fullscreen_shell_v1_t::zwp_fullscreen_shell_v1_t(zwp_fullscreen_shell_v1 *p, wrapper_type t)
4223 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4224 if(proxy_has_object() && get_wrapper_type() == wrapper_type::standard)
4226 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4228 set_interface(&zwp_fullscreen_shell_v1_interface);
4233zwp_fullscreen_shell_v1_t::zwp_fullscreen_shell_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
4234 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4235 set_interface(&zwp_fullscreen_shell_v1_interface);
4242 return {*
this, construct_proxy_wrapper_tag()};
4245const std::string zwp_fullscreen_shell_v1_t::interface_name =
"zwp_fullscreen_shell_v1";
4247zwp_fullscreen_shell_v1_t::operator zwp_fullscreen_shell_v1*()
const
4249 return reinterpret_cast<zwp_fullscreen_shell_v1*
> (c_ptr());
4259 marshal(1U, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr,
static_cast<uint32_t
>(method), output.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(output.
c_ptr()) :
nullptr);
4264 proxy_t p = marshal_constructor(2U, &zwp_fullscreen_shell_mode_feedback_v1_interface, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr, output.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(output.
c_ptr()) :
nullptr, framerate,
nullptr);
4265 return zwp_fullscreen_shell_mode_feedback_v1_t(p);
4270 return std::static_pointer_cast<events_t>(get_events())->capability;
4273int zwp_fullscreen_shell_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
4275 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
4279 if(events->capability) events->capability(zwp_fullscreen_shell_v1_capability(args[0].get<uint32_t>()));
4288zwp_fullscreen_shell_mode_feedback_v1_t::zwp_fullscreen_shell_mode_feedback_v1_t(
const proxy_t &p)
4293 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4295 set_interface(&zwp_fullscreen_shell_mode_feedback_v1_interface);
4297 {
return zwp_fullscreen_shell_mode_feedback_v1_t(p); });
4300zwp_fullscreen_shell_mode_feedback_v1_t::zwp_fullscreen_shell_mode_feedback_v1_t()
4302 set_interface(&zwp_fullscreen_shell_mode_feedback_v1_interface);
4304 {
return zwp_fullscreen_shell_mode_feedback_v1_t(p); });
4307zwp_fullscreen_shell_mode_feedback_v1_t::zwp_fullscreen_shell_mode_feedback_v1_t(zwp_fullscreen_shell_mode_feedback_v1 *p, wrapper_type t)
4308 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4311 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4313 set_interface(&zwp_fullscreen_shell_mode_feedback_v1_interface);
4315 {
return zwp_fullscreen_shell_mode_feedback_v1_t(p); });
4318zwp_fullscreen_shell_mode_feedback_v1_t::zwp_fullscreen_shell_mode_feedback_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
4319 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4320 set_interface(&zwp_fullscreen_shell_mode_feedback_v1_interface);
4322 {
return zwp_fullscreen_shell_mode_feedback_v1_t(p); });
4325zwp_fullscreen_shell_mode_feedback_v1_t zwp_fullscreen_shell_mode_feedback_v1_t::proxy_create_wrapper()
4327 return {*
this, construct_proxy_wrapper_tag()};
4330const std::string zwp_fullscreen_shell_mode_feedback_v1_t::interface_name =
"zwp_fullscreen_shell_mode_feedback_v1";
4332zwp_fullscreen_shell_mode_feedback_v1_t::operator zwp_fullscreen_shell_mode_feedback_v1*()
const
4334 return reinterpret_cast<zwp_fullscreen_shell_mode_feedback_v1*
> (c_ptr());
4337std::function<void()> &zwp_fullscreen_shell_mode_feedback_v1_t::on_mode_successful()
4339 return std::static_pointer_cast<events_t>(get_events())->mode_successful;
4342std::function<void()> &zwp_fullscreen_shell_mode_feedback_v1_t::on_mode_failed()
4344 return std::static_pointer_cast<events_t>(get_events())->mode_failed;
4347std::function<void()> &zwp_fullscreen_shell_mode_feedback_v1_t::on_present_cancelled()
4349 return std::static_pointer_cast<events_t>(get_events())->present_cancelled;
4352int zwp_fullscreen_shell_mode_feedback_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
4354 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
4358 if(events->mode_successful) events->mode_successful();
4361 if(events->mode_failed) events->mode_failed();
4364 if(events->present_cancelled) events->present_cancelled();
4370zwp_idle_inhibit_manager_v1_t::zwp_idle_inhibit_manager_v1_t(
const proxy_t &p)
4375 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4376 set_destroy_opcode(0U);
4378 set_interface(&zwp_idle_inhibit_manager_v1_interface);
4383zwp_idle_inhibit_manager_v1_t::zwp_idle_inhibit_manager_v1_t()
4385 set_interface(&zwp_idle_inhibit_manager_v1_interface);
4390zwp_idle_inhibit_manager_v1_t::zwp_idle_inhibit_manager_v1_t(zwp_idle_inhibit_manager_v1 *p, wrapper_type t)
4391 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4394 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4395 set_destroy_opcode(0U);
4397 set_interface(&zwp_idle_inhibit_manager_v1_interface);
4402zwp_idle_inhibit_manager_v1_t::zwp_idle_inhibit_manager_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
4403 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4404 set_interface(&zwp_idle_inhibit_manager_v1_interface);
4411 return {*
this, construct_proxy_wrapper_tag()};
4414const std::string zwp_idle_inhibit_manager_v1_t::interface_name =
"zwp_idle_inhibit_manager_v1";
4416zwp_idle_inhibit_manager_v1_t::operator zwp_idle_inhibit_manager_v1*()
const
4418 return reinterpret_cast<zwp_idle_inhibit_manager_v1*
> (c_ptr());
4423 proxy_t p = marshal_constructor(1U, &zwp_idle_inhibitor_v1_interface,
nullptr, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr);
4427int zwp_idle_inhibit_manager_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
4432zwp_idle_inhibitor_v1_t::zwp_idle_inhibitor_v1_t(
const proxy_t &p)
4437 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4438 set_destroy_opcode(0U);
4440 set_interface(&zwp_idle_inhibitor_v1_interface);
4445zwp_idle_inhibitor_v1_t::zwp_idle_inhibitor_v1_t()
4447 set_interface(&zwp_idle_inhibitor_v1_interface);
4452zwp_idle_inhibitor_v1_t::zwp_idle_inhibitor_v1_t(zwp_idle_inhibitor_v1 *p, wrapper_type t)
4453 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4456 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4457 set_destroy_opcode(0U);
4459 set_interface(&zwp_idle_inhibitor_v1_interface);
4464zwp_idle_inhibitor_v1_t::zwp_idle_inhibitor_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
4465 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4466 set_interface(&zwp_idle_inhibitor_v1_interface);
4473 return {*
this, construct_proxy_wrapper_tag()};
4476const std::string zwp_idle_inhibitor_v1_t::interface_name =
"zwp_idle_inhibitor_v1";
4478zwp_idle_inhibitor_v1_t::operator zwp_idle_inhibitor_v1*()
const
4480 return reinterpret_cast<zwp_idle_inhibitor_v1*
> (c_ptr());
4483int zwp_idle_inhibitor_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
4488zwp_input_method_context_v1_t::zwp_input_method_context_v1_t(
const proxy_t &p)
4493 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4494 set_destroy_opcode(0U);
4496 set_interface(&zwp_input_method_context_v1_interface);
4501zwp_input_method_context_v1_t::zwp_input_method_context_v1_t()
4503 set_interface(&zwp_input_method_context_v1_interface);
4508zwp_input_method_context_v1_t::zwp_input_method_context_v1_t(zwp_input_method_context_v1 *p, wrapper_type t)
4509 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4512 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4513 set_destroy_opcode(0U);
4515 set_interface(&zwp_input_method_context_v1_interface);
4520zwp_input_method_context_v1_t::zwp_input_method_context_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
4521 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4522 set_interface(&zwp_input_method_context_v1_interface);
4529 return {*
this, construct_proxy_wrapper_tag()};
4532const std::string zwp_input_method_context_v1_t::interface_name =
"zwp_input_method_context_v1";
4534zwp_input_method_context_v1_t::operator zwp_input_method_context_v1*()
const
4536 return reinterpret_cast<zwp_input_method_context_v1*
> (c_ptr());
4541 marshal(1U, serial, text);
4546 marshal(2U, serial, text, commit);
4551 marshal(3U, index, length,
static_cast<uint32_t
>(style));
4561 marshal(5U, index, length);
4566 marshal(6U, index, anchor);
4576 marshal(8U, serial, time, sym,
static_cast<uint32_t
>(state),
modifiers);
4581 proxy_t p = marshal_constructor(9U, &keyboard_interface,
nullptr);
4587 marshal(10U, serial, time,
key,
static_cast<uint32_t
>(state));
4592 marshal(11U, serial, mods_depressed, mods_latched, mods_locked, group);
4602 marshal(13U, serial, direction);
4607 return std::static_pointer_cast<events_t>(get_events())->surrounding_text;
4610std::function<void()> &zwp_input_method_context_v1_t::on_reset()
4612 return std::static_pointer_cast<events_t>(get_events())->reset;
4617 return std::static_pointer_cast<events_t>(get_events())->content_type;
4622 return std::static_pointer_cast<events_t>(get_events())->invoke_action;
4627 return std::static_pointer_cast<events_t>(get_events())->commit_state;
4632 return std::static_pointer_cast<events_t>(get_events())->preferred_language;
4635int zwp_input_method_context_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
4637 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
4641 if(events->surrounding_text) events->surrounding_text(args[0].get<std::string>(), args[1].get<uint32_t>(), args[2].get<uint32_t>());
4644 if(events->reset) events->reset();
4647 if(events->content_type) events->content_type(
zwp_text_input_v1_content_hint(args[0].get<uint32_t>()), zwp_text_input_v1_content_purpose(args[1].get<uint32_t>()));
4650 if(events->invoke_action) events->invoke_action(args[0].get<uint32_t>(), args[1].get<uint32_t>());
4653 if(events->commit_state) events->commit_state(args[0].get<uint32_t>());
4656 if(events->preferred_language) events->preferred_language(args[0].get<std::string>());
4662zwp_input_method_v1_t::zwp_input_method_v1_t(
const proxy_t &p)
4667 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4669 set_interface(&zwp_input_method_v1_interface);
4674zwp_input_method_v1_t::zwp_input_method_v1_t()
4676 set_interface(&zwp_input_method_v1_interface);
4681zwp_input_method_v1_t::zwp_input_method_v1_t(zwp_input_method_v1 *p, wrapper_type t)
4682 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4685 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4687 set_interface(&zwp_input_method_v1_interface);
4692zwp_input_method_v1_t::zwp_input_method_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
4693 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4694 set_interface(&zwp_input_method_v1_interface);
4701 return {*
this, construct_proxy_wrapper_tag()};
4704const std::string zwp_input_method_v1_t::interface_name =
"zwp_input_method_v1";
4706zwp_input_method_v1_t::operator zwp_input_method_v1*()
const
4708 return reinterpret_cast<zwp_input_method_v1*
> (c_ptr());
4713 return std::static_pointer_cast<events_t>(get_events())->activate;
4718 return std::static_pointer_cast<events_t>(get_events())->deactivate;
4721int zwp_input_method_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
4723 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
4736zwp_input_panel_v1_t::zwp_input_panel_v1_t(
const proxy_t &p)
4741 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4743 set_interface(&zwp_input_panel_v1_interface);
4748zwp_input_panel_v1_t::zwp_input_panel_v1_t()
4750 set_interface(&zwp_input_panel_v1_interface);
4755zwp_input_panel_v1_t::zwp_input_panel_v1_t(zwp_input_panel_v1 *p, wrapper_type t)
4756 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4759 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4761 set_interface(&zwp_input_panel_v1_interface);
4766zwp_input_panel_v1_t::zwp_input_panel_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
4767 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4768 set_interface(&zwp_input_panel_v1_interface);
4775 return {*
this, construct_proxy_wrapper_tag()};
4778const std::string zwp_input_panel_v1_t::interface_name =
"zwp_input_panel_v1";
4780zwp_input_panel_v1_t::operator zwp_input_panel_v1*()
const
4782 return reinterpret_cast<zwp_input_panel_v1*
> (c_ptr());
4787 proxy_t p = marshal_constructor(0U, &zwp_input_panel_surface_v1_interface,
nullptr, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr);
4788 return zwp_input_panel_surface_v1_t(p);
4791int zwp_input_panel_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
4796zwp_input_panel_surface_v1_t::zwp_input_panel_surface_v1_t(
const proxy_t &p)
4801 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4803 set_interface(&zwp_input_panel_surface_v1_interface);
4805 {
return zwp_input_panel_surface_v1_t(p); });
4808zwp_input_panel_surface_v1_t::zwp_input_panel_surface_v1_t()
4810 set_interface(&zwp_input_panel_surface_v1_interface);
4812 {
return zwp_input_panel_surface_v1_t(p); });
4815zwp_input_panel_surface_v1_t::zwp_input_panel_surface_v1_t(zwp_input_panel_surface_v1 *p, wrapper_type t)
4816 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4819 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4821 set_interface(&zwp_input_panel_surface_v1_interface);
4823 {
return zwp_input_panel_surface_v1_t(p); });
4826zwp_input_panel_surface_v1_t::zwp_input_panel_surface_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
4827 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4828 set_interface(&zwp_input_panel_surface_v1_interface);
4830 {
return zwp_input_panel_surface_v1_t(p); });
4833zwp_input_panel_surface_v1_t zwp_input_panel_surface_v1_t::proxy_create_wrapper()
4835 return {*
this, construct_proxy_wrapper_tag()};
4838const std::string zwp_input_panel_surface_v1_t::interface_name =
"zwp_input_panel_surface_v1";
4840zwp_input_panel_surface_v1_t::operator zwp_input_panel_surface_v1*()
const
4842 return reinterpret_cast<zwp_input_panel_surface_v1*
> (c_ptr());
4845void zwp_input_panel_surface_v1_t::set_toplevel(
output_t const& output, zwp_input_panel_surface_v1_position
const& position)
4847 marshal(0U, output.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(output.
c_ptr()) :
nullptr,
static_cast<uint32_t
>(position));
4850void zwp_input_panel_surface_v1_t::set_overlay_panel()
4855int zwp_input_panel_surface_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
4861zwp_input_timestamps_manager_v1_t::zwp_input_timestamps_manager_v1_t(
const proxy_t &p)
4866 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4867 set_destroy_opcode(0U);
4869 set_interface(&zwp_input_timestamps_manager_v1_interface);
4874zwp_input_timestamps_manager_v1_t::zwp_input_timestamps_manager_v1_t()
4876 set_interface(&zwp_input_timestamps_manager_v1_interface);
4881zwp_input_timestamps_manager_v1_t::zwp_input_timestamps_manager_v1_t(zwp_input_timestamps_manager_v1 *p, wrapper_type t)
4882 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4885 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4886 set_destroy_opcode(0U);
4888 set_interface(&zwp_input_timestamps_manager_v1_interface);
4893zwp_input_timestamps_manager_v1_t::zwp_input_timestamps_manager_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
4894 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4895 set_interface(&zwp_input_timestamps_manager_v1_interface);
4902 return {*
this, construct_proxy_wrapper_tag()};
4905const std::string zwp_input_timestamps_manager_v1_t::interface_name =
"zwp_input_timestamps_manager_v1";
4907zwp_input_timestamps_manager_v1_t::operator zwp_input_timestamps_manager_v1*()
const
4909 return reinterpret_cast<zwp_input_timestamps_manager_v1*
> (c_ptr());
4914 proxy_t p = marshal_constructor(1U, &zwp_input_timestamps_v1_interface,
nullptr, keyboard.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(keyboard.
c_ptr()) :
nullptr);
4920 proxy_t p = marshal_constructor(2U, &zwp_input_timestamps_v1_interface,
nullptr, pointer.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(pointer.
c_ptr()) :
nullptr);
4926 proxy_t p = marshal_constructor(3U, &zwp_input_timestamps_v1_interface,
nullptr, touch.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(touch.
c_ptr()) :
nullptr);
4930int zwp_input_timestamps_manager_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
4935zwp_input_timestamps_v1_t::zwp_input_timestamps_v1_t(
const proxy_t &p)
4940 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4941 set_destroy_opcode(0U);
4943 set_interface(&zwp_input_timestamps_v1_interface);
4948zwp_input_timestamps_v1_t::zwp_input_timestamps_v1_t()
4950 set_interface(&zwp_input_timestamps_v1_interface);
4955zwp_input_timestamps_v1_t::zwp_input_timestamps_v1_t(zwp_input_timestamps_v1 *p, wrapper_type t)
4956 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4959 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4960 set_destroy_opcode(0U);
4962 set_interface(&zwp_input_timestamps_v1_interface);
4967zwp_input_timestamps_v1_t::zwp_input_timestamps_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
4968 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4969 set_interface(&zwp_input_timestamps_v1_interface);
4976 return {*
this, construct_proxy_wrapper_tag()};
4979const std::string zwp_input_timestamps_v1_t::interface_name =
"zwp_input_timestamps_v1";
4981zwp_input_timestamps_v1_t::operator zwp_input_timestamps_v1*()
const
4983 return reinterpret_cast<zwp_input_timestamps_v1*
> (c_ptr());
4988 return std::static_pointer_cast<events_t>(get_events())->timestamp;
4991int zwp_input_timestamps_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
4993 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
4997 if(events->timestamp) events->timestamp(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<uint32_t>());
5003zwp_keyboard_shortcuts_inhibit_manager_v1_t::zwp_keyboard_shortcuts_inhibit_manager_v1_t(
const proxy_t &p)
5008 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5009 set_destroy_opcode(0U);
5011 set_interface(&zwp_keyboard_shortcuts_inhibit_manager_v1_interface);
5016zwp_keyboard_shortcuts_inhibit_manager_v1_t::zwp_keyboard_shortcuts_inhibit_manager_v1_t()
5018 set_interface(&zwp_keyboard_shortcuts_inhibit_manager_v1_interface);
5023zwp_keyboard_shortcuts_inhibit_manager_v1_t::zwp_keyboard_shortcuts_inhibit_manager_v1_t(zwp_keyboard_shortcuts_inhibit_manager_v1 *p, wrapper_type t)
5024 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5027 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5028 set_destroy_opcode(0U);
5030 set_interface(&zwp_keyboard_shortcuts_inhibit_manager_v1_interface);
5035zwp_keyboard_shortcuts_inhibit_manager_v1_t::zwp_keyboard_shortcuts_inhibit_manager_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5036 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5037 set_interface(&zwp_keyboard_shortcuts_inhibit_manager_v1_interface);
5044 return {*
this, construct_proxy_wrapper_tag()};
5047const std::string zwp_keyboard_shortcuts_inhibit_manager_v1_t::interface_name =
"zwp_keyboard_shortcuts_inhibit_manager_v1";
5049zwp_keyboard_shortcuts_inhibit_manager_v1_t::operator zwp_keyboard_shortcuts_inhibit_manager_v1*()
const
5051 return reinterpret_cast<zwp_keyboard_shortcuts_inhibit_manager_v1*
> (c_ptr());
5056 proxy_t p = marshal_constructor(1U, &zwp_keyboard_shortcuts_inhibitor_v1_interface,
nullptr, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr, seat.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(seat.
c_ptr()) :
nullptr);
5060int zwp_keyboard_shortcuts_inhibit_manager_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5066zwp_keyboard_shortcuts_inhibitor_v1_t::zwp_keyboard_shortcuts_inhibitor_v1_t(
const proxy_t &p)
5071 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5072 set_destroy_opcode(0U);
5074 set_interface(&zwp_keyboard_shortcuts_inhibitor_v1_interface);
5079zwp_keyboard_shortcuts_inhibitor_v1_t::zwp_keyboard_shortcuts_inhibitor_v1_t()
5081 set_interface(&zwp_keyboard_shortcuts_inhibitor_v1_interface);
5086zwp_keyboard_shortcuts_inhibitor_v1_t::zwp_keyboard_shortcuts_inhibitor_v1_t(zwp_keyboard_shortcuts_inhibitor_v1 *p, wrapper_type t)
5087 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5090 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5091 set_destroy_opcode(0U);
5093 set_interface(&zwp_keyboard_shortcuts_inhibitor_v1_interface);
5098zwp_keyboard_shortcuts_inhibitor_v1_t::zwp_keyboard_shortcuts_inhibitor_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5099 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5100 set_interface(&zwp_keyboard_shortcuts_inhibitor_v1_interface);
5107 return {*
this, construct_proxy_wrapper_tag()};
5110const std::string zwp_keyboard_shortcuts_inhibitor_v1_t::interface_name =
"zwp_keyboard_shortcuts_inhibitor_v1";
5112zwp_keyboard_shortcuts_inhibitor_v1_t::operator zwp_keyboard_shortcuts_inhibitor_v1*()
const
5114 return reinterpret_cast<zwp_keyboard_shortcuts_inhibitor_v1*
> (c_ptr());
5119 return std::static_pointer_cast<events_t>(get_events())->active;
5124 return std::static_pointer_cast<events_t>(get_events())->inactive;
5127int zwp_keyboard_shortcuts_inhibitor_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5129 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5133 if(events->active) events->active();
5136 if(events->inactive) events->inactive();
5142zwp_linux_dmabuf_v1_t::zwp_linux_dmabuf_v1_t(
const proxy_t &p)
5147 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5148 set_destroy_opcode(0U);
5150 set_interface(&zwp_linux_dmabuf_v1_interface);
5155zwp_linux_dmabuf_v1_t::zwp_linux_dmabuf_v1_t()
5157 set_interface(&zwp_linux_dmabuf_v1_interface);
5162zwp_linux_dmabuf_v1_t::zwp_linux_dmabuf_v1_t(zwp_linux_dmabuf_v1 *p, wrapper_type t)
5163 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5166 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5167 set_destroy_opcode(0U);
5169 set_interface(&zwp_linux_dmabuf_v1_interface);
5174zwp_linux_dmabuf_v1_t::zwp_linux_dmabuf_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5175 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5176 set_interface(&zwp_linux_dmabuf_v1_interface);
5183 return {*
this, construct_proxy_wrapper_tag()};
5186const std::string zwp_linux_dmabuf_v1_t::interface_name =
"zwp_linux_dmabuf_v1";
5188zwp_linux_dmabuf_v1_t::operator zwp_linux_dmabuf_v1*()
const
5190 return reinterpret_cast<zwp_linux_dmabuf_v1*
> (c_ptr());
5195 proxy_t p = marshal_constructor(1U, &zwp_linux_buffer_params_v1_interface,
nullptr);
5201 proxy_t p = marshal_constructor(2U, &zwp_linux_dmabuf_feedback_v1_interface,
nullptr);
5211 proxy_t p = marshal_constructor(3U, &zwp_linux_dmabuf_feedback_v1_interface,
nullptr, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr);
5221 return std::static_pointer_cast<events_t>(get_events())->format;
5226 return std::static_pointer_cast<events_t>(get_events())->modifier;
5229int zwp_linux_dmabuf_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5231 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5235 if(events->format) events->format(args[0].get<uint32_t>());
5238 if(events->modifier) events->modifier(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<uint32_t>());
5244zwp_linux_buffer_params_v1_t::zwp_linux_buffer_params_v1_t(
const proxy_t &p)
5249 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5250 set_destroy_opcode(0U);
5252 set_interface(&zwp_linux_buffer_params_v1_interface);
5257zwp_linux_buffer_params_v1_t::zwp_linux_buffer_params_v1_t()
5259 set_interface(&zwp_linux_buffer_params_v1_interface);
5264zwp_linux_buffer_params_v1_t::zwp_linux_buffer_params_v1_t(zwp_linux_buffer_params_v1 *p, wrapper_type t)
5265 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5268 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5269 set_destroy_opcode(0U);
5271 set_interface(&zwp_linux_buffer_params_v1_interface);
5276zwp_linux_buffer_params_v1_t::zwp_linux_buffer_params_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5277 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5278 set_interface(&zwp_linux_buffer_params_v1_interface);
5285 return {*
this, construct_proxy_wrapper_tag()};
5288const std::string zwp_linux_buffer_params_v1_t::interface_name =
"zwp_linux_buffer_params_v1";
5290zwp_linux_buffer_params_v1_t::operator zwp_linux_buffer_params_v1*()
const
5292 return reinterpret_cast<zwp_linux_buffer_params_v1*
> (c_ptr());
5297 marshal(1U, argument_t::fd(fd), plane_idx, offset, stride, modifier_hi, modifier_lo);
5302 marshal(2U, width, height, format,
static_cast<uint32_t
>(flags));
5307 proxy_t p = marshal_constructor(3U, &buffer_interface,
nullptr, width, height, format,
static_cast<uint32_t
>(flags));
5317 return std::static_pointer_cast<events_t>(get_events())->created;
5322 return std::static_pointer_cast<events_t>(get_events())->failed;
5325int zwp_linux_buffer_params_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5327 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5331 if(events->created) events->created(
buffer_t(args[0].get<proxy_t>()));
5334 if(events->failed) events->failed();
5340const bitfield<3, 6> zwp_linux_buffer_params_v1_flags::y_invert{1};
5341const bitfield<3, 6> zwp_linux_buffer_params_v1_flags::interlaced{2};
5342const bitfield<3, 6> zwp_linux_buffer_params_v1_flags::bottom_first{4};
5345zwp_linux_dmabuf_feedback_v1_t::zwp_linux_dmabuf_feedback_v1_t(
const proxy_t &p)
5350 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5351 set_destroy_opcode(0U);
5353 set_interface(&zwp_linux_dmabuf_feedback_v1_interface);
5358zwp_linux_dmabuf_feedback_v1_t::zwp_linux_dmabuf_feedback_v1_t()
5360 set_interface(&zwp_linux_dmabuf_feedback_v1_interface);
5365zwp_linux_dmabuf_feedback_v1_t::zwp_linux_dmabuf_feedback_v1_t(zwp_linux_dmabuf_feedback_v1 *p, wrapper_type t)
5366 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5369 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5370 set_destroy_opcode(0U);
5372 set_interface(&zwp_linux_dmabuf_feedback_v1_interface);
5377zwp_linux_dmabuf_feedback_v1_t::zwp_linux_dmabuf_feedback_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5378 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5379 set_interface(&zwp_linux_dmabuf_feedback_v1_interface);
5386 return {*
this, construct_proxy_wrapper_tag()};
5389const std::string zwp_linux_dmabuf_feedback_v1_t::interface_name =
"zwp_linux_dmabuf_feedback_v1";
5391zwp_linux_dmabuf_feedback_v1_t::operator zwp_linux_dmabuf_feedback_v1*()
const
5393 return reinterpret_cast<zwp_linux_dmabuf_feedback_v1*
> (c_ptr());
5398 return std::static_pointer_cast<events_t>(get_events())->done;
5403 return std::static_pointer_cast<events_t>(get_events())->format_table;
5408 return std::static_pointer_cast<events_t>(get_events())->main_device;
5413 return std::static_pointer_cast<events_t>(get_events())->tranche_done;
5418 return std::static_pointer_cast<events_t>(get_events())->tranche_target_device;
5423 return std::static_pointer_cast<events_t>(get_events())->tranche_formats;
5428 return std::static_pointer_cast<events_t>(get_events())->tranche_flags;
5431int zwp_linux_dmabuf_feedback_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5433 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5437 if(events->done) events->done();
5440 if(events->format_table) events->format_table(args[0].get<int>(), args[1].get<uint32_t>());
5443 if(events->main_device) events->main_device(args[0].get<array_t>());
5446 if(events->tranche_done) events->tranche_done();
5449 if(events->tranche_target_device) events->tranche_target_device(args[0].get<array_t>());
5452 if(events->tranche_formats) events->tranche_formats(args[0].get<array_t>());
5455 if(events->tranche_flags) events->tranche_flags(zwp_linux_dmabuf_feedback_v1_tranche_flags(args[0].get<uint32_t>()));
5460const bitfield<1, 7> zwp_linux_dmabuf_feedback_v1_tranche_flags::scanout{1};
5463zwp_linux_explicit_synchronization_v1_t::zwp_linux_explicit_synchronization_v1_t(
const proxy_t &p)
5468 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5469 set_destroy_opcode(0U);
5471 set_interface(&zwp_linux_explicit_synchronization_v1_interface);
5476zwp_linux_explicit_synchronization_v1_t::zwp_linux_explicit_synchronization_v1_t()
5478 set_interface(&zwp_linux_explicit_synchronization_v1_interface);
5483zwp_linux_explicit_synchronization_v1_t::zwp_linux_explicit_synchronization_v1_t(zwp_linux_explicit_synchronization_v1 *p, wrapper_type t)
5484 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5487 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5488 set_destroy_opcode(0U);
5490 set_interface(&zwp_linux_explicit_synchronization_v1_interface);
5495zwp_linux_explicit_synchronization_v1_t::zwp_linux_explicit_synchronization_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5496 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5497 set_interface(&zwp_linux_explicit_synchronization_v1_interface);
5504 return {*
this, construct_proxy_wrapper_tag()};
5507const std::string zwp_linux_explicit_synchronization_v1_t::interface_name =
"zwp_linux_explicit_synchronization_v1";
5509zwp_linux_explicit_synchronization_v1_t::operator zwp_linux_explicit_synchronization_v1*()
const
5511 return reinterpret_cast<zwp_linux_explicit_synchronization_v1*
> (c_ptr());
5516 proxy_t p = marshal_constructor(1U, &zwp_linux_surface_synchronization_v1_interface,
nullptr, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr);
5520int zwp_linux_explicit_synchronization_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5526zwp_linux_surface_synchronization_v1_t::zwp_linux_surface_synchronization_v1_t(
const proxy_t &p)
5531 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5532 set_destroy_opcode(0U);
5534 set_interface(&zwp_linux_surface_synchronization_v1_interface);
5539zwp_linux_surface_synchronization_v1_t::zwp_linux_surface_synchronization_v1_t()
5541 set_interface(&zwp_linux_surface_synchronization_v1_interface);
5546zwp_linux_surface_synchronization_v1_t::zwp_linux_surface_synchronization_v1_t(zwp_linux_surface_synchronization_v1 *p, wrapper_type t)
5547 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5550 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5551 set_destroy_opcode(0U);
5553 set_interface(&zwp_linux_surface_synchronization_v1_interface);
5558zwp_linux_surface_synchronization_v1_t::zwp_linux_surface_synchronization_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5559 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5560 set_interface(&zwp_linux_surface_synchronization_v1_interface);
5567 return {*
this, construct_proxy_wrapper_tag()};
5570const std::string zwp_linux_surface_synchronization_v1_t::interface_name =
"zwp_linux_surface_synchronization_v1";
5572zwp_linux_surface_synchronization_v1_t::operator zwp_linux_surface_synchronization_v1*()
const
5574 return reinterpret_cast<zwp_linux_surface_synchronization_v1*
> (c_ptr());
5579 marshal(1U, argument_t::fd(fd));
5584 proxy_t p = marshal_constructor(2U, &zwp_linux_buffer_release_v1_interface,
nullptr);
5588int zwp_linux_surface_synchronization_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5594zwp_linux_buffer_release_v1_t::zwp_linux_buffer_release_v1_t(
const proxy_t &p)
5599 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5601 set_interface(&zwp_linux_buffer_release_v1_interface);
5606zwp_linux_buffer_release_v1_t::zwp_linux_buffer_release_v1_t()
5608 set_interface(&zwp_linux_buffer_release_v1_interface);
5613zwp_linux_buffer_release_v1_t::zwp_linux_buffer_release_v1_t(zwp_linux_buffer_release_v1 *p, wrapper_type t)
5614 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5617 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5619 set_interface(&zwp_linux_buffer_release_v1_interface);
5624zwp_linux_buffer_release_v1_t::zwp_linux_buffer_release_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5625 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5626 set_interface(&zwp_linux_buffer_release_v1_interface);
5633 return {*
this, construct_proxy_wrapper_tag()};
5636const std::string zwp_linux_buffer_release_v1_t::interface_name =
"zwp_linux_buffer_release_v1";
5638zwp_linux_buffer_release_v1_t::operator zwp_linux_buffer_release_v1*()
const
5640 return reinterpret_cast<zwp_linux_buffer_release_v1*
> (c_ptr());
5645 return std::static_pointer_cast<events_t>(get_events())->fenced_release;
5650 return std::static_pointer_cast<events_t>(get_events())->immediate_release;
5653int zwp_linux_buffer_release_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5655 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5659 if(events->fenced_release) events->fenced_release(args[0].get<int>());
5662 if(events->immediate_release) events->immediate_release();
5668zwp_pointer_constraints_v1_t::zwp_pointer_constraints_v1_t(
const proxy_t &p)
5673 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5674 set_destroy_opcode(0U);
5676 set_interface(&zwp_pointer_constraints_v1_interface);
5681zwp_pointer_constraints_v1_t::zwp_pointer_constraints_v1_t()
5683 set_interface(&zwp_pointer_constraints_v1_interface);
5688zwp_pointer_constraints_v1_t::zwp_pointer_constraints_v1_t(zwp_pointer_constraints_v1 *p, wrapper_type t)
5689 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5692 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5693 set_destroy_opcode(0U);
5695 set_interface(&zwp_pointer_constraints_v1_interface);
5700zwp_pointer_constraints_v1_t::zwp_pointer_constraints_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5701 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5702 set_interface(&zwp_pointer_constraints_v1_interface);
5709 return {*
this, construct_proxy_wrapper_tag()};
5712const std::string zwp_pointer_constraints_v1_t::interface_name =
"zwp_pointer_constraints_v1";
5714zwp_pointer_constraints_v1_t::operator zwp_pointer_constraints_v1*()
const
5716 return reinterpret_cast<zwp_pointer_constraints_v1*
> (c_ptr());
5721 proxy_t p = marshal_constructor(1U, &zwp_locked_pointer_v1_interface,
nullptr, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr, pointer.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(pointer.
c_ptr()) :
nullptr, region.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(region.
c_ptr()) :
nullptr,
static_cast<uint32_t
>(lifetime));
5727 proxy_t p = marshal_constructor(2U, &zwp_confined_pointer_v1_interface,
nullptr, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr, pointer.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(pointer.
c_ptr()) :
nullptr, region.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(region.
c_ptr()) :
nullptr,
static_cast<uint32_t
>(lifetime));
5731int zwp_pointer_constraints_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5738zwp_locked_pointer_v1_t::zwp_locked_pointer_v1_t(
const proxy_t &p)
5743 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5744 set_destroy_opcode(0U);
5746 set_interface(&zwp_locked_pointer_v1_interface);
5751zwp_locked_pointer_v1_t::zwp_locked_pointer_v1_t()
5753 set_interface(&zwp_locked_pointer_v1_interface);
5758zwp_locked_pointer_v1_t::zwp_locked_pointer_v1_t(zwp_locked_pointer_v1 *p, wrapper_type t)
5759 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5762 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5763 set_destroy_opcode(0U);
5765 set_interface(&zwp_locked_pointer_v1_interface);
5770zwp_locked_pointer_v1_t::zwp_locked_pointer_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5771 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5772 set_interface(&zwp_locked_pointer_v1_interface);
5779 return {*
this, construct_proxy_wrapper_tag()};
5782const std::string zwp_locked_pointer_v1_t::interface_name =
"zwp_locked_pointer_v1";
5784zwp_locked_pointer_v1_t::operator zwp_locked_pointer_v1*()
const
5786 return reinterpret_cast<zwp_locked_pointer_v1*
> (c_ptr());
5791 marshal(1U, surface_x, surface_y);
5801 return std::static_pointer_cast<events_t>(get_events())->locked;
5806 return std::static_pointer_cast<events_t>(get_events())->unlocked;
5809int zwp_locked_pointer_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5811 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5815 if(events->locked) events->locked();
5818 if(events->unlocked) events->unlocked();
5824zwp_confined_pointer_v1_t::zwp_confined_pointer_v1_t(
const proxy_t &p)
5829 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5830 set_destroy_opcode(0U);
5832 set_interface(&zwp_confined_pointer_v1_interface);
5837zwp_confined_pointer_v1_t::zwp_confined_pointer_v1_t()
5839 set_interface(&zwp_confined_pointer_v1_interface);
5844zwp_confined_pointer_v1_t::zwp_confined_pointer_v1_t(zwp_confined_pointer_v1 *p, wrapper_type t)
5845 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5848 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5849 set_destroy_opcode(0U);
5851 set_interface(&zwp_confined_pointer_v1_interface);
5856zwp_confined_pointer_v1_t::zwp_confined_pointer_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5857 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5858 set_interface(&zwp_confined_pointer_v1_interface);
5865 return {*
this, construct_proxy_wrapper_tag()};
5868const std::string zwp_confined_pointer_v1_t::interface_name =
"zwp_confined_pointer_v1";
5870zwp_confined_pointer_v1_t::operator zwp_confined_pointer_v1*()
const
5872 return reinterpret_cast<zwp_confined_pointer_v1*
> (c_ptr());
5882 return std::static_pointer_cast<events_t>(get_events())->confined;
5887 return std::static_pointer_cast<events_t>(get_events())->unconfined;
5890int zwp_confined_pointer_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5892 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5896 if(events->confined) events->confined();
5899 if(events->unconfined) events->unconfined();
5905zwp_pointer_gestures_v1_t::zwp_pointer_gestures_v1_t(
const proxy_t &p)
5910 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5912 set_interface(&zwp_pointer_gestures_v1_interface);
5917zwp_pointer_gestures_v1_t::zwp_pointer_gestures_v1_t()
5919 set_interface(&zwp_pointer_gestures_v1_interface);
5924zwp_pointer_gestures_v1_t::zwp_pointer_gestures_v1_t(zwp_pointer_gestures_v1 *p, wrapper_type t)
5925 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5928 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5930 set_interface(&zwp_pointer_gestures_v1_interface);
5935zwp_pointer_gestures_v1_t::zwp_pointer_gestures_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5936 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5937 set_interface(&zwp_pointer_gestures_v1_interface);
5944 return {*
this, construct_proxy_wrapper_tag()};
5947const std::string zwp_pointer_gestures_v1_t::interface_name =
"zwp_pointer_gestures_v1";
5949zwp_pointer_gestures_v1_t::operator zwp_pointer_gestures_v1*()
const
5951 return reinterpret_cast<zwp_pointer_gestures_v1*
> (c_ptr());
5956 proxy_t p = marshal_constructor(0U, &zwp_pointer_gesture_swipe_v1_interface,
nullptr, pointer.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(pointer.
c_ptr()) :
nullptr);
5962 proxy_t p = marshal_constructor(1U, &zwp_pointer_gesture_pinch_v1_interface,
nullptr, pointer.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(pointer.
c_ptr()) :
nullptr);
5977 proxy_t p = marshal_constructor(3U, &zwp_pointer_gesture_hold_v1_interface,
nullptr, pointer.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(pointer.
c_ptr()) :
nullptr);
5985int zwp_pointer_gestures_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5990zwp_pointer_gesture_swipe_v1_t::zwp_pointer_gesture_swipe_v1_t(
const proxy_t &p)
5995 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5996 set_destroy_opcode(0U);
5998 set_interface(&zwp_pointer_gesture_swipe_v1_interface);
6003zwp_pointer_gesture_swipe_v1_t::zwp_pointer_gesture_swipe_v1_t()
6005 set_interface(&zwp_pointer_gesture_swipe_v1_interface);
6010zwp_pointer_gesture_swipe_v1_t::zwp_pointer_gesture_swipe_v1_t(zwp_pointer_gesture_swipe_v1 *p, wrapper_type t)
6011 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6014 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6015 set_destroy_opcode(0U);
6017 set_interface(&zwp_pointer_gesture_swipe_v1_interface);
6022zwp_pointer_gesture_swipe_v1_t::zwp_pointer_gesture_swipe_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6023 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6024 set_interface(&zwp_pointer_gesture_swipe_v1_interface);
6031 return {*
this, construct_proxy_wrapper_tag()};
6034const std::string zwp_pointer_gesture_swipe_v1_t::interface_name =
"zwp_pointer_gesture_swipe_v1";
6036zwp_pointer_gesture_swipe_v1_t::operator zwp_pointer_gesture_swipe_v1*()
const
6038 return reinterpret_cast<zwp_pointer_gesture_swipe_v1*
> (c_ptr());
6043 return std::static_pointer_cast<events_t>(get_events())->begin;
6048 return std::static_pointer_cast<events_t>(get_events())->update;
6053 return std::static_pointer_cast<events_t>(get_events())->end;
6056int zwp_pointer_gesture_swipe_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6058 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6062 if(events->begin) events->begin(args[0].get<uint32_t>(), args[1].get<uint32_t>(),
surface_t(args[2].get<proxy_t>()), args[3].get<uint32_t>());
6065 if(events->update) events->update(args[0].get<uint32_t>(), args[1].get<double>(), args[2].get<double>());
6068 if(events->end) events->end(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<int32_t>());
6074zwp_pointer_gesture_pinch_v1_t::zwp_pointer_gesture_pinch_v1_t(
const proxy_t &p)
6079 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6080 set_destroy_opcode(0U);
6082 set_interface(&zwp_pointer_gesture_pinch_v1_interface);
6087zwp_pointer_gesture_pinch_v1_t::zwp_pointer_gesture_pinch_v1_t()
6089 set_interface(&zwp_pointer_gesture_pinch_v1_interface);
6094zwp_pointer_gesture_pinch_v1_t::zwp_pointer_gesture_pinch_v1_t(zwp_pointer_gesture_pinch_v1 *p, wrapper_type t)
6095 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6098 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6099 set_destroy_opcode(0U);
6101 set_interface(&zwp_pointer_gesture_pinch_v1_interface);
6106zwp_pointer_gesture_pinch_v1_t::zwp_pointer_gesture_pinch_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6107 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6108 set_interface(&zwp_pointer_gesture_pinch_v1_interface);
6115 return {*
this, construct_proxy_wrapper_tag()};
6118const std::string zwp_pointer_gesture_pinch_v1_t::interface_name =
"zwp_pointer_gesture_pinch_v1";
6120zwp_pointer_gesture_pinch_v1_t::operator zwp_pointer_gesture_pinch_v1*()
const
6122 return reinterpret_cast<zwp_pointer_gesture_pinch_v1*
> (c_ptr());
6127 return std::static_pointer_cast<events_t>(get_events())->begin;
6132 return std::static_pointer_cast<events_t>(get_events())->update;
6137 return std::static_pointer_cast<events_t>(get_events())->end;
6140int zwp_pointer_gesture_pinch_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6142 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6146 if(events->begin) events->begin(args[0].get<uint32_t>(), args[1].get<uint32_t>(),
surface_t(args[2].get<proxy_t>()), args[3].get<uint32_t>());
6149 if(events->update) events->update(args[0].get<uint32_t>(), args[1].get<double>(), args[2].get<double>(), args[3].get<double>(), args[4].get<double>());
6152 if(events->end) events->end(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<int32_t>());
6158zwp_pointer_gesture_hold_v1_t::zwp_pointer_gesture_hold_v1_t(
const proxy_t &p)
6163 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6164 set_destroy_opcode(0U);
6166 set_interface(&zwp_pointer_gesture_hold_v1_interface);
6171zwp_pointer_gesture_hold_v1_t::zwp_pointer_gesture_hold_v1_t()
6173 set_interface(&zwp_pointer_gesture_hold_v1_interface);
6178zwp_pointer_gesture_hold_v1_t::zwp_pointer_gesture_hold_v1_t(zwp_pointer_gesture_hold_v1 *p, wrapper_type t)
6179 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6182 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6183 set_destroy_opcode(0U);
6185 set_interface(&zwp_pointer_gesture_hold_v1_interface);
6190zwp_pointer_gesture_hold_v1_t::zwp_pointer_gesture_hold_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6191 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6192 set_interface(&zwp_pointer_gesture_hold_v1_interface);
6199 return {*
this, construct_proxy_wrapper_tag()};
6202const std::string zwp_pointer_gesture_hold_v1_t::interface_name =
"zwp_pointer_gesture_hold_v1";
6204zwp_pointer_gesture_hold_v1_t::operator zwp_pointer_gesture_hold_v1*()
const
6206 return reinterpret_cast<zwp_pointer_gesture_hold_v1*
> (c_ptr());
6211 return std::static_pointer_cast<events_t>(get_events())->begin;
6216 return std::static_pointer_cast<events_t>(get_events())->end;
6219int zwp_pointer_gesture_hold_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6221 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6225 if(events->begin) events->begin(args[0].get<uint32_t>(), args[1].get<uint32_t>(),
surface_t(args[2].get<proxy_t>()), args[3].get<uint32_t>());
6228 if(events->end) events->end(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<int32_t>());
6234zwp_primary_selection_device_manager_v1_t::zwp_primary_selection_device_manager_v1_t(
const proxy_t &p)
6239 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6240 set_destroy_opcode(2U);
6242 set_interface(&zwp_primary_selection_device_manager_v1_interface);
6247zwp_primary_selection_device_manager_v1_t::zwp_primary_selection_device_manager_v1_t()
6249 set_interface(&zwp_primary_selection_device_manager_v1_interface);
6254zwp_primary_selection_device_manager_v1_t::zwp_primary_selection_device_manager_v1_t(zwp_primary_selection_device_manager_v1 *p, wrapper_type t)
6255 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6258 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6259 set_destroy_opcode(2U);
6261 set_interface(&zwp_primary_selection_device_manager_v1_interface);
6266zwp_primary_selection_device_manager_v1_t::zwp_primary_selection_device_manager_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6267 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6268 set_interface(&zwp_primary_selection_device_manager_v1_interface);
6275 return {*
this, construct_proxy_wrapper_tag()};
6278const std::string zwp_primary_selection_device_manager_v1_t::interface_name =
"zwp_primary_selection_device_manager_v1";
6280zwp_primary_selection_device_manager_v1_t::operator zwp_primary_selection_device_manager_v1*()
const
6282 return reinterpret_cast<zwp_primary_selection_device_manager_v1*
> (c_ptr());
6287 proxy_t p = marshal_constructor(0U, &zwp_primary_selection_source_v1_interface,
nullptr);
6293 proxy_t p = marshal_constructor(1U, &zwp_primary_selection_device_v1_interface,
nullptr, seat.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(seat.
c_ptr()) :
nullptr);
6294 return zwp_primary_selection_device_v1_t(p);
6297int zwp_primary_selection_device_manager_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6302zwp_primary_selection_device_v1_t::zwp_primary_selection_device_v1_t(
const proxy_t &p)
6307 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6308 set_destroy_opcode(1U);
6310 set_interface(&zwp_primary_selection_device_v1_interface);
6312 {
return zwp_primary_selection_device_v1_t(p); });
6315zwp_primary_selection_device_v1_t::zwp_primary_selection_device_v1_t()
6317 set_interface(&zwp_primary_selection_device_v1_interface);
6319 {
return zwp_primary_selection_device_v1_t(p); });
6322zwp_primary_selection_device_v1_t::zwp_primary_selection_device_v1_t(zwp_primary_selection_device_v1 *p, wrapper_type t)
6323 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6326 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6327 set_destroy_opcode(1U);
6329 set_interface(&zwp_primary_selection_device_v1_interface);
6331 {
return zwp_primary_selection_device_v1_t(p); });
6334zwp_primary_selection_device_v1_t::zwp_primary_selection_device_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6335 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6336 set_interface(&zwp_primary_selection_device_v1_interface);
6338 {
return zwp_primary_selection_device_v1_t(p); });
6341zwp_primary_selection_device_v1_t zwp_primary_selection_device_v1_t::proxy_create_wrapper()
6343 return {*
this, construct_proxy_wrapper_tag()};
6346const std::string zwp_primary_selection_device_v1_t::interface_name =
"zwp_primary_selection_device_v1";
6348zwp_primary_selection_device_v1_t::operator zwp_primary_selection_device_v1*()
const
6350 return reinterpret_cast<zwp_primary_selection_device_v1*
> (c_ptr());
6355 marshal(0U, source.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(source.
c_ptr()) :
nullptr, serial);
6360 return std::static_pointer_cast<events_t>(get_events())->data_offer;
6365 return std::static_pointer_cast<events_t>(get_events())->selection;
6368int zwp_primary_selection_device_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6370 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6383zwp_primary_selection_offer_v1_t::zwp_primary_selection_offer_v1_t(
const proxy_t &p)
6388 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6389 set_destroy_opcode(1U);
6391 set_interface(&zwp_primary_selection_offer_v1_interface);
6396zwp_primary_selection_offer_v1_t::zwp_primary_selection_offer_v1_t()
6398 set_interface(&zwp_primary_selection_offer_v1_interface);
6403zwp_primary_selection_offer_v1_t::zwp_primary_selection_offer_v1_t(zwp_primary_selection_offer_v1 *p, wrapper_type t)
6404 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6407 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6408 set_destroy_opcode(1U);
6410 set_interface(&zwp_primary_selection_offer_v1_interface);
6415zwp_primary_selection_offer_v1_t::zwp_primary_selection_offer_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6416 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6417 set_interface(&zwp_primary_selection_offer_v1_interface);
6424 return {*
this, construct_proxy_wrapper_tag()};
6427const std::string zwp_primary_selection_offer_v1_t::interface_name =
"zwp_primary_selection_offer_v1";
6429zwp_primary_selection_offer_v1_t::operator zwp_primary_selection_offer_v1*()
const
6431 return reinterpret_cast<zwp_primary_selection_offer_v1*
> (c_ptr());
6436 marshal(0U, mime_type, argument_t::fd(fd));
6441 return std::static_pointer_cast<events_t>(get_events())->offer;
6444int zwp_primary_selection_offer_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6446 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6450 if(events->offer) events->offer(args[0].get<std::string>());
6456zwp_primary_selection_source_v1_t::zwp_primary_selection_source_v1_t(
const proxy_t &p)
6461 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6462 set_destroy_opcode(1U);
6464 set_interface(&zwp_primary_selection_source_v1_interface);
6469zwp_primary_selection_source_v1_t::zwp_primary_selection_source_v1_t()
6471 set_interface(&zwp_primary_selection_source_v1_interface);
6476zwp_primary_selection_source_v1_t::zwp_primary_selection_source_v1_t(zwp_primary_selection_source_v1 *p, wrapper_type t)
6477 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6480 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6481 set_destroy_opcode(1U);
6483 set_interface(&zwp_primary_selection_source_v1_interface);
6488zwp_primary_selection_source_v1_t::zwp_primary_selection_source_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6489 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6490 set_interface(&zwp_primary_selection_source_v1_interface);
6497 return {*
this, construct_proxy_wrapper_tag()};
6500const std::string zwp_primary_selection_source_v1_t::interface_name =
"zwp_primary_selection_source_v1";
6502zwp_primary_selection_source_v1_t::operator zwp_primary_selection_source_v1*()
const
6504 return reinterpret_cast<zwp_primary_selection_source_v1*
> (c_ptr());
6509 marshal(0U, mime_type);
6514 return std::static_pointer_cast<events_t>(get_events())->send;
6519 return std::static_pointer_cast<events_t>(get_events())->cancelled;
6522int zwp_primary_selection_source_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6524 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6528 if(events->send) events->send(args[0].get<std::string>(), args[1].get<int>());
6531 if(events->cancelled) events->cancelled();
6537zwp_relative_pointer_manager_v1_t::zwp_relative_pointer_manager_v1_t(
const proxy_t &p)
6542 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6543 set_destroy_opcode(0U);
6545 set_interface(&zwp_relative_pointer_manager_v1_interface);
6550zwp_relative_pointer_manager_v1_t::zwp_relative_pointer_manager_v1_t()
6552 set_interface(&zwp_relative_pointer_manager_v1_interface);
6557zwp_relative_pointer_manager_v1_t::zwp_relative_pointer_manager_v1_t(zwp_relative_pointer_manager_v1 *p, wrapper_type t)
6558 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6561 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6562 set_destroy_opcode(0U);
6564 set_interface(&zwp_relative_pointer_manager_v1_interface);
6569zwp_relative_pointer_manager_v1_t::zwp_relative_pointer_manager_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6570 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6571 set_interface(&zwp_relative_pointer_manager_v1_interface);
6578 return {*
this, construct_proxy_wrapper_tag()};
6581const std::string zwp_relative_pointer_manager_v1_t::interface_name =
"zwp_relative_pointer_manager_v1";
6583zwp_relative_pointer_manager_v1_t::operator zwp_relative_pointer_manager_v1*()
const
6585 return reinterpret_cast<zwp_relative_pointer_manager_v1*
> (c_ptr());
6590 proxy_t p = marshal_constructor(1U, &zwp_relative_pointer_v1_interface,
nullptr, pointer.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(pointer.
c_ptr()) :
nullptr);
6594int zwp_relative_pointer_manager_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6599zwp_relative_pointer_v1_t::zwp_relative_pointer_v1_t(
const proxy_t &p)
6604 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6605 set_destroy_opcode(0U);
6607 set_interface(&zwp_relative_pointer_v1_interface);
6612zwp_relative_pointer_v1_t::zwp_relative_pointer_v1_t()
6614 set_interface(&zwp_relative_pointer_v1_interface);
6619zwp_relative_pointer_v1_t::zwp_relative_pointer_v1_t(zwp_relative_pointer_v1 *p, wrapper_type t)
6620 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6623 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6624 set_destroy_opcode(0U);
6626 set_interface(&zwp_relative_pointer_v1_interface);
6631zwp_relative_pointer_v1_t::zwp_relative_pointer_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6632 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6633 set_interface(&zwp_relative_pointer_v1_interface);
6640 return {*
this, construct_proxy_wrapper_tag()};
6643const std::string zwp_relative_pointer_v1_t::interface_name =
"zwp_relative_pointer_v1";
6645zwp_relative_pointer_v1_t::operator zwp_relative_pointer_v1*()
const
6647 return reinterpret_cast<zwp_relative_pointer_v1*
> (c_ptr());
6652 return std::static_pointer_cast<events_t>(get_events())->relative_motion;
6655int zwp_relative_pointer_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6657 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6661 if(events->relative_motion) events->relative_motion(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<double>(), args[3].get<double>(), args[4].get<double>(), args[5].get<double>());
6667zwp_tablet_manager_v1_t::zwp_tablet_manager_v1_t(
const proxy_t &p)
6672 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6673 set_destroy_opcode(1U);
6675 set_interface(&zwp_tablet_manager_v1_interface);
6680zwp_tablet_manager_v1_t::zwp_tablet_manager_v1_t()
6682 set_interface(&zwp_tablet_manager_v1_interface);
6687zwp_tablet_manager_v1_t::zwp_tablet_manager_v1_t(zwp_tablet_manager_v1 *p, wrapper_type t)
6688 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6691 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6692 set_destroy_opcode(1U);
6694 set_interface(&zwp_tablet_manager_v1_interface);
6699zwp_tablet_manager_v1_t::zwp_tablet_manager_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6700 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6701 set_interface(&zwp_tablet_manager_v1_interface);
6708 return {*
this, construct_proxy_wrapper_tag()};
6711const std::string zwp_tablet_manager_v1_t::interface_name =
"zwp_tablet_manager_v1";
6713zwp_tablet_manager_v1_t::operator zwp_tablet_manager_v1*()
const
6715 return reinterpret_cast<zwp_tablet_manager_v1*
> (c_ptr());
6720 proxy_t p = marshal_constructor(0U, &zwp_tablet_seat_v1_interface,
nullptr, seat.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(seat.
c_ptr()) :
nullptr);
6724int zwp_tablet_manager_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6729zwp_tablet_seat_v1_t::zwp_tablet_seat_v1_t(
const proxy_t &p)
6734 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6735 set_destroy_opcode(0U);
6737 set_interface(&zwp_tablet_seat_v1_interface);
6742zwp_tablet_seat_v1_t::zwp_tablet_seat_v1_t()
6744 set_interface(&zwp_tablet_seat_v1_interface);
6749zwp_tablet_seat_v1_t::zwp_tablet_seat_v1_t(zwp_tablet_seat_v1 *p, wrapper_type t)
6750 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6753 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6754 set_destroy_opcode(0U);
6756 set_interface(&zwp_tablet_seat_v1_interface);
6761zwp_tablet_seat_v1_t::zwp_tablet_seat_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6762 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6763 set_interface(&zwp_tablet_seat_v1_interface);
6770 return {*
this, construct_proxy_wrapper_tag()};
6773const std::string zwp_tablet_seat_v1_t::interface_name =
"zwp_tablet_seat_v1";
6775zwp_tablet_seat_v1_t::operator zwp_tablet_seat_v1*()
const
6777 return reinterpret_cast<zwp_tablet_seat_v1*
> (c_ptr());
6782 return std::static_pointer_cast<events_t>(get_events())->tablet_added;
6787 return std::static_pointer_cast<events_t>(get_events())->tool_added;
6790int zwp_tablet_seat_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6792 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6796 if(events->tablet_added) events->tablet_added(
zwp_tablet_v1_t(args[0].get<proxy_t>()));
6805zwp_tablet_tool_v1_t::zwp_tablet_tool_v1_t(
const proxy_t &p)
6810 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6811 set_destroy_opcode(1U);
6813 set_interface(&zwp_tablet_tool_v1_interface);
6818zwp_tablet_tool_v1_t::zwp_tablet_tool_v1_t()
6820 set_interface(&zwp_tablet_tool_v1_interface);
6825zwp_tablet_tool_v1_t::zwp_tablet_tool_v1_t(zwp_tablet_tool_v1 *p, wrapper_type t)
6826 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6829 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6830 set_destroy_opcode(1U);
6832 set_interface(&zwp_tablet_tool_v1_interface);
6837zwp_tablet_tool_v1_t::zwp_tablet_tool_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6838 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6839 set_interface(&zwp_tablet_tool_v1_interface);
6846 return {*
this, construct_proxy_wrapper_tag()};
6849const std::string zwp_tablet_tool_v1_t::interface_name =
"zwp_tablet_tool_v1";
6851zwp_tablet_tool_v1_t::operator zwp_tablet_tool_v1*()
const
6853 return reinterpret_cast<zwp_tablet_tool_v1*
> (c_ptr());
6858 marshal(0U, serial, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr, hotspot_x, hotspot_y);
6863 return std::static_pointer_cast<events_t>(get_events())->type;
6868 return std::static_pointer_cast<events_t>(get_events())->hardware_serial;
6873 return std::static_pointer_cast<events_t>(get_events())->hardware_id_wacom;
6878 return std::static_pointer_cast<events_t>(get_events())->capability;
6883 return std::static_pointer_cast<events_t>(get_events())->done;
6888 return std::static_pointer_cast<events_t>(get_events())->removed;
6893 return std::static_pointer_cast<events_t>(get_events())->proximity_in;
6898 return std::static_pointer_cast<events_t>(get_events())->proximity_out;
6903 return std::static_pointer_cast<events_t>(get_events())->down;
6908 return std::static_pointer_cast<events_t>(get_events())->up;
6913 return std::static_pointer_cast<events_t>(get_events())->motion;
6918 return std::static_pointer_cast<events_t>(get_events())->pressure;
6923 return std::static_pointer_cast<events_t>(get_events())->distance;
6928 return std::static_pointer_cast<events_t>(get_events())->tilt;
6933 return std::static_pointer_cast<events_t>(get_events())->rotation;
6938 return std::static_pointer_cast<events_t>(get_events())->slider;
6943 return std::static_pointer_cast<events_t>(get_events())->wheel;
6948 return std::static_pointer_cast<events_t>(get_events())->button;
6953 return std::static_pointer_cast<events_t>(get_events())->frame;
6956int zwp_tablet_tool_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6958 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6962 if(events->type) events->type(zwp_tablet_tool_v1_type(args[0].get<uint32_t>()));
6965 if(events->hardware_serial) events->hardware_serial(args[0].get<uint32_t>(), args[1].get<uint32_t>());
6968 if(events->hardware_id_wacom) events->hardware_id_wacom(args[0].get<uint32_t>(), args[1].get<uint32_t>());
6971 if(events->capability) events->capability(zwp_tablet_tool_v1_capability(args[0].get<uint32_t>()));
6974 if(events->done) events->done();
6977 if(events->removed) events->removed();
6980 if(events->proximity_in) events->proximity_in(args[0].get<uint32_t>(),
zwp_tablet_v1_t(args[1].get<proxy_t>()),
surface_t(args[2].get<proxy_t>()));
6983 if(events->proximity_out) events->proximity_out();
6986 if(events->down) events->down(args[0].get<uint32_t>());
6989 if(events->up) events->up();
6992 if(events->motion) events->motion(args[0].get<double>(), args[1].get<double>());
6995 if(events->pressure) events->pressure(args[0].get<uint32_t>());
6998 if(events->distance) events->distance(args[0].get<uint32_t>());
7001 if(events->tilt) events->tilt(args[0].get<int32_t>(), args[1].get<int32_t>());
7004 if(events->rotation) events->rotation(args[0].get<int32_t>());
7007 if(events->slider) events->slider(args[0].get<int32_t>());
7010 if(events->wheel) events->wheel(args[0].get<int32_t>(), args[1].get<int32_t>());
7013 if(events->button) events->button(args[0].get<uint32_t>(), args[1].get<uint32_t>(), zwp_tablet_tool_v1_button_state(args[2].get<uint32_t>()));
7016 if(events->frame) events->frame(args[0].get<uint32_t>());
7026zwp_tablet_v1_t::zwp_tablet_v1_t(
const proxy_t &p)
7031 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7032 set_destroy_opcode(0U);
7034 set_interface(&zwp_tablet_v1_interface);
7039zwp_tablet_v1_t::zwp_tablet_v1_t()
7041 set_interface(&zwp_tablet_v1_interface);
7046zwp_tablet_v1_t::zwp_tablet_v1_t(zwp_tablet_v1 *p, wrapper_type t)
7047 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7050 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7051 set_destroy_opcode(0U);
7053 set_interface(&zwp_tablet_v1_interface);
7058zwp_tablet_v1_t::zwp_tablet_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
7059 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7060 set_interface(&zwp_tablet_v1_interface);
7067 return {*
this, construct_proxy_wrapper_tag()};
7070const std::string zwp_tablet_v1_t::interface_name =
"zwp_tablet_v1";
7072zwp_tablet_v1_t::operator zwp_tablet_v1*()
const
7074 return reinterpret_cast<zwp_tablet_v1*
> (c_ptr());
7079 return std::static_pointer_cast<events_t>(get_events())->name;
7084 return std::static_pointer_cast<events_t>(get_events())->id;
7089 return std::static_pointer_cast<events_t>(get_events())->path;
7094 return std::static_pointer_cast<events_t>(get_events())->done;
7099 return std::static_pointer_cast<events_t>(get_events())->removed;
7102int zwp_tablet_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
7104 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7108 if(events->name) events->name(args[0].get<std::string>());
7111 if(events->id) events->id(args[0].get<uint32_t>(), args[1].get<uint32_t>());
7114 if(events->path) events->path(args[0].get<std::string>());
7117 if(events->done) events->done();
7120 if(events->removed) events->removed();
7126zwp_tablet_manager_v2_t::zwp_tablet_manager_v2_t(
const proxy_t &p)
7131 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7132 set_destroy_opcode(1U);
7134 set_interface(&zwp_tablet_manager_v2_interface);
7139zwp_tablet_manager_v2_t::zwp_tablet_manager_v2_t()
7141 set_interface(&zwp_tablet_manager_v2_interface);
7146zwp_tablet_manager_v2_t::zwp_tablet_manager_v2_t(zwp_tablet_manager_v2 *p, wrapper_type t)
7147 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7150 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7151 set_destroy_opcode(1U);
7153 set_interface(&zwp_tablet_manager_v2_interface);
7158zwp_tablet_manager_v2_t::zwp_tablet_manager_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
7159 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7160 set_interface(&zwp_tablet_manager_v2_interface);
7167 return {*
this, construct_proxy_wrapper_tag()};
7170const std::string zwp_tablet_manager_v2_t::interface_name =
"zwp_tablet_manager_v2";
7172zwp_tablet_manager_v2_t::operator zwp_tablet_manager_v2*()
const
7174 return reinterpret_cast<zwp_tablet_manager_v2*
> (c_ptr());
7179 proxy_t p = marshal_constructor(0U, &zwp_tablet_seat_v2_interface,
nullptr, seat.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(seat.
c_ptr()) :
nullptr);
7183int zwp_tablet_manager_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
7188zwp_tablet_seat_v2_t::zwp_tablet_seat_v2_t(
const proxy_t &p)
7193 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7194 set_destroy_opcode(0U);
7196 set_interface(&zwp_tablet_seat_v2_interface);
7201zwp_tablet_seat_v2_t::zwp_tablet_seat_v2_t()
7203 set_interface(&zwp_tablet_seat_v2_interface);
7208zwp_tablet_seat_v2_t::zwp_tablet_seat_v2_t(zwp_tablet_seat_v2 *p, wrapper_type t)
7209 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7212 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7213 set_destroy_opcode(0U);
7215 set_interface(&zwp_tablet_seat_v2_interface);
7220zwp_tablet_seat_v2_t::zwp_tablet_seat_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
7221 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7222 set_interface(&zwp_tablet_seat_v2_interface);
7229 return {*
this, construct_proxy_wrapper_tag()};
7232const std::string zwp_tablet_seat_v2_t::interface_name =
"zwp_tablet_seat_v2";
7234zwp_tablet_seat_v2_t::operator zwp_tablet_seat_v2*()
const
7236 return reinterpret_cast<zwp_tablet_seat_v2*
> (c_ptr());
7241 return std::static_pointer_cast<events_t>(get_events())->tablet_added;
7246 return std::static_pointer_cast<events_t>(get_events())->tool_added;
7251 return std::static_pointer_cast<events_t>(get_events())->pad_added;
7254int zwp_tablet_seat_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
7256 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7260 if(events->tablet_added) events->tablet_added(
zwp_tablet_v2_t(args[0].get<proxy_t>()));
7272zwp_tablet_tool_v2_t::zwp_tablet_tool_v2_t(
const proxy_t &p)
7277 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7278 set_destroy_opcode(1U);
7280 set_interface(&zwp_tablet_tool_v2_interface);
7285zwp_tablet_tool_v2_t::zwp_tablet_tool_v2_t()
7287 set_interface(&zwp_tablet_tool_v2_interface);
7292zwp_tablet_tool_v2_t::zwp_tablet_tool_v2_t(zwp_tablet_tool_v2 *p, wrapper_type t)
7293 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7296 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7297 set_destroy_opcode(1U);
7299 set_interface(&zwp_tablet_tool_v2_interface);
7304zwp_tablet_tool_v2_t::zwp_tablet_tool_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
7305 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7306 set_interface(&zwp_tablet_tool_v2_interface);
7313 return {*
this, construct_proxy_wrapper_tag()};
7316const std::string zwp_tablet_tool_v2_t::interface_name =
"zwp_tablet_tool_v2";
7318zwp_tablet_tool_v2_t::operator zwp_tablet_tool_v2*()
const
7320 return reinterpret_cast<zwp_tablet_tool_v2*
> (c_ptr());
7325 marshal(0U, serial, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr, hotspot_x, hotspot_y);
7330 return std::static_pointer_cast<events_t>(get_events())->type;
7335 return std::static_pointer_cast<events_t>(get_events())->hardware_serial;
7340 return std::static_pointer_cast<events_t>(get_events())->hardware_id_wacom;
7345 return std::static_pointer_cast<events_t>(get_events())->capability;
7350 return std::static_pointer_cast<events_t>(get_events())->done;
7355 return std::static_pointer_cast<events_t>(get_events())->removed;
7360 return std::static_pointer_cast<events_t>(get_events())->proximity_in;
7365 return std::static_pointer_cast<events_t>(get_events())->proximity_out;
7370 return std::static_pointer_cast<events_t>(get_events())->down;
7375 return std::static_pointer_cast<events_t>(get_events())->up;
7380 return std::static_pointer_cast<events_t>(get_events())->motion;
7385 return std::static_pointer_cast<events_t>(get_events())->pressure;
7390 return std::static_pointer_cast<events_t>(get_events())->distance;
7395 return std::static_pointer_cast<events_t>(get_events())->tilt;
7400 return std::static_pointer_cast<events_t>(get_events())->rotation;
7405 return std::static_pointer_cast<events_t>(get_events())->slider;
7410 return std::static_pointer_cast<events_t>(get_events())->wheel;
7415 return std::static_pointer_cast<events_t>(get_events())->button;
7420 return std::static_pointer_cast<events_t>(get_events())->frame;
7423int zwp_tablet_tool_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
7425 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7429 if(events->type) events->type(zwp_tablet_tool_v2_type(args[0].get<uint32_t>()));
7432 if(events->hardware_serial) events->hardware_serial(args[0].get<uint32_t>(), args[1].get<uint32_t>());
7435 if(events->hardware_id_wacom) events->hardware_id_wacom(args[0].get<uint32_t>(), args[1].get<uint32_t>());
7438 if(events->capability) events->capability(zwp_tablet_tool_v2_capability(args[0].get<uint32_t>()));
7441 if(events->done) events->done();
7444 if(events->removed) events->removed();
7447 if(events->proximity_in) events->proximity_in(args[0].get<uint32_t>(),
zwp_tablet_v2_t(args[1].get<proxy_t>()),
surface_t(args[2].get<proxy_t>()));
7450 if(events->proximity_out) events->proximity_out();
7453 if(events->down) events->down(args[0].get<uint32_t>());
7456 if(events->up) events->up();
7459 if(events->motion) events->motion(args[0].get<double>(), args[1].get<double>());
7462 if(events->pressure) events->pressure(args[0].get<uint32_t>());
7465 if(events->distance) events->distance(args[0].get<uint32_t>());
7468 if(events->tilt) events->tilt(args[0].get<double>(), args[1].get<double>());
7471 if(events->rotation) events->rotation(args[0].get<double>());
7474 if(events->slider) events->slider(args[0].get<int32_t>());
7477 if(events->wheel) events->wheel(args[0].get<double>(), args[1].get<int32_t>());
7480 if(events->button) events->button(args[0].get<uint32_t>(), args[1].get<uint32_t>(), zwp_tablet_tool_v2_button_state(args[2].get<uint32_t>()));
7483 if(events->frame) events->frame(args[0].get<uint32_t>());
7493zwp_tablet_v2_t::zwp_tablet_v2_t(
const proxy_t &p)
7498 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7499 set_destroy_opcode(0U);
7501 set_interface(&zwp_tablet_v2_interface);
7506zwp_tablet_v2_t::zwp_tablet_v2_t()
7508 set_interface(&zwp_tablet_v2_interface);
7513zwp_tablet_v2_t::zwp_tablet_v2_t(zwp_tablet_v2 *p, wrapper_type t)
7514 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7517 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7518 set_destroy_opcode(0U);
7520 set_interface(&zwp_tablet_v2_interface);
7525zwp_tablet_v2_t::zwp_tablet_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
7526 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7527 set_interface(&zwp_tablet_v2_interface);
7534 return {*
this, construct_proxy_wrapper_tag()};
7537const std::string zwp_tablet_v2_t::interface_name =
"zwp_tablet_v2";
7539zwp_tablet_v2_t::operator zwp_tablet_v2*()
const
7541 return reinterpret_cast<zwp_tablet_v2*
> (c_ptr());
7546 return std::static_pointer_cast<events_t>(get_events())->name;
7551 return std::static_pointer_cast<events_t>(get_events())->id;
7556 return std::static_pointer_cast<events_t>(get_events())->path;
7561 return std::static_pointer_cast<events_t>(get_events())->done;
7566 return std::static_pointer_cast<events_t>(get_events())->removed;
7569int zwp_tablet_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
7571 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7575 if(events->name) events->name(args[0].get<std::string>());
7578 if(events->id) events->id(args[0].get<uint32_t>(), args[1].get<uint32_t>());
7581 if(events->path) events->path(args[0].get<std::string>());
7584 if(events->done) events->done();
7587 if(events->removed) events->removed();
7593zwp_tablet_pad_ring_v2_t::zwp_tablet_pad_ring_v2_t(
const proxy_t &p)
7598 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7599 set_destroy_opcode(1U);
7601 set_interface(&zwp_tablet_pad_ring_v2_interface);
7606zwp_tablet_pad_ring_v2_t::zwp_tablet_pad_ring_v2_t()
7608 set_interface(&zwp_tablet_pad_ring_v2_interface);
7613zwp_tablet_pad_ring_v2_t::zwp_tablet_pad_ring_v2_t(zwp_tablet_pad_ring_v2 *p, wrapper_type t)
7614 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7617 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7618 set_destroy_opcode(1U);
7620 set_interface(&zwp_tablet_pad_ring_v2_interface);
7625zwp_tablet_pad_ring_v2_t::zwp_tablet_pad_ring_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
7626 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7627 set_interface(&zwp_tablet_pad_ring_v2_interface);
7634 return {*
this, construct_proxy_wrapper_tag()};
7637const std::string zwp_tablet_pad_ring_v2_t::interface_name =
"zwp_tablet_pad_ring_v2";
7639zwp_tablet_pad_ring_v2_t::operator zwp_tablet_pad_ring_v2*()
const
7641 return reinterpret_cast<zwp_tablet_pad_ring_v2*
> (c_ptr());
7646 marshal(0U, description, serial);
7651 return std::static_pointer_cast<events_t>(get_events())->source;
7656 return std::static_pointer_cast<events_t>(get_events())->angle;
7661 return std::static_pointer_cast<events_t>(get_events())->stop;
7666 return std::static_pointer_cast<events_t>(get_events())->frame;
7669int zwp_tablet_pad_ring_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
7671 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7675 if(events->source) events->source(zwp_tablet_pad_ring_v2_source(args[0].get<uint32_t>()));
7678 if(events->angle) events->angle(args[0].get<double>());
7681 if(events->stop) events->stop();
7684 if(events->frame) events->frame(args[0].get<uint32_t>());
7691zwp_tablet_pad_strip_v2_t::zwp_tablet_pad_strip_v2_t(
const proxy_t &p)
7696 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7697 set_destroy_opcode(1U);
7699 set_interface(&zwp_tablet_pad_strip_v2_interface);
7704zwp_tablet_pad_strip_v2_t::zwp_tablet_pad_strip_v2_t()
7706 set_interface(&zwp_tablet_pad_strip_v2_interface);
7711zwp_tablet_pad_strip_v2_t::zwp_tablet_pad_strip_v2_t(zwp_tablet_pad_strip_v2 *p, wrapper_type t)
7712 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7715 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7716 set_destroy_opcode(1U);
7718 set_interface(&zwp_tablet_pad_strip_v2_interface);
7723zwp_tablet_pad_strip_v2_t::zwp_tablet_pad_strip_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
7724 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7725 set_interface(&zwp_tablet_pad_strip_v2_interface);
7732 return {*
this, construct_proxy_wrapper_tag()};
7735const std::string zwp_tablet_pad_strip_v2_t::interface_name =
"zwp_tablet_pad_strip_v2";
7737zwp_tablet_pad_strip_v2_t::operator zwp_tablet_pad_strip_v2*()
const
7739 return reinterpret_cast<zwp_tablet_pad_strip_v2*
> (c_ptr());
7744 marshal(0U, description, serial);
7749 return std::static_pointer_cast<events_t>(get_events())->source;
7754 return std::static_pointer_cast<events_t>(get_events())->position;
7759 return std::static_pointer_cast<events_t>(get_events())->stop;
7764 return std::static_pointer_cast<events_t>(get_events())->frame;
7767int zwp_tablet_pad_strip_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
7769 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7773 if(events->source) events->source(zwp_tablet_pad_strip_v2_source(args[0].get<uint32_t>()));
7776 if(events->position) events->position(args[0].get<uint32_t>());
7779 if(events->stop) events->stop();
7782 if(events->frame) events->frame(args[0].get<uint32_t>());
7789zwp_tablet_pad_group_v2_t::zwp_tablet_pad_group_v2_t(
const proxy_t &p)
7794 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7795 set_destroy_opcode(0U);
7797 set_interface(&zwp_tablet_pad_group_v2_interface);
7802zwp_tablet_pad_group_v2_t::zwp_tablet_pad_group_v2_t()
7804 set_interface(&zwp_tablet_pad_group_v2_interface);
7809zwp_tablet_pad_group_v2_t::zwp_tablet_pad_group_v2_t(zwp_tablet_pad_group_v2 *p, wrapper_type t)
7810 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7813 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7814 set_destroy_opcode(0U);
7816 set_interface(&zwp_tablet_pad_group_v2_interface);
7821zwp_tablet_pad_group_v2_t::zwp_tablet_pad_group_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
7822 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7823 set_interface(&zwp_tablet_pad_group_v2_interface);
7830 return {*
this, construct_proxy_wrapper_tag()};
7833const std::string zwp_tablet_pad_group_v2_t::interface_name =
"zwp_tablet_pad_group_v2";
7835zwp_tablet_pad_group_v2_t::operator zwp_tablet_pad_group_v2*()
const
7837 return reinterpret_cast<zwp_tablet_pad_group_v2*
> (c_ptr());
7842 return std::static_pointer_cast<events_t>(get_events())->buttons;
7847 return std::static_pointer_cast<events_t>(get_events())->ring;
7852 return std::static_pointer_cast<events_t>(get_events())->strip;
7857 return std::static_pointer_cast<events_t>(get_events())->modes;
7862 return std::static_pointer_cast<events_t>(get_events())->done;
7867 return std::static_pointer_cast<events_t>(get_events())->mode_switch;
7870int zwp_tablet_pad_group_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
7872 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7876 if(events->buttons) events->buttons(args[0].get<array_t>());
7885 if(events->modes) events->modes(args[0].get<uint32_t>());
7888 if(events->done) events->done();
7891 if(events->mode_switch) events->mode_switch(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<uint32_t>());
7897zwp_tablet_pad_v2_t::zwp_tablet_pad_v2_t(
const proxy_t &p)
7902 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7903 set_destroy_opcode(1U);
7905 set_interface(&zwp_tablet_pad_v2_interface);
7910zwp_tablet_pad_v2_t::zwp_tablet_pad_v2_t()
7912 set_interface(&zwp_tablet_pad_v2_interface);
7917zwp_tablet_pad_v2_t::zwp_tablet_pad_v2_t(zwp_tablet_pad_v2 *p, wrapper_type t)
7918 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7921 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7922 set_destroy_opcode(1U);
7924 set_interface(&zwp_tablet_pad_v2_interface);
7929zwp_tablet_pad_v2_t::zwp_tablet_pad_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
7930 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7931 set_interface(&zwp_tablet_pad_v2_interface);
7938 return {*
this, construct_proxy_wrapper_tag()};
7941const std::string zwp_tablet_pad_v2_t::interface_name =
"zwp_tablet_pad_v2";
7943zwp_tablet_pad_v2_t::operator zwp_tablet_pad_v2*()
const
7945 return reinterpret_cast<zwp_tablet_pad_v2*
> (c_ptr());
7950 marshal(0U, button, description, serial);
7955 return std::static_pointer_cast<events_t>(get_events())->group;
7960 return std::static_pointer_cast<events_t>(get_events())->path;
7965 return std::static_pointer_cast<events_t>(get_events())->buttons;
7970 return std::static_pointer_cast<events_t>(get_events())->done;
7975 return std::static_pointer_cast<events_t>(get_events())->button;
7980 return std::static_pointer_cast<events_t>(get_events())->enter;
7985 return std::static_pointer_cast<events_t>(get_events())->leave;
7990 return std::static_pointer_cast<events_t>(get_events())->removed;
7993int zwp_tablet_pad_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
7995 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
8002 if(events->path) events->path(args[0].get<std::string>());
8005 if(events->buttons) events->buttons(args[0].get<uint32_t>());
8008 if(events->done) events->done();
8011 if(events->button) events->button(args[0].get<uint32_t>(), args[1].get<uint32_t>(), zwp_tablet_pad_v2_button_state(args[2].get<uint32_t>()));
8014 if(events->enter) events->enter(args[0].get<uint32_t>(),
zwp_tablet_v2_t(args[1].get<proxy_t>()),
surface_t(args[2].get<proxy_t>()));
8017 if(events->leave) events->leave(args[0].get<uint32_t>(),
surface_t(args[1].get<proxy_t>()));
8020 if(events->removed) events->removed();
8027zwp_text_input_v1_t::zwp_text_input_v1_t(
const proxy_t &p)
8032 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8034 set_interface(&zwp_text_input_v1_interface);
8039zwp_text_input_v1_t::zwp_text_input_v1_t()
8041 set_interface(&zwp_text_input_v1_interface);
8046zwp_text_input_v1_t::zwp_text_input_v1_t(zwp_text_input_v1 *p, wrapper_type t)
8047 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8050 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8052 set_interface(&zwp_text_input_v1_interface);
8057zwp_text_input_v1_t::zwp_text_input_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
8058 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8059 set_interface(&zwp_text_input_v1_interface);
8066 return {*
this, construct_proxy_wrapper_tag()};
8069const std::string zwp_text_input_v1_t::interface_name =
"zwp_text_input_v1";
8071zwp_text_input_v1_t::operator zwp_text_input_v1*()
const
8073 return reinterpret_cast<zwp_text_input_v1*
> (c_ptr());
8103 marshal(5U, text, cursor, anchor);
8108 marshal(6U,
static_cast<uint32_t
>(hint),
static_cast<uint32_t
>(purpose));
8113 marshal(7U, x, y, width, height);
8118 marshal(8U, language);
8123 marshal(9U, serial);
8128 marshal(10U, button, index);
8133 return std::static_pointer_cast<events_t>(get_events())->enter;
8138 return std::static_pointer_cast<events_t>(get_events())->leave;
8143 return std::static_pointer_cast<events_t>(get_events())->modifiers_map;
8148 return std::static_pointer_cast<events_t>(get_events())->input_panel_state;
8153 return std::static_pointer_cast<events_t>(get_events())->preedit_string;
8158 return std::static_pointer_cast<events_t>(get_events())->preedit_styling;
8163 return std::static_pointer_cast<events_t>(get_events())->preedit_cursor;
8168 return std::static_pointer_cast<events_t>(get_events())->commit_string;
8173 return std::static_pointer_cast<events_t>(get_events())->cursor_position;
8178 return std::static_pointer_cast<events_t>(get_events())->delete_surrounding_text;
8183 return std::static_pointer_cast<events_t>(get_events())->keysym;
8188 return std::static_pointer_cast<events_t>(get_events())->language;
8193 return std::static_pointer_cast<events_t>(get_events())->text_direction;
8196int zwp_text_input_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
8198 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
8202 if(events->enter) events->enter(
surface_t(args[0].get<proxy_t>()));
8205 if(events->leave) events->leave();
8208 if(events->modifiers_map) events->modifiers_map(args[0].get<array_t>());
8211 if(events->input_panel_state) events->input_panel_state(args[0].get<uint32_t>());
8214 if(events->preedit_string) events->preedit_string(args[0].get<uint32_t>(), args[1].get<std::string>(), args[2].get<std::string>());
8217 if(events->preedit_styling) events->preedit_styling(args[0].get<uint32_t>(), args[1].get<uint32_t>(), zwp_text_input_v1_preedit_style(args[2].get<uint32_t>()));
8220 if(events->preedit_cursor) events->preedit_cursor(args[0].get<int32_t>());
8223 if(events->commit_string) events->commit_string(args[0].get<uint32_t>(), args[1].get<std::string>());
8226 if(events->cursor_position) events->cursor_position(args[0].get<int32_t>(), args[1].get<int32_t>());
8229 if(events->delete_surrounding_text) events->delete_surrounding_text(args[0].get<int32_t>(), args[1].get<uint32_t>());
8232 if(events->keysym) events->keysym(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<uint32_t>(), keyboard_key_state(args[3].get<uint32_t>()), args[4].get<uint32_t>());
8235 if(events->language) events->language(args[0].get<uint32_t>(), args[1].get<std::string>());
8238 if(events->text_direction) events->text_direction(args[0].get<uint32_t>(), zwp_text_input_v1_text_direction(args[1].get<uint32_t>()));
8261zwp_text_input_manager_v1_t::zwp_text_input_manager_v1_t(
const proxy_t &p)
8266 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8268 set_interface(&zwp_text_input_manager_v1_interface);
8273zwp_text_input_manager_v1_t::zwp_text_input_manager_v1_t()
8275 set_interface(&zwp_text_input_manager_v1_interface);
8280zwp_text_input_manager_v1_t::zwp_text_input_manager_v1_t(zwp_text_input_manager_v1 *p, wrapper_type t)
8281 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8284 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8286 set_interface(&zwp_text_input_manager_v1_interface);
8291zwp_text_input_manager_v1_t::zwp_text_input_manager_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
8292 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8293 set_interface(&zwp_text_input_manager_v1_interface);
8300 return {*
this, construct_proxy_wrapper_tag()};
8303const std::string zwp_text_input_manager_v1_t::interface_name =
"zwp_text_input_manager_v1";
8305zwp_text_input_manager_v1_t::operator zwp_text_input_manager_v1*()
const
8307 return reinterpret_cast<zwp_text_input_manager_v1*
> (c_ptr());
8312 proxy_t p = marshal_constructor(0U, &zwp_text_input_v1_interface,
nullptr);
8316int zwp_text_input_manager_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
8321zwp_text_input_v3_t::zwp_text_input_v3_t(
const proxy_t &p)
8326 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8327 set_destroy_opcode(0U);
8329 set_interface(&zwp_text_input_v3_interface);
8334zwp_text_input_v3_t::zwp_text_input_v3_t()
8336 set_interface(&zwp_text_input_v3_interface);
8341zwp_text_input_v3_t::zwp_text_input_v3_t(zwp_text_input_v3 *p, wrapper_type t)
8342 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8345 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8346 set_destroy_opcode(0U);
8348 set_interface(&zwp_text_input_v3_interface);
8353zwp_text_input_v3_t::zwp_text_input_v3_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
8354 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8355 set_interface(&zwp_text_input_v3_interface);
8362 return {*
this, construct_proxy_wrapper_tag()};
8365const std::string zwp_text_input_v3_t::interface_name =
"zwp_text_input_v3";
8367zwp_text_input_v3_t::operator zwp_text_input_v3*()
const
8369 return reinterpret_cast<zwp_text_input_v3*
> (c_ptr());
8384 marshal(3U, text, cursor, anchor);
8389 marshal(4U,
static_cast<uint32_t
>(cause));
8394 marshal(5U,
static_cast<uint32_t
>(hint),
static_cast<uint32_t
>(purpose));
8399 marshal(6U, x, y, width, height);
8409 return std::static_pointer_cast<events_t>(get_events())->enter;
8414 return std::static_pointer_cast<events_t>(get_events())->leave;
8419 return std::static_pointer_cast<events_t>(get_events())->preedit_string;
8424 return std::static_pointer_cast<events_t>(get_events())->commit_string;
8429 return std::static_pointer_cast<events_t>(get_events())->delete_surrounding_text;
8434 return std::static_pointer_cast<events_t>(get_events())->done;
8437int zwp_text_input_v3_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
8439 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
8443 if(events->enter) events->enter(
surface_t(args[0].get<proxy_t>()));
8446 if(events->leave) events->leave(
surface_t(args[0].get<proxy_t>()));
8449 if(events->preedit_string) events->preedit_string(args[0].get<std::string>(), args[1].get<int32_t>(), args[2].get<int32_t>());
8452 if(events->commit_string) events->commit_string(args[0].get<std::string>());
8455 if(events->delete_surrounding_text) events->delete_surrounding_text(args[0].get<uint32_t>(), args[1].get<uint32_t>());
8458 if(events->done) events->done(args[0].get<uint32_t>());
8478zwp_text_input_manager_v3_t::zwp_text_input_manager_v3_t(
const proxy_t &p)
8483 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8484 set_destroy_opcode(0U);
8486 set_interface(&zwp_text_input_manager_v3_interface);
8491zwp_text_input_manager_v3_t::zwp_text_input_manager_v3_t()
8493 set_interface(&zwp_text_input_manager_v3_interface);
8498zwp_text_input_manager_v3_t::zwp_text_input_manager_v3_t(zwp_text_input_manager_v3 *p, wrapper_type t)
8499 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8502 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8503 set_destroy_opcode(0U);
8505 set_interface(&zwp_text_input_manager_v3_interface);
8510zwp_text_input_manager_v3_t::zwp_text_input_manager_v3_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
8511 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8512 set_interface(&zwp_text_input_manager_v3_interface);
8519 return {*
this, construct_proxy_wrapper_tag()};
8522const std::string zwp_text_input_manager_v3_t::interface_name =
"zwp_text_input_manager_v3";
8524zwp_text_input_manager_v3_t::operator zwp_text_input_manager_v3*()
const
8526 return reinterpret_cast<zwp_text_input_manager_v3*
> (c_ptr());
8531 proxy_t p = marshal_constructor(1U, &zwp_text_input_v3_interface,
nullptr, seat.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(seat.
c_ptr()) :
nullptr);
8535int zwp_text_input_manager_v3_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
8540xdg_activation_v1_t::xdg_activation_v1_t(
const proxy_t &p)
8545 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8546 set_destroy_opcode(0U);
8548 set_interface(&xdg_activation_v1_interface);
8553xdg_activation_v1_t::xdg_activation_v1_t()
8555 set_interface(&xdg_activation_v1_interface);
8560xdg_activation_v1_t::xdg_activation_v1_t(xdg_activation_v1 *p, wrapper_type t)
8561 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8564 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8565 set_destroy_opcode(0U);
8567 set_interface(&xdg_activation_v1_interface);
8572xdg_activation_v1_t::xdg_activation_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
8573 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8574 set_interface(&xdg_activation_v1_interface);
8581 return {*
this, construct_proxy_wrapper_tag()};
8584const std::string xdg_activation_v1_t::interface_name =
"xdg_activation_v1";
8586xdg_activation_v1_t::operator xdg_activation_v1*()
const
8588 return reinterpret_cast<xdg_activation_v1*
> (c_ptr());
8593 proxy_t p = marshal_constructor(1U, &xdg_activation_token_v1_interface,
nullptr);
8599 marshal(2U, token, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr);
8602int xdg_activation_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
8607xdg_activation_token_v1_t::xdg_activation_token_v1_t(
const proxy_t &p)
8612 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8613 set_destroy_opcode(4U);
8615 set_interface(&xdg_activation_token_v1_interface);
8620xdg_activation_token_v1_t::xdg_activation_token_v1_t()
8622 set_interface(&xdg_activation_token_v1_interface);
8627xdg_activation_token_v1_t::xdg_activation_token_v1_t(xdg_activation_token_v1 *p, wrapper_type t)
8628 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8631 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8632 set_destroy_opcode(4U);
8634 set_interface(&xdg_activation_token_v1_interface);
8639xdg_activation_token_v1_t::xdg_activation_token_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
8640 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8641 set_interface(&xdg_activation_token_v1_interface);
8648 return {*
this, construct_proxy_wrapper_tag()};
8651const std::string xdg_activation_token_v1_t::interface_name =
"xdg_activation_token_v1";
8653xdg_activation_token_v1_t::operator xdg_activation_token_v1*()
const
8655 return reinterpret_cast<xdg_activation_token_v1*
> (c_ptr());
8660 marshal(0U, serial, seat.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(seat.
c_ptr()) :
nullptr);
8665 marshal(1U, app_id);
8680 return std::static_pointer_cast<events_t>(get_events())->done;
8683int xdg_activation_token_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
8685 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
8689 if(events->done) events->done(args[0].get<std::string>());
8696zxdg_decoration_manager_v1_t::zxdg_decoration_manager_v1_t(
const proxy_t &p)
8701 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8702 set_destroy_opcode(0U);
8704 set_interface(&zxdg_decoration_manager_v1_interface);
8709zxdg_decoration_manager_v1_t::zxdg_decoration_manager_v1_t()
8711 set_interface(&zxdg_decoration_manager_v1_interface);
8716zxdg_decoration_manager_v1_t::zxdg_decoration_manager_v1_t(zxdg_decoration_manager_v1 *p, wrapper_type t)
8717 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8720 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8721 set_destroy_opcode(0U);
8723 set_interface(&zxdg_decoration_manager_v1_interface);
8728zxdg_decoration_manager_v1_t::zxdg_decoration_manager_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
8729 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8730 set_interface(&zxdg_decoration_manager_v1_interface);
8737 return {*
this, construct_proxy_wrapper_tag()};
8740const std::string zxdg_decoration_manager_v1_t::interface_name =
"zxdg_decoration_manager_v1";
8742zxdg_decoration_manager_v1_t::operator zxdg_decoration_manager_v1*()
const
8744 return reinterpret_cast<zxdg_decoration_manager_v1*
> (c_ptr());
8749 proxy_t p = marshal_constructor(1U, &zxdg_toplevel_decoration_v1_interface,
nullptr, toplevel.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(toplevel.
c_ptr()) :
nullptr);
8753int zxdg_decoration_manager_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
8758zxdg_toplevel_decoration_v1_t::zxdg_toplevel_decoration_v1_t(
const proxy_t &p)
8763 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8764 set_destroy_opcode(0U);
8766 set_interface(&zxdg_toplevel_decoration_v1_interface);
8771zxdg_toplevel_decoration_v1_t::zxdg_toplevel_decoration_v1_t()
8773 set_interface(&zxdg_toplevel_decoration_v1_interface);
8778zxdg_toplevel_decoration_v1_t::zxdg_toplevel_decoration_v1_t(zxdg_toplevel_decoration_v1 *p, wrapper_type t)
8779 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8782 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8783 set_destroy_opcode(0U);
8785 set_interface(&zxdg_toplevel_decoration_v1_interface);
8790zxdg_toplevel_decoration_v1_t::zxdg_toplevel_decoration_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
8791 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8792 set_interface(&zxdg_toplevel_decoration_v1_interface);
8799 return {*
this, construct_proxy_wrapper_tag()};
8802const std::string zxdg_toplevel_decoration_v1_t::interface_name =
"zxdg_toplevel_decoration_v1";
8804zxdg_toplevel_decoration_v1_t::operator zxdg_toplevel_decoration_v1*()
const
8806 return reinterpret_cast<zxdg_toplevel_decoration_v1*
> (c_ptr());
8811 marshal(1U,
static_cast<uint32_t
>(mode));
8821 return std::static_pointer_cast<events_t>(get_events())->configure;
8824int zxdg_toplevel_decoration_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
8826 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
8830 if(events->configure) events->configure(zxdg_toplevel_decoration_v1_mode(args[0].get<uint32_t>()));
8838zxdg_exporter_v1_t::zxdg_exporter_v1_t(
const proxy_t &p)
8843 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8844 set_destroy_opcode(0U);
8846 set_interface(&zxdg_exporter_v1_interface);
8851zxdg_exporter_v1_t::zxdg_exporter_v1_t()
8853 set_interface(&zxdg_exporter_v1_interface);
8858zxdg_exporter_v1_t::zxdg_exporter_v1_t(zxdg_exporter_v1 *p, wrapper_type t)
8859 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8862 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8863 set_destroy_opcode(0U);
8865 set_interface(&zxdg_exporter_v1_interface);
8870zxdg_exporter_v1_t::zxdg_exporter_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
8871 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8872 set_interface(&zxdg_exporter_v1_interface);
8879 return {*
this, construct_proxy_wrapper_tag()};
8882const std::string zxdg_exporter_v1_t::interface_name =
"zxdg_exporter_v1";
8884zxdg_exporter_v1_t::operator zxdg_exporter_v1*()
const
8886 return reinterpret_cast<zxdg_exporter_v1*
> (c_ptr());
8891 proxy_t p = marshal_constructor(1U, &zxdg_exported_v1_interface,
nullptr, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr);
8895int zxdg_exporter_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
8900zxdg_importer_v1_t::zxdg_importer_v1_t(
const proxy_t &p)
8905 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8906 set_destroy_opcode(0U);
8908 set_interface(&zxdg_importer_v1_interface);
8913zxdg_importer_v1_t::zxdg_importer_v1_t()
8915 set_interface(&zxdg_importer_v1_interface);
8920zxdg_importer_v1_t::zxdg_importer_v1_t(zxdg_importer_v1 *p, wrapper_type t)
8921 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8924 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8925 set_destroy_opcode(0U);
8927 set_interface(&zxdg_importer_v1_interface);
8932zxdg_importer_v1_t::zxdg_importer_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
8933 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8934 set_interface(&zxdg_importer_v1_interface);
8941 return {*
this, construct_proxy_wrapper_tag()};
8944const std::string zxdg_importer_v1_t::interface_name =
"zxdg_importer_v1";
8946zxdg_importer_v1_t::operator zxdg_importer_v1*()
const
8948 return reinterpret_cast<zxdg_importer_v1*
> (c_ptr());
8953 proxy_t p = marshal_constructor(1U, &zxdg_imported_v1_interface,
nullptr, handle);
8957int zxdg_importer_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
8962zxdg_exported_v1_t::zxdg_exported_v1_t(
const proxy_t &p)
8967 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8968 set_destroy_opcode(0U);
8970 set_interface(&zxdg_exported_v1_interface);
8975zxdg_exported_v1_t::zxdg_exported_v1_t()
8977 set_interface(&zxdg_exported_v1_interface);
8982zxdg_exported_v1_t::zxdg_exported_v1_t(zxdg_exported_v1 *p, wrapper_type t)
8983 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8986 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8987 set_destroy_opcode(0U);
8989 set_interface(&zxdg_exported_v1_interface);
8994zxdg_exported_v1_t::zxdg_exported_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
8995 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8996 set_interface(&zxdg_exported_v1_interface);
9003 return {*
this, construct_proxy_wrapper_tag()};
9006const std::string zxdg_exported_v1_t::interface_name =
"zxdg_exported_v1";
9008zxdg_exported_v1_t::operator zxdg_exported_v1*()
const
9010 return reinterpret_cast<zxdg_exported_v1*
> (c_ptr());
9015 return std::static_pointer_cast<events_t>(get_events())->handle;
9018int zxdg_exported_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9020 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
9024 if(events->handle) events->handle(args[0].get<std::string>());
9030zxdg_imported_v1_t::zxdg_imported_v1_t(
const proxy_t &p)
9035 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9036 set_destroy_opcode(0U);
9038 set_interface(&zxdg_imported_v1_interface);
9043zxdg_imported_v1_t::zxdg_imported_v1_t()
9045 set_interface(&zxdg_imported_v1_interface);
9050zxdg_imported_v1_t::zxdg_imported_v1_t(zxdg_imported_v1 *p, wrapper_type t)
9051 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9054 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9055 set_destroy_opcode(0U);
9057 set_interface(&zxdg_imported_v1_interface);
9062zxdg_imported_v1_t::zxdg_imported_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9063 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9064 set_interface(&zxdg_imported_v1_interface);
9071 return {*
this, construct_proxy_wrapper_tag()};
9074const std::string zxdg_imported_v1_t::interface_name =
"zxdg_imported_v1";
9076zxdg_imported_v1_t::operator zxdg_imported_v1*()
const
9078 return reinterpret_cast<zxdg_imported_v1*
> (c_ptr());
9088 return std::static_pointer_cast<events_t>(get_events())->destroyed;
9091int zxdg_imported_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9093 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
9097 if(events->destroyed) events->destroyed();
9103zxdg_exporter_v2_t::zxdg_exporter_v2_t(
const proxy_t &p)
9108 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9109 set_destroy_opcode(0U);
9111 set_interface(&zxdg_exporter_v2_interface);
9116zxdg_exporter_v2_t::zxdg_exporter_v2_t()
9118 set_interface(&zxdg_exporter_v2_interface);
9123zxdg_exporter_v2_t::zxdg_exporter_v2_t(zxdg_exporter_v2 *p, wrapper_type t)
9124 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9127 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9128 set_destroy_opcode(0U);
9130 set_interface(&zxdg_exporter_v2_interface);
9135zxdg_exporter_v2_t::zxdg_exporter_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9136 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9137 set_interface(&zxdg_exporter_v2_interface);
9144 return {*
this, construct_proxy_wrapper_tag()};
9147const std::string zxdg_exporter_v2_t::interface_name =
"zxdg_exporter_v2";
9149zxdg_exporter_v2_t::operator zxdg_exporter_v2*()
const
9151 return reinterpret_cast<zxdg_exporter_v2*
> (c_ptr());
9156 proxy_t p = marshal_constructor(1U, &zxdg_exported_v2_interface,
nullptr, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr);
9160int zxdg_exporter_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9166zxdg_importer_v2_t::zxdg_importer_v2_t(
const proxy_t &p)
9171 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9172 set_destroy_opcode(0U);
9174 set_interface(&zxdg_importer_v2_interface);
9179zxdg_importer_v2_t::zxdg_importer_v2_t()
9181 set_interface(&zxdg_importer_v2_interface);
9186zxdg_importer_v2_t::zxdg_importer_v2_t(zxdg_importer_v2 *p, wrapper_type t)
9187 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9190 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9191 set_destroy_opcode(0U);
9193 set_interface(&zxdg_importer_v2_interface);
9198zxdg_importer_v2_t::zxdg_importer_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9199 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9200 set_interface(&zxdg_importer_v2_interface);
9207 return {*
this, construct_proxy_wrapper_tag()};
9210const std::string zxdg_importer_v2_t::interface_name =
"zxdg_importer_v2";
9212zxdg_importer_v2_t::operator zxdg_importer_v2*()
const
9214 return reinterpret_cast<zxdg_importer_v2*
> (c_ptr());
9219 proxy_t p = marshal_constructor(1U, &zxdg_imported_v2_interface,
nullptr, handle);
9223int zxdg_importer_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9228zxdg_exported_v2_t::zxdg_exported_v2_t(
const proxy_t &p)
9233 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9234 set_destroy_opcode(0U);
9236 set_interface(&zxdg_exported_v2_interface);
9241zxdg_exported_v2_t::zxdg_exported_v2_t()
9243 set_interface(&zxdg_exported_v2_interface);
9248zxdg_exported_v2_t::zxdg_exported_v2_t(zxdg_exported_v2 *p, wrapper_type t)
9249 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9252 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9253 set_destroy_opcode(0U);
9255 set_interface(&zxdg_exported_v2_interface);
9260zxdg_exported_v2_t::zxdg_exported_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9261 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9262 set_interface(&zxdg_exported_v2_interface);
9269 return {*
this, construct_proxy_wrapper_tag()};
9272const std::string zxdg_exported_v2_t::interface_name =
"zxdg_exported_v2";
9274zxdg_exported_v2_t::operator zxdg_exported_v2*()
const
9276 return reinterpret_cast<zxdg_exported_v2*
> (c_ptr());
9281 return std::static_pointer_cast<events_t>(get_events())->handle;
9284int zxdg_exported_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9286 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
9290 if(events->handle) events->handle(args[0].get<std::string>());
9296zxdg_imported_v2_t::zxdg_imported_v2_t(
const proxy_t &p)
9301 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9302 set_destroy_opcode(0U);
9304 set_interface(&zxdg_imported_v2_interface);
9309zxdg_imported_v2_t::zxdg_imported_v2_t()
9311 set_interface(&zxdg_imported_v2_interface);
9316zxdg_imported_v2_t::zxdg_imported_v2_t(zxdg_imported_v2 *p, wrapper_type t)
9317 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9320 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9321 set_destroy_opcode(0U);
9323 set_interface(&zxdg_imported_v2_interface);
9328zxdg_imported_v2_t::zxdg_imported_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9329 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9330 set_interface(&zxdg_imported_v2_interface);
9337 return {*
this, construct_proxy_wrapper_tag()};
9340const std::string zxdg_imported_v2_t::interface_name =
"zxdg_imported_v2";
9342zxdg_imported_v2_t::operator zxdg_imported_v2*()
const
9344 return reinterpret_cast<zxdg_imported_v2*
> (c_ptr());
9354 return std::static_pointer_cast<events_t>(get_events())->destroyed;
9357int zxdg_imported_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9359 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
9363 if(events->destroyed) events->destroyed();
9370zxdg_output_manager_v1_t::zxdg_output_manager_v1_t(
const proxy_t &p)
9375 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9376 set_destroy_opcode(0U);
9378 set_interface(&zxdg_output_manager_v1_interface);
9383zxdg_output_manager_v1_t::zxdg_output_manager_v1_t()
9385 set_interface(&zxdg_output_manager_v1_interface);
9390zxdg_output_manager_v1_t::zxdg_output_manager_v1_t(zxdg_output_manager_v1 *p, wrapper_type t)
9391 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9394 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9395 set_destroy_opcode(0U);
9397 set_interface(&zxdg_output_manager_v1_interface);
9402zxdg_output_manager_v1_t::zxdg_output_manager_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9403 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9404 set_interface(&zxdg_output_manager_v1_interface);
9411 return {*
this, construct_proxy_wrapper_tag()};
9414const std::string zxdg_output_manager_v1_t::interface_name =
"zxdg_output_manager_v1";
9416zxdg_output_manager_v1_t::operator zxdg_output_manager_v1*()
const
9418 return reinterpret_cast<zxdg_output_manager_v1*
> (c_ptr());
9423 proxy_t p = marshal_constructor(1U, &zxdg_output_v1_interface,
nullptr, output.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(output.
c_ptr()) :
nullptr);
9427int zxdg_output_manager_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9432zxdg_output_v1_t::zxdg_output_v1_t(
const proxy_t &p)
9437 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9438 set_destroy_opcode(0U);
9440 set_interface(&zxdg_output_v1_interface);
9445zxdg_output_v1_t::zxdg_output_v1_t()
9447 set_interface(&zxdg_output_v1_interface);
9452zxdg_output_v1_t::zxdg_output_v1_t(zxdg_output_v1 *p, wrapper_type t)
9453 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9456 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9457 set_destroy_opcode(0U);
9459 set_interface(&zxdg_output_v1_interface);
9464zxdg_output_v1_t::zxdg_output_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9465 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9466 set_interface(&zxdg_output_v1_interface);
9473 return {*
this, construct_proxy_wrapper_tag()};
9476const std::string zxdg_output_v1_t::interface_name =
"zxdg_output_v1";
9478zxdg_output_v1_t::operator zxdg_output_v1*()
const
9480 return reinterpret_cast<zxdg_output_v1*
> (c_ptr());
9485 return std::static_pointer_cast<events_t>(get_events())->logical_position;
9490 return std::static_pointer_cast<events_t>(get_events())->logical_size;
9495 return std::static_pointer_cast<events_t>(get_events())->done;
9500 return std::static_pointer_cast<events_t>(get_events())->name;
9505 return std::static_pointer_cast<events_t>(get_events())->description;
9508int zxdg_output_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9510 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
9514 if(events->logical_position) events->logical_position(args[0].get<int32_t>(), args[1].get<int32_t>());
9517 if(events->logical_size) events->logical_size(args[0].get<int32_t>(), args[1].get<int32_t>());
9520 if(events->done) events->done();
9523 if(events->name) events->name(args[0].get<std::string>());
9526 if(events->description) events->description(args[0].get<std::string>());
9532zxdg_shell_v6_t::zxdg_shell_v6_t(
const proxy_t &p)
9537 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9538 set_destroy_opcode(0U);
9540 set_interface(&zxdg_shell_v6_interface);
9545zxdg_shell_v6_t::zxdg_shell_v6_t()
9547 set_interface(&zxdg_shell_v6_interface);
9552zxdg_shell_v6_t::zxdg_shell_v6_t(zxdg_shell_v6 *p, wrapper_type t)
9553 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9556 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9557 set_destroy_opcode(0U);
9559 set_interface(&zxdg_shell_v6_interface);
9564zxdg_shell_v6_t::zxdg_shell_v6_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9565 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9566 set_interface(&zxdg_shell_v6_interface);
9573 return {*
this, construct_proxy_wrapper_tag()};
9576const std::string zxdg_shell_v6_t::interface_name =
"zxdg_shell_v6";
9578zxdg_shell_v6_t::operator zxdg_shell_v6*()
const
9580 return reinterpret_cast<zxdg_shell_v6*
> (c_ptr());
9585 proxy_t p = marshal_constructor(1U, &zxdg_positioner_v6_interface,
nullptr);
9591 proxy_t p = marshal_constructor(2U, &zxdg_surface_v6_interface,
nullptr, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr);
9597 marshal(3U, serial);
9602 return std::static_pointer_cast<events_t>(get_events())->ping;
9605int zxdg_shell_v6_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9607 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
9611 if(events->ping) events->ping(args[0].get<uint32_t>());
9618zxdg_positioner_v6_t::zxdg_positioner_v6_t(
const proxy_t &p)
9623 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9624 set_destroy_opcode(0U);
9626 set_interface(&zxdg_positioner_v6_interface);
9631zxdg_positioner_v6_t::zxdg_positioner_v6_t()
9633 set_interface(&zxdg_positioner_v6_interface);
9638zxdg_positioner_v6_t::zxdg_positioner_v6_t(zxdg_positioner_v6 *p, wrapper_type t)
9639 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9642 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9643 set_destroy_opcode(0U);
9645 set_interface(&zxdg_positioner_v6_interface);
9650zxdg_positioner_v6_t::zxdg_positioner_v6_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9651 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9652 set_interface(&zxdg_positioner_v6_interface);
9659 return {*
this, construct_proxy_wrapper_tag()};
9662const std::string zxdg_positioner_v6_t::interface_name =
"zxdg_positioner_v6";
9664zxdg_positioner_v6_t::operator zxdg_positioner_v6*()
const
9666 return reinterpret_cast<zxdg_positioner_v6*
> (c_ptr());
9671 marshal(1U, width, height);
9676 marshal(2U, x, y, width, height);
9681 marshal(3U,
static_cast<uint32_t
>(anchor));
9686 marshal(4U,
static_cast<uint32_t
>(gravity));
9691 marshal(5U,
static_cast<uint32_t
>(constraint_adjustment));
9699int zxdg_positioner_v6_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9704const bitfield<4, 37> zxdg_positioner_v6_anchor::none{0};
9705const bitfield<4, 37> zxdg_positioner_v6_anchor::top{1};
9706const bitfield<4, 37> zxdg_positioner_v6_anchor::bottom{2};
9707const bitfield<4, 37> zxdg_positioner_v6_anchor::left{4};
9708const bitfield<4, 37> zxdg_positioner_v6_anchor::right{8};
9710const bitfield<4, 38> zxdg_positioner_v6_gravity::none{0};
9711const bitfield<4, 38> zxdg_positioner_v6_gravity::top{1};
9712const bitfield<4, 38> zxdg_positioner_v6_gravity::bottom{2};
9713const bitfield<4, 38> zxdg_positioner_v6_gravity::left{4};
9714const bitfield<4, 38> zxdg_positioner_v6_gravity::right{8};
9716const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::none{0};
9717const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::slide_x{1};
9718const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::slide_y{2};
9719const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::flip_x{4};
9720const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::flip_y{8};
9721const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::resize_x{16};
9722const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::resize_y{32};
9725zxdg_surface_v6_t::zxdg_surface_v6_t(
const proxy_t &p)
9730 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9731 set_destroy_opcode(0U);
9733 set_interface(&zxdg_surface_v6_interface);
9738zxdg_surface_v6_t::zxdg_surface_v6_t()
9740 set_interface(&zxdg_surface_v6_interface);
9745zxdg_surface_v6_t::zxdg_surface_v6_t(zxdg_surface_v6 *p, wrapper_type t)
9746 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9749 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9750 set_destroy_opcode(0U);
9752 set_interface(&zxdg_surface_v6_interface);
9757zxdg_surface_v6_t::zxdg_surface_v6_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9758 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9759 set_interface(&zxdg_surface_v6_interface);
9766 return {*
this, construct_proxy_wrapper_tag()};
9769const std::string zxdg_surface_v6_t::interface_name =
"zxdg_surface_v6";
9771zxdg_surface_v6_t::operator zxdg_surface_v6*()
const
9773 return reinterpret_cast<zxdg_surface_v6*
> (c_ptr());
9778 proxy_t p = marshal_constructor(1U, &zxdg_toplevel_v6_interface,
nullptr);
9784 proxy_t p = marshal_constructor(2U, &zxdg_popup_v6_interface,
nullptr, parent.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(parent.
c_ptr()) :
nullptr, positioner.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(positioner.
c_ptr()) :
nullptr);
9790 marshal(3U, x, y, width, height);
9795 marshal(4U, serial);
9800 return std::static_pointer_cast<events_t>(get_events())->configure;
9803int zxdg_surface_v6_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9805 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
9809 if(events->configure) events->configure(args[0].get<uint32_t>());
9816zxdg_toplevel_v6_t::zxdg_toplevel_v6_t(
const proxy_t &p)
9821 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9822 set_destroy_opcode(0U);
9824 set_interface(&zxdg_toplevel_v6_interface);
9829zxdg_toplevel_v6_t::zxdg_toplevel_v6_t()
9831 set_interface(&zxdg_toplevel_v6_interface);
9836zxdg_toplevel_v6_t::zxdg_toplevel_v6_t(zxdg_toplevel_v6 *p, wrapper_type t)
9837 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9840 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9841 set_destroy_opcode(0U);
9843 set_interface(&zxdg_toplevel_v6_interface);
9848zxdg_toplevel_v6_t::zxdg_toplevel_v6_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9849 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9850 set_interface(&zxdg_toplevel_v6_interface);
9857 return {*
this, construct_proxy_wrapper_tag()};
9860const std::string zxdg_toplevel_v6_t::interface_name =
"zxdg_toplevel_v6";
9862zxdg_toplevel_v6_t::operator zxdg_toplevel_v6*()
const
9864 return reinterpret_cast<zxdg_toplevel_v6*
> (c_ptr());
9879 marshal(3U, app_id);
9884 marshal(4U, seat.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(seat.
c_ptr()) :
nullptr, serial, x, y);
9889 marshal(5U, seat.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(seat.
c_ptr()) :
nullptr, serial);
9894 marshal(6U, seat.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(seat.
c_ptr()) :
nullptr, serial,
static_cast<uint32_t
>(edges));
9899 marshal(7U, width, height);
9904 marshal(8U, width, height);
9922void zxdg_toplevel_v6_t::unset_fullscreen()
9934 return std::static_pointer_cast<events_t>(get_events())->configure;
9939 return std::static_pointer_cast<events_t>(get_events())->close;
9942int zxdg_toplevel_v6_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9944 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
9948 if(events->configure) events->configure(args[0].get<int32_t>(), args[1].get<int32_t>(), args[2].get<array_t>());
9951 if(events->close) events->close();
9956const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::none{0};
9957const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::top{1};
9958const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::bottom{2};
9959const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::left{4};
9960const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::top_left{5};
9961const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::bottom_left{6};
9962const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::right{8};
9963const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::top_right{9};
9964const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::bottom_right{10};
9968zxdg_popup_v6_t::zxdg_popup_v6_t(
const proxy_t &p)
9973 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9974 set_destroy_opcode(0U);
9976 set_interface(&zxdg_popup_v6_interface);
9981zxdg_popup_v6_t::zxdg_popup_v6_t()
9983 set_interface(&zxdg_popup_v6_interface);
9988zxdg_popup_v6_t::zxdg_popup_v6_t(zxdg_popup_v6 *p, wrapper_type t)
9989 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9992 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9993 set_destroy_opcode(0U);
9995 set_interface(&zxdg_popup_v6_interface);
10000zxdg_popup_v6_t::zxdg_popup_v6_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
10001 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
10002 set_interface(&zxdg_popup_v6_interface);
10009 return {*
this, construct_proxy_wrapper_tag()};
10012const std::string zxdg_popup_v6_t::interface_name =
"zxdg_popup_v6";
10014zxdg_popup_v6_t::operator zxdg_popup_v6*()
const
10016 return reinterpret_cast<zxdg_popup_v6*
> (c_ptr());
10021 marshal(1U, seat.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(seat.
c_ptr()) :
nullptr, serial);
10026 return std::static_pointer_cast<events_t>(get_events())->configure;
10031 return std::static_pointer_cast<events_t>(get_events())->popup_done;
10034int zxdg_popup_v6_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
10036 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
10040 if(events->configure) events->configure(args[0].get<int32_t>(), args[1].get<int32_t>(), args[2].get<int32_t>(), args[3].get<int32_t>());
10043 if(events->popup_done) events->popup_done();
10050zwp_xwayland_keyboard_grab_manager_v1_t::zwp_xwayland_keyboard_grab_manager_v1_t(
const proxy_t &p)
10055 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
10056 set_destroy_opcode(0U);
10058 set_interface(&zwp_xwayland_keyboard_grab_manager_v1_interface);
10063zwp_xwayland_keyboard_grab_manager_v1_t::zwp_xwayland_keyboard_grab_manager_v1_t()
10065 set_interface(&zwp_xwayland_keyboard_grab_manager_v1_interface);
10070zwp_xwayland_keyboard_grab_manager_v1_t::zwp_xwayland_keyboard_grab_manager_v1_t(zwp_xwayland_keyboard_grab_manager_v1 *p, wrapper_type t)
10071 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
10074 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
10075 set_destroy_opcode(0U);
10077 set_interface(&zwp_xwayland_keyboard_grab_manager_v1_interface);
10082zwp_xwayland_keyboard_grab_manager_v1_t::zwp_xwayland_keyboard_grab_manager_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
10083 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
10084 set_interface(&zwp_xwayland_keyboard_grab_manager_v1_interface);
10091 return {*
this, construct_proxy_wrapper_tag()};
10094const std::string zwp_xwayland_keyboard_grab_manager_v1_t::interface_name =
"zwp_xwayland_keyboard_grab_manager_v1";
10096zwp_xwayland_keyboard_grab_manager_v1_t::operator zwp_xwayland_keyboard_grab_manager_v1*()
const
10098 return reinterpret_cast<zwp_xwayland_keyboard_grab_manager_v1*
> (c_ptr());
10103 proxy_t p = marshal_constructor(1U, &zwp_xwayland_keyboard_grab_v1_interface,
nullptr, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr, seat.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(seat.
c_ptr()) :
nullptr);
10107int zwp_xwayland_keyboard_grab_manager_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
10112zwp_xwayland_keyboard_grab_v1_t::zwp_xwayland_keyboard_grab_v1_t(
const proxy_t &p)
10117 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
10118 set_destroy_opcode(0U);
10120 set_interface(&zwp_xwayland_keyboard_grab_v1_interface);
10125zwp_xwayland_keyboard_grab_v1_t::zwp_xwayland_keyboard_grab_v1_t()
10127 set_interface(&zwp_xwayland_keyboard_grab_v1_interface);
10132zwp_xwayland_keyboard_grab_v1_t::zwp_xwayland_keyboard_grab_v1_t(zwp_xwayland_keyboard_grab_v1 *p, wrapper_type t)
10133 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
10136 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
10137 set_destroy_opcode(0U);
10139 set_interface(&zwp_xwayland_keyboard_grab_v1_interface);
10144zwp_xwayland_keyboard_grab_v1_t::zwp_xwayland_keyboard_grab_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
10145 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
10146 set_interface(&zwp_xwayland_keyboard_grab_v1_interface);
10153 return {*
this, construct_proxy_wrapper_tag()};
10156const std::string zwp_xwayland_keyboard_grab_v1_t::interface_name =
"zwp_xwayland_keyboard_grab_v1";
10158zwp_xwayland_keyboard_grab_v1_t::operator zwp_xwayland_keyboard_grab_v1*()
const
10160 return reinterpret_cast<zwp_xwayland_keyboard_grab_v1*
> (c_ptr());
10163int zwp_xwayland_keyboard_grab_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
Represents a protocol object on the client side.
bool proxy_has_object() const
Check whether this wrapper actually wraps an object.
uint32_t get_version() const
Get the protocol object version of a proxy object.
wrapper_type get_wrapper_type() const
Get the type of a proxy object.
wl_proxy * c_ptr() const
Get a pointer to the underlying C struct.
an exported activation handle
std::function< void(std::string)> & on_done()
the exported activation token
void commit()
issues the token request
void set_serial(uint32_t serial, seat_t const &seat)
specifies the seat and serial of the activating event
void set_app_id(std::string const &app_id)
specifies the application being activated
void set_surface(surface_t const &surface)
specifies the application being activated
interface for activating surfaces
void activate(std::string const &token, surface_t const &surface)
notify new interaction being available
xdg_activation_token_v1_t get_activation_token()
requests a token
std::function< void()> & on_unconfined()
pointer unconfined
std::function< void()> & on_confined()
pointer confined
void set_region(region_t const ®ion)
set a new confine region
displays a single surface per output
void release()
release the wl_fullscreen_shell interface
zwp_fullscreen_shell_mode_feedback_v1_t present_surface_for_mode(surface_t const &surface, output_t const &output, int32_t framerate)
present surface for display at a particular mode
std::function< void(zwp_fullscreen_shell_v1_capability)> & on_capability()
advertises a capability of the compositor
void present_surface(surface_t const &surface, zwp_fullscreen_shell_v1_present_method const &method, output_t const &output)
present surface for display
control behavior when display idles
zwp_idle_inhibitor_v1_t create_inhibitor(surface_t const &surface)
create a new inhibitor object
context object for inhibiting idle behavior
std::function< void(uint32_t, uint32_t)> & on_invoke_action()
void modifiers(uint32_t serial, uint32_t mods_depressed, uint32_t mods_latched, uint32_t mods_locked, uint32_t group)
forward modifiers event
void preedit_string(uint32_t serial, std::string const &text, std::string const &commit)
pre-edit string
void preedit_styling(uint32_t index, uint32_t length, zwp_text_input_v1_preedit_style const &style)
pre-edit styling
std::function< void(std::string, uint32_t, uint32_t)> & on_surrounding_text()
surrounding text event
void cursor_position(int32_t index, int32_t anchor)
set cursor to a new position
void text_direction(uint32_t serial, uint32_t direction)
std::function< void(zwp_text_input_v1_content_hint, zwp_text_input_v1_content_purpose)> & on_content_type()
keyboard_t grab_keyboard()
grab hardware keyboard
void language(uint32_t serial, std::string const &language)
void delete_surrounding_text(int32_t index, uint32_t length)
delete text
void keysym(uint32_t serial, uint32_t time, uint32_t sym, keyboard_key_state const &state, uint32_t modifiers)
keysym
void commit_string(uint32_t serial, std::string const &text)
commit string
void key(uint32_t serial, uint32_t time, uint32_t key, keyboard_key_state const &state)
forward key event
std::function< void(std::string)> & on_preferred_language()
void modifiers_map(array_t const &map)
void preedit_cursor(int32_t index)
pre-edit cursor
std::function< void(uint32_t)> & on_commit_state()
context object for keyboard grab_manager
zwp_keyboard_shortcuts_inhibitor_v1_t inhibit_shortcuts(surface_t const &surface, seat_t const &seat)
create a new keyboard shortcuts inhibitor object
context object for keyboard shortcuts inhibitor
std::function< void()> & on_inactive()
shortcuts are restored
std::function< void()> & on_active()
shortcuts are inhibited
parameters for creating a dmabuf-based wl_buffer
buffer_t create_immed(int32_t width, int32_t height, uint32_t format, zwp_linux_buffer_params_v1_flags const &flags)
immediately create a wl_buffer from the given dmabufs
std::function< void()> & on_failed()
buffer creation failed
void add(int fd, uint32_t plane_idx, uint32_t offset, uint32_t stride, uint32_t modifier_hi, uint32_t modifier_lo)
add a dmabuf to the temporary set
std::function< void(buffer_t)> & on_created()
buffer creation succeeded
bool can_create_immed() const
Check whether the create_immed function is available with the currently bound version of the protocol...
void create(int32_t width, int32_t height, uint32_t format, zwp_linux_buffer_params_v1_flags const &flags)
create a wl_buffer from the given dmabufs
static constexpr std::uint32_t create_immed_since_version
Minimum protocol version required for the create_immed function.
buffer release explicit synchronization
std::function< void(int)> & on_fenced_release()
release buffer with fence
std::function< void()> & on_immediate_release()
release buffer immediately
std::function< void()> & on_tranche_done()
a preference tranche has been sent
std::function< void(array_t)> & on_main_device()
preferred main device
std::function< void(zwp_linux_dmabuf_feedback_v1_tranche_flags)> & on_tranche_flags()
tranche flags
std::function< void()> & on_done()
all feedback has been sent
std::function< void(array_t)> & on_tranche_formats()
supported buffer format modifier
std::function< void(int, uint32_t)> & on_format_table()
format and modifier table
std::function< void(array_t)> & on_tranche_target_device()
target device
factory for creating dmabuf-based wl_buffers
static constexpr std::uint32_t get_default_feedback_since_version
Minimum protocol version required for the get_default_feedback function.
std::function< void(uint32_t)> & on_format()
supported buffer format
bool can_get_default_feedback() const
Check whether the get_default_feedback function is available with the currently bound version of the ...
bool can_get_surface_feedback() const
Check whether the get_surface_feedback function is available with the currently bound version of the ...
zwp_linux_dmabuf_feedback_v1_t get_surface_feedback(surface_t const &surface)
get feedback for a surface
zwp_linux_dmabuf_feedback_v1_t get_default_feedback()
get default feedback
std::function< void(uint32_t, uint32_t, uint32_t)> & on_modifier()
supported buffer format modifier
static constexpr std::uint32_t get_surface_feedback_since_version
Minimum protocol version required for the get_surface_feedback function.
zwp_linux_buffer_params_v1_t create_params()
create a temporary object for buffer parameters
protocol for providing explicit synchronization
zwp_linux_surface_synchronization_v1_t get_synchronization(surface_t const &surface)
extend surface interface for explicit synchronization
per-surface explicit synchronization support
zwp_linux_buffer_release_v1_t get_release()
release fence for last-attached buffer
void set_acquire_fence(int fd)
set the acquire fence
receive relative pointer motion events
void set_cursor_position_hint(double surface_x, double surface_y)
set the pointer cursor position hint
void set_region(region_t const ®ion)
set a new lock region
std::function< void()> & on_unlocked()
lock deactivation event
std::function< void()> & on_locked()
lock activation event
constrain the movement of a pointer
zwp_confined_pointer_v1_t confine_pointer(surface_t const &surface, pointer_t const &pointer, region_t const ®ion, zwp_pointer_constraints_v1_lifetime const &lifetime)
confine pointer to a region
zwp_locked_pointer_v1_t lock_pointer(surface_t const &surface, pointer_t const &pointer, region_t const ®ion, zwp_pointer_constraints_v1_lifetime const &lifetime)
lock pointer to a position
std::function< void(uint32_t, uint32_t, int32_t)> & on_end()
multi-finger hold end
std::function< void(uint32_t, uint32_t, surface_t, uint32_t)> & on_begin()
multi-finger hold begin
std::function< void(uint32_t, uint32_t, int32_t)> & on_end()
multi-finger pinch end
std::function< void(uint32_t, double, double, double, double)> & on_update()
multi-finger pinch motion
std::function< void(uint32_t, uint32_t, surface_t, uint32_t)> & on_begin()
multi-finger pinch begin
std::function< void(uint32_t, uint32_t, surface_t, uint32_t)> & on_begin()
multi-finger swipe begin
std::function< void(uint32_t, uint32_t, int32_t)> & on_end()
multi-finger swipe end
std::function< void(uint32_t, double, double)> & on_update()
multi-finger swipe motion
static constexpr std::uint32_t get_hold_gesture_since_version
Minimum protocol version required for the get_hold_gesture function.
static constexpr std::uint32_t release_since_version
Minimum protocol version required for the release function.
zwp_pointer_gesture_swipe_v1_t get_swipe_gesture(pointer_t const &pointer)
get swipe gesture
zwp_pointer_gesture_pinch_v1_t get_pinch_gesture(pointer_t const &pointer)
get pinch gesture
void release()
destroy the pointer gesture object
bool can_release() const
Check whether the release function is available with the currently bound version of the protocol.
bool can_get_hold_gesture() const
Check whether the get_hold_gesture function is available with the currently bound version of the prot...
zwp_pointer_gesture_hold_v1_t get_hold_gesture(pointer_t const &pointer)
get hold gesture
X primary selection emulation.
zwp_primary_selection_device_v1_t get_device(seat_t const &seat)
create a new primary selection device
zwp_primary_selection_source_v1_t create_source()
create a new primary selection source
offer to transfer primary selection contents
void receive(std::string const &mime_type, int fd)
request that the data is transferred
std::function< void(std::string)> & on_offer()
advertise offered mime type
offer to replace the contents of the primary selection
std::function< void()> & on_cancelled()
request for primary selection contents was canceled
void offer(std::string const &mime_type)
add an offered mime type
std::function< void(std::string, int)> & on_send()
send the primary selection contents
get relative pointer objects
zwp_relative_pointer_v1_t get_relative_pointer(pointer_t const &pointer)
get a relative pointer object
std::function< void(uint32_t, uint32_t, double, double, double, double)> & on_relative_motion()
relative pointer motion
controller object for graphic tablet devices
zwp_tablet_seat_v1_t get_tablet_seat(seat_t const &seat)
get the tablet seat
controller object for graphic tablet devices
zwp_tablet_seat_v2_t get_tablet_seat(seat_t const &seat)
get the tablet seat
a set of buttons, rings and strips
std::function< void()> & on_done()
tablet group description events sequence complete
std::function< void(uint32_t)> & on_modes()
mode-switch ability announced
std::function< void(zwp_tablet_pad_strip_v2_t)> & on_strip()
strip announced
std::function< void(array_t)> & on_buttons()
buttons announced
std::function< void(uint32_t, uint32_t, uint32_t)> & on_mode_switch()
mode switch event
std::function< void(zwp_tablet_pad_ring_v2_t)> & on_ring()
ring announced
std::function< void(double)> & on_angle()
angle changed
void set_feedback(std::string const &description, uint32_t serial)
set compositor feedback
std::function< void(uint32_t)> & on_frame()
end of a ring event sequence
std::function< void(zwp_tablet_pad_ring_v2_source)> & on_source()
ring event source
std::function< void()> & on_stop()
interaction stopped
std::function< void(zwp_tablet_pad_strip_v2_source)> & on_source()
strip event source
std::function< void(uint32_t)> & on_frame()
end of a strip event sequence
std::function< void(uint32_t)> & on_position()
position changed
void set_feedback(std::string const &description, uint32_t serial)
set compositor feedback
std::function< void()> & on_stop()
interaction stopped
a set of buttons, rings and strips
std::function< void(uint32_t, surface_t)> & on_leave()
enter event
std::function< void(uint32_t, zwp_tablet_v2_t, surface_t)> & on_enter()
enter event
std::function< void(std::string)> & on_path()
path to the device
void set_feedback(uint32_t button, std::string const &description, uint32_t serial)
set compositor feedback
std::function< void()> & on_done()
pad description event sequence complete
std::function< void(uint32_t, uint32_t, zwp_tablet_pad_v2_button_state)> & on_button()
physical button state
std::function< void(uint32_t)> & on_buttons()
buttons announced
std::function< void()> & on_removed()
pad removed event
std::function< void(zwp_tablet_pad_group_v2_t)> & on_group()
group announced
controller object for graphic tablet devices of a seat
std::function< void(zwp_tablet_tool_v1_t)> & on_tool_added()
a new tool has been used with a tablet
std::function< void(zwp_tablet_v1_t)> & on_tablet_added()
new device notification
controller object for graphic tablet devices of a seat
std::function< void(zwp_tablet_pad_v2_t)> & on_pad_added()
new pad notification
std::function< void(zwp_tablet_tool_v2_t)> & on_tool_added()
a new tool has been used with a tablet
std::function< void(zwp_tablet_v2_t)> & on_tablet_added()
new device notification
std::function< void(std::string)> & on_name()
tablet device name
std::function< void(uint32_t, uint32_t)> & on_id()
tablet device USB vendor/product id
std::function< void()> & on_done()
tablet description events sequence complete
std::function< void(std::string)> & on_path()
path to the device
std::function< void()> & on_removed()
tablet removed event
std::function< void()> & on_removed()
tablet removed event
std::function< void(uint32_t, uint32_t)> & on_id()
tablet device USB vendor/product id
std::function< void(std::string)> & on_path()
path to the device
std::function< void()> & on_done()
tablet description events sequence complete
std::function< void(std::string)> & on_name()
tablet device name
zwp_text_input_v1_t create_text_input()
create text input
zwp_text_input_v3_t get_text_input(seat_t const &seat)
create a new text input object
std::function< void(uint32_t, std::string, std::string)> & on_preedit_string()
pre-edit
void hide_input_panel()
hide input panels
void deactivate(seat_t const &seat)
request deactivation
void activate(seat_t const &seat, surface_t const &surface)
request activation
std::function< void(uint32_t, uint32_t, zwp_text_input_v1_preedit_style)> & on_preedit_styling()
pre-edit styling
void set_surrounding_text(std::string const &text, uint32_t cursor, uint32_t anchor)
sets the surrounding text
std::function< void(surface_t)> & on_enter()
enter event
std::function< void(uint32_t, std::string)> & on_language()
language
std::function< void(int32_t)> & on_preedit_cursor()
pre-edit cursor
std::function< void(array_t)> & on_modifiers_map()
modifiers map
void set_content_type(zwp_text_input_v1_content_hint const &hint, zwp_text_input_v1_content_purpose const &purpose)
set content purpose and hint
std::function< void(int32_t, uint32_t)> & on_delete_surrounding_text()
delete surrounding text
void invoke_action(uint32_t button, uint32_t index)
void set_preferred_language(std::string const &language)
sets preferred language
void set_cursor_rectangle(int32_t x, int32_t y, int32_t width, int32_t height)
std::function< void(uint32_t)> & on_input_panel_state()
state of the input panel
std::function< void(uint32_t, std::string)> & on_commit_string()
commit
void commit_state(uint32_t serial)
std::function< void(uint32_t, zwp_text_input_v1_text_direction)> & on_text_direction()
text direction
std::function< void(uint32_t, uint32_t, uint32_t, keyboard_key_state, uint32_t)> & on_keysym()
keysym
std::function< void(int32_t, int32_t)> & on_cursor_position()
set cursor to new position
void show_input_panel()
show input panels
std::function< void()> & on_leave()
leave event
std::function< void(surface_t)> & on_leave()
leave event
void disable()
Disable text input on a surface.
void enable()
Request text input to be enabled.
void set_content_type(zwp_text_input_v3_content_hint const &hint, zwp_text_input_v3_content_purpose const &purpose)
set content purpose and hint
std::function< void(std::string)> & on_commit_string()
text commit
void set_surrounding_text(std::string const &text, int32_t cursor, int32_t anchor)
sets the surrounding text
std::function< void(uint32_t)> & on_done()
apply changes
void set_text_change_cause(zwp_text_input_v3_change_cause const &cause)
indicates the cause of surrounding text change
std::function< void(uint32_t, uint32_t)> & on_delete_surrounding_text()
delete surrounding text
void commit()
commit state
std::function< void(surface_t)> & on_enter()
enter event
std::function< void(std::string, int32_t, int32_t)> & on_preedit_string()
pre-edit
void set_cursor_rectangle(int32_t x, int32_t y, int32_t width, int32_t height)
set cursor position
context object for keyboard grab manager
zwp_xwayland_keyboard_grab_v1_t grab_keyboard(surface_t const &surface, seat_t const &seat)
grab the keyboard to a surface
interface for grabbing the keyboard
window decoration manager
zxdg_toplevel_decoration_v1_t get_toplevel_decoration(xdg_toplevel_t const &toplevel)
create a new toplevel decoration object
an exported surface handle
std::function< void(std::string)> & on_handle()
the exported surface handle
an exported surface handle
std::function< void(std::string)> & on_handle()
the exported surface handle
interface for exporting surfaces
zxdg_exported_v1_t _export(surface_t const &surface)
export a surface
interface for exporting surfaces
zxdg_exported_v2_t export_toplevel(surface_t const &surface)
export a toplevel surface
an imported surface handle
std::function< void()> & on_destroyed()
the imported surface handle has been destroyed
void set_parent_of(surface_t const &surface)
set as the parent of some surface
an imported surface handle
std::function< void()> & on_destroyed()
the imported surface handle has been destroyed
void set_parent_of(surface_t const &surface)
set as the parent of some surface
interface for importing surfaces
zxdg_imported_v1_t import(std::string const &handle)
import a surface
interface for importing surfaces
zxdg_imported_v2_t import_toplevel(std::string const &handle)
import a toplevel surface
manage xdg_output objects
zxdg_output_v1_t get_xdg_output(output_t const &output)
create an xdg output from a wl_output
compositor logical output region
std::function< void(std::string)> & on_description()
human-readable description of this output
std::function< void()> & on_done()
all information about the output have been sent
std::function< void(int32_t, int32_t)> & on_logical_position()
position of the output within the global compositor space
std::function< void(int32_t, int32_t)> & on_logical_size()
size of the output in the global compositor space
std::function< void(std::string)> & on_name()
name of this output
short-lived, popup surfaces for menus
void grab(seat_t const &seat, uint32_t serial)
make the popup take an explicit grab
std::function< void()> & on_popup_done()
popup interaction is done
std::function< void(int32_t, int32_t, int32_t, int32_t)> & on_configure()
configure the popup surface
void set_anchor(zxdg_positioner_v6_anchor const &anchor)
set anchor rectangle anchor edges
void set_offset(int32_t x, int32_t y)
set surface position offset
void set_size(int32_t width, int32_t height)
set the size of the to-be positioned rectangle
void set_anchor_rect(int32_t x, int32_t y, int32_t width, int32_t height)
set the anchor rectangle within the parent surface
void set_gravity(zxdg_positioner_v6_gravity const &gravity)
set child surface gravity
void set_constraint_adjustment(zxdg_positioner_v6_constraint_adjustment const &constraint_adjustment)
set the adjustment to be done when constrained
create desktop-style surfaces
void pong(uint32_t serial)
respond to a ping event
zxdg_positioner_v6_t create_positioner()
create a positioner object
std::function< void(uint32_t)> & on_ping()
check if the client is alive
zxdg_surface_v6_t get_xdg_surface(surface_t const &surface)
create a shell surface from a surface
desktop user interface surface base interface
zxdg_toplevel_v6_t get_toplevel()
assign the xdg_toplevel surface role
std::function< void(uint32_t)> & on_configure()
suggest a surface change
zxdg_popup_v6_t get_popup(zxdg_surface_v6_t const &parent, zxdg_positioner_v6_t const &positioner)
assign the xdg_popup surface role
void set_window_geometry(int32_t x, int32_t y, int32_t width, int32_t height)
set the new window geometry
void ack_configure(uint32_t serial)
ack a configure event
decoration object for a toplevel surface
std::function< void(zxdg_toplevel_decoration_v1_mode)> & on_configure()
suggest a surface change
void unset_mode()
unset the decoration mode
void set_mode(zxdg_toplevel_decoration_v1_mode const &mode)
set the decoration mode
void set_minimized()
set the window as minimized
void set_parent(zxdg_toplevel_v6_t const &parent)
set the parent of this surface
void set_fullscreen(output_t const &output)
set the window as fullscreen on a monitor
std::function< void(int32_t, int32_t, array_t)> & on_configure()
suggest a surface change
void unset_maximized()
unmaximize the window
void show_window_menu(seat_t const &seat, uint32_t serial, int32_t x, int32_t y)
show the window menu
void set_title(std::string const &title)
set surface title
void set_maximized()
maximize the window
void resize(seat_t const &seat, uint32_t serial, zxdg_toplevel_v6_resize_edge const &edges)
start an interactive resize
void move(seat_t const &seat, uint32_t serial)
start an interactive move
void set_min_size(int32_t width, int32_t height)
set the minimum size
std::function< void()> & on_close()
surface wants to be closed
void set_max_size(int32_t width, int32_t height)
set the maximum size
void set_app_id(std::string const &app_id)
set application ID
static const detail::bitfield< 10, 23 > auto_completion
suggest word completions
static const detail::bitfield< 10, 23 > titlecase
prefer casing for titles and headings (can be language dependent)
static const detail::bitfield< 10, 23 > latin
just latin characters should be entered
static const detail::bitfield< 10, 23 > uppercase
prefer uppercase letters
static const detail::bitfield< 10, 23 > sensitive_data
typed text should not be stored
static const detail::bitfield< 10, 23 > lowercase
prefer lowercase letters
static const detail::bitfield< 10, 23 > auto_capitalization
switch to uppercase letters at the start of a sentence
static const detail::bitfield< 10, 23 > none
no special behaviour
static const detail::bitfield< 10, 23 > hidden_text
characters should be hidden
static const detail::bitfield< 10, 23 > _default
auto completion, correction and capitalization
static const detail::bitfield< 10, 23 > password
hidden and sensitive text
static const detail::bitfield< 10, 23 > multiline
the text input is multiline
static const detail::bitfield< 10, 23 > auto_correction
suggest word corrections
static const detail::bitfield< 10, 28 > spellcheck
suggest word corrections
static const detail::bitfield< 10, 28 > none
no special behavior
static const detail::bitfield< 10, 28 > titlecase
prefer casing for titles and headings (can be language dependent)
static const detail::bitfield< 10, 28 > uppercase
prefer uppercase letters
static const detail::bitfield< 10, 28 > lowercase
prefer lowercase letters
static const detail::bitfield< 10, 28 > completion
suggest word completions
static const detail::bitfield< 10, 28 > multiline
the text input is multiline
static const detail::bitfield< 10, 28 > latin
just Latin characters should be entered
static const detail::bitfield< 10, 28 > hidden_text
characters should be hidden
static const detail::bitfield< 10, 28 > sensitive_data
typed text should not be stored
static const detail::bitfield< 10, 28 > auto_capitalization
switch to uppercase letters at the start of a sentence