1#include <wayland-client-protocol-unstable.hpp>
3using namespace wayland;
4using namespace wayland::detail;
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());
4260 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);
4266 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);
4267 return zwp_fullscreen_shell_mode_feedback_v1_t(p);
4273 return std::static_pointer_cast<events_t>(get_events())->capability;
4276int zwp_fullscreen_shell_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
4278 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
4282 if(events->capability) events->capability(zwp_fullscreen_shell_v1_capability(args[0].get<uint32_t>()));
4291zwp_fullscreen_shell_mode_feedback_v1_t::zwp_fullscreen_shell_mode_feedback_v1_t(
const proxy_t &p)
4296 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4298 set_interface(&zwp_fullscreen_shell_mode_feedback_v1_interface);
4300 {
return zwp_fullscreen_shell_mode_feedback_v1_t(p); });
4303zwp_fullscreen_shell_mode_feedback_v1_t::zwp_fullscreen_shell_mode_feedback_v1_t()
4305 set_interface(&zwp_fullscreen_shell_mode_feedback_v1_interface);
4307 {
return zwp_fullscreen_shell_mode_feedback_v1_t(p); });
4310zwp_fullscreen_shell_mode_feedback_v1_t::zwp_fullscreen_shell_mode_feedback_v1_t(zwp_fullscreen_shell_mode_feedback_v1 *p, wrapper_type t)
4311 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4314 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4316 set_interface(&zwp_fullscreen_shell_mode_feedback_v1_interface);
4318 {
return zwp_fullscreen_shell_mode_feedback_v1_t(p); });
4321zwp_fullscreen_shell_mode_feedback_v1_t::zwp_fullscreen_shell_mode_feedback_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
4322 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4323 set_interface(&zwp_fullscreen_shell_mode_feedback_v1_interface);
4325 {
return zwp_fullscreen_shell_mode_feedback_v1_t(p); });
4328zwp_fullscreen_shell_mode_feedback_v1_t zwp_fullscreen_shell_mode_feedback_v1_t::proxy_create_wrapper()
4330 return {*
this, construct_proxy_wrapper_tag()};
4333const std::string zwp_fullscreen_shell_mode_feedback_v1_t::interface_name =
"zwp_fullscreen_shell_mode_feedback_v1";
4335zwp_fullscreen_shell_mode_feedback_v1_t::operator zwp_fullscreen_shell_mode_feedback_v1*()
const
4337 return reinterpret_cast<zwp_fullscreen_shell_mode_feedback_v1*
> (c_ptr());
4340std::function<void()> &zwp_fullscreen_shell_mode_feedback_v1_t::on_mode_successful()
4342 return std::static_pointer_cast<events_t>(get_events())->mode_successful;
4345std::function<void()> &zwp_fullscreen_shell_mode_feedback_v1_t::on_mode_failed()
4347 return std::static_pointer_cast<events_t>(get_events())->mode_failed;
4350std::function<void()> &zwp_fullscreen_shell_mode_feedback_v1_t::on_present_cancelled()
4352 return std::static_pointer_cast<events_t>(get_events())->present_cancelled;
4355int 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)
4357 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
4361 if(events->mode_successful) events->mode_successful();
4364 if(events->mode_failed) events->mode_failed();
4367 if(events->present_cancelled) events->present_cancelled();
4373zwp_idle_inhibit_manager_v1_t::zwp_idle_inhibit_manager_v1_t(
const proxy_t &p)
4378 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4379 set_destroy_opcode(0U);
4381 set_interface(&zwp_idle_inhibit_manager_v1_interface);
4386zwp_idle_inhibit_manager_v1_t::zwp_idle_inhibit_manager_v1_t()
4388 set_interface(&zwp_idle_inhibit_manager_v1_interface);
4393zwp_idle_inhibit_manager_v1_t::zwp_idle_inhibit_manager_v1_t(zwp_idle_inhibit_manager_v1 *p, wrapper_type t)
4394 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4397 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4398 set_destroy_opcode(0U);
4400 set_interface(&zwp_idle_inhibit_manager_v1_interface);
4405zwp_idle_inhibit_manager_v1_t::zwp_idle_inhibit_manager_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
4406 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4407 set_interface(&zwp_idle_inhibit_manager_v1_interface);
4414 return {*
this, construct_proxy_wrapper_tag()};
4417const std::string zwp_idle_inhibit_manager_v1_t::interface_name =
"zwp_idle_inhibit_manager_v1";
4419zwp_idle_inhibit_manager_v1_t::operator zwp_idle_inhibit_manager_v1*()
const
4421 return reinterpret_cast<zwp_idle_inhibit_manager_v1*
> (c_ptr());
4426 proxy_t p = marshal_constructor(1U, &zwp_idle_inhibitor_v1_interface,
nullptr, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr);
4431int zwp_idle_inhibit_manager_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
4436zwp_idle_inhibitor_v1_t::zwp_idle_inhibitor_v1_t(
const proxy_t &p)
4441 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4442 set_destroy_opcode(0U);
4444 set_interface(&zwp_idle_inhibitor_v1_interface);
4449zwp_idle_inhibitor_v1_t::zwp_idle_inhibitor_v1_t()
4451 set_interface(&zwp_idle_inhibitor_v1_interface);
4456zwp_idle_inhibitor_v1_t::zwp_idle_inhibitor_v1_t(zwp_idle_inhibitor_v1 *p, wrapper_type t)
4457 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4460 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4461 set_destroy_opcode(0U);
4463 set_interface(&zwp_idle_inhibitor_v1_interface);
4468zwp_idle_inhibitor_v1_t::zwp_idle_inhibitor_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
4469 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4470 set_interface(&zwp_idle_inhibitor_v1_interface);
4477 return {*
this, construct_proxy_wrapper_tag()};
4480const std::string zwp_idle_inhibitor_v1_t::interface_name =
"zwp_idle_inhibitor_v1";
4482zwp_idle_inhibitor_v1_t::operator zwp_idle_inhibitor_v1*()
const
4484 return reinterpret_cast<zwp_idle_inhibitor_v1*
> (c_ptr());
4487int zwp_idle_inhibitor_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
4492zwp_input_method_context_v1_t::zwp_input_method_context_v1_t(
const proxy_t &p)
4497 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4498 set_destroy_opcode(0U);
4500 set_interface(&zwp_input_method_context_v1_interface);
4505zwp_input_method_context_v1_t::zwp_input_method_context_v1_t()
4507 set_interface(&zwp_input_method_context_v1_interface);
4512zwp_input_method_context_v1_t::zwp_input_method_context_v1_t(zwp_input_method_context_v1 *p, wrapper_type t)
4513 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4516 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4517 set_destroy_opcode(0U);
4519 set_interface(&zwp_input_method_context_v1_interface);
4524zwp_input_method_context_v1_t::zwp_input_method_context_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
4525 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4526 set_interface(&zwp_input_method_context_v1_interface);
4533 return {*
this, construct_proxy_wrapper_tag()};
4536const std::string zwp_input_method_context_v1_t::interface_name =
"zwp_input_method_context_v1";
4538zwp_input_method_context_v1_t::operator zwp_input_method_context_v1*()
const
4540 return reinterpret_cast<zwp_input_method_context_v1*
> (c_ptr());
4545 marshal(1U, serial, text);
4551 marshal(2U, serial, text, commit);
4557 marshal(3U, index, length,
static_cast<uint32_t
>(style));
4569 marshal(5U, index, length);
4575 marshal(6U, index, anchor);
4587 marshal(8U, serial, time, sym,
static_cast<uint32_t
>(state),
modifiers);
4593 proxy_t p = marshal_constructor(9U, &keyboard_interface,
nullptr);
4600 marshal(10U, serial, time,
key,
static_cast<uint32_t
>(state));
4606 marshal(11U, serial, mods_depressed, mods_latched, mods_locked, group);
4618 marshal(13U, serial, direction);
4624 return std::static_pointer_cast<events_t>(get_events())->surrounding_text;
4627std::function<void()> &zwp_input_method_context_v1_t::on_reset()
4629 return std::static_pointer_cast<events_t>(get_events())->reset;
4634 return std::static_pointer_cast<events_t>(get_events())->content_type;
4639 return std::static_pointer_cast<events_t>(get_events())->invoke_action;
4644 return std::static_pointer_cast<events_t>(get_events())->commit_state;
4649 return std::static_pointer_cast<events_t>(get_events())->preferred_language;
4652int zwp_input_method_context_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
4654 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
4658 if(events->surrounding_text) events->surrounding_text(args[0].get<std::string>(), args[1].get<uint32_t>(), args[2].get<uint32_t>());
4661 if(events->reset) events->reset();
4664 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>()));
4667 if(events->invoke_action) events->invoke_action(args[0].get<uint32_t>(), args[1].get<uint32_t>());
4670 if(events->commit_state) events->commit_state(args[0].get<uint32_t>());
4673 if(events->preferred_language) events->preferred_language(args[0].get<std::string>());
4679zwp_input_method_v1_t::zwp_input_method_v1_t(
const proxy_t &p)
4684 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4686 set_interface(&zwp_input_method_v1_interface);
4691zwp_input_method_v1_t::zwp_input_method_v1_t()
4693 set_interface(&zwp_input_method_v1_interface);
4698zwp_input_method_v1_t::zwp_input_method_v1_t(zwp_input_method_v1 *p, wrapper_type t)
4699 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4702 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4704 set_interface(&zwp_input_method_v1_interface);
4709zwp_input_method_v1_t::zwp_input_method_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
4710 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4711 set_interface(&zwp_input_method_v1_interface);
4718 return {*
this, construct_proxy_wrapper_tag()};
4721const std::string zwp_input_method_v1_t::interface_name =
"zwp_input_method_v1";
4723zwp_input_method_v1_t::operator zwp_input_method_v1*()
const
4725 return reinterpret_cast<zwp_input_method_v1*
> (c_ptr());
4730 return std::static_pointer_cast<events_t>(get_events())->activate;
4735 return std::static_pointer_cast<events_t>(get_events())->deactivate;
4738int zwp_input_method_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
4740 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
4753zwp_input_panel_v1_t::zwp_input_panel_v1_t(
const proxy_t &p)
4758 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4760 set_interface(&zwp_input_panel_v1_interface);
4765zwp_input_panel_v1_t::zwp_input_panel_v1_t()
4767 set_interface(&zwp_input_panel_v1_interface);
4772zwp_input_panel_v1_t::zwp_input_panel_v1_t(zwp_input_panel_v1 *p, wrapper_type t)
4773 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4776 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4778 set_interface(&zwp_input_panel_v1_interface);
4783zwp_input_panel_v1_t::zwp_input_panel_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
4784 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4785 set_interface(&zwp_input_panel_v1_interface);
4792 return {*
this, construct_proxy_wrapper_tag()};
4795const std::string zwp_input_panel_v1_t::interface_name =
"zwp_input_panel_v1";
4797zwp_input_panel_v1_t::operator zwp_input_panel_v1*()
const
4799 return reinterpret_cast<zwp_input_panel_v1*
> (c_ptr());
4804 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);
4805 return zwp_input_panel_surface_v1_t(p);
4809int zwp_input_panel_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
4814zwp_input_panel_surface_v1_t::zwp_input_panel_surface_v1_t(
const proxy_t &p)
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()
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(zwp_input_panel_surface_v1 *p, wrapper_type t)
4834 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4837 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4839 set_interface(&zwp_input_panel_surface_v1_interface);
4841 {
return zwp_input_panel_surface_v1_t(p); });
4844zwp_input_panel_surface_v1_t::zwp_input_panel_surface_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
4845 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4846 set_interface(&zwp_input_panel_surface_v1_interface);
4848 {
return zwp_input_panel_surface_v1_t(p); });
4851zwp_input_panel_surface_v1_t zwp_input_panel_surface_v1_t::proxy_create_wrapper()
4853 return {*
this, construct_proxy_wrapper_tag()};
4856const std::string zwp_input_panel_surface_v1_t::interface_name =
"zwp_input_panel_surface_v1";
4858zwp_input_panel_surface_v1_t::operator zwp_input_panel_surface_v1*()
const
4860 return reinterpret_cast<zwp_input_panel_surface_v1*
> (c_ptr());
4863void zwp_input_panel_surface_v1_t::set_toplevel(
output_t const& output, zwp_input_panel_surface_v1_position
const& position)
4865 marshal(0U, output.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(output.
c_ptr()) :
nullptr,
static_cast<uint32_t
>(position));
4869void zwp_input_panel_surface_v1_t::set_overlay_panel()
4875int zwp_input_panel_surface_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
4881zwp_input_timestamps_manager_v1_t::zwp_input_timestamps_manager_v1_t(
const proxy_t &p)
4886 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4887 set_destroy_opcode(0U);
4889 set_interface(&zwp_input_timestamps_manager_v1_interface);
4894zwp_input_timestamps_manager_v1_t::zwp_input_timestamps_manager_v1_t()
4896 set_interface(&zwp_input_timestamps_manager_v1_interface);
4901zwp_input_timestamps_manager_v1_t::zwp_input_timestamps_manager_v1_t(zwp_input_timestamps_manager_v1 *p, wrapper_type t)
4902 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4905 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4906 set_destroy_opcode(0U);
4908 set_interface(&zwp_input_timestamps_manager_v1_interface);
4913zwp_input_timestamps_manager_v1_t::zwp_input_timestamps_manager_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
4914 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4915 set_interface(&zwp_input_timestamps_manager_v1_interface);
4922 return {*
this, construct_proxy_wrapper_tag()};
4925const std::string zwp_input_timestamps_manager_v1_t::interface_name =
"zwp_input_timestamps_manager_v1";
4927zwp_input_timestamps_manager_v1_t::operator zwp_input_timestamps_manager_v1*()
const
4929 return reinterpret_cast<zwp_input_timestamps_manager_v1*
> (c_ptr());
4934 proxy_t p = marshal_constructor(1U, &zwp_input_timestamps_v1_interface,
nullptr, keyboard.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(keyboard.
c_ptr()) :
nullptr);
4941 proxy_t p = marshal_constructor(2U, &zwp_input_timestamps_v1_interface,
nullptr, pointer.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(pointer.
c_ptr()) :
nullptr);
4948 proxy_t p = marshal_constructor(3U, &zwp_input_timestamps_v1_interface,
nullptr, touch.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(touch.
c_ptr()) :
nullptr);
4953int zwp_input_timestamps_manager_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
4958zwp_input_timestamps_v1_t::zwp_input_timestamps_v1_t(
const proxy_t &p)
4963 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4964 set_destroy_opcode(0U);
4966 set_interface(&zwp_input_timestamps_v1_interface);
4971zwp_input_timestamps_v1_t::zwp_input_timestamps_v1_t()
4973 set_interface(&zwp_input_timestamps_v1_interface);
4978zwp_input_timestamps_v1_t::zwp_input_timestamps_v1_t(zwp_input_timestamps_v1 *p, wrapper_type t)
4979 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4982 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
4983 set_destroy_opcode(0U);
4985 set_interface(&zwp_input_timestamps_v1_interface);
4990zwp_input_timestamps_v1_t::zwp_input_timestamps_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
4991 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4992 set_interface(&zwp_input_timestamps_v1_interface);
4999 return {*
this, construct_proxy_wrapper_tag()};
5002const std::string zwp_input_timestamps_v1_t::interface_name =
"zwp_input_timestamps_v1";
5004zwp_input_timestamps_v1_t::operator zwp_input_timestamps_v1*()
const
5006 return reinterpret_cast<zwp_input_timestamps_v1*
> (c_ptr());
5011 return std::static_pointer_cast<events_t>(get_events())->timestamp;
5014int zwp_input_timestamps_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5016 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5020 if(events->timestamp) events->timestamp(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<uint32_t>());
5026zwp_keyboard_shortcuts_inhibit_manager_v1_t::zwp_keyboard_shortcuts_inhibit_manager_v1_t(
const proxy_t &p)
5031 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5032 set_destroy_opcode(0U);
5034 set_interface(&zwp_keyboard_shortcuts_inhibit_manager_v1_interface);
5039zwp_keyboard_shortcuts_inhibit_manager_v1_t::zwp_keyboard_shortcuts_inhibit_manager_v1_t()
5041 set_interface(&zwp_keyboard_shortcuts_inhibit_manager_v1_interface);
5046zwp_keyboard_shortcuts_inhibit_manager_v1_t::zwp_keyboard_shortcuts_inhibit_manager_v1_t(zwp_keyboard_shortcuts_inhibit_manager_v1 *p, wrapper_type t)
5047 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5050 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5051 set_destroy_opcode(0U);
5053 set_interface(&zwp_keyboard_shortcuts_inhibit_manager_v1_interface);
5058zwp_keyboard_shortcuts_inhibit_manager_v1_t::zwp_keyboard_shortcuts_inhibit_manager_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5059 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5060 set_interface(&zwp_keyboard_shortcuts_inhibit_manager_v1_interface);
5067 return {*
this, construct_proxy_wrapper_tag()};
5070const std::string zwp_keyboard_shortcuts_inhibit_manager_v1_t::interface_name =
"zwp_keyboard_shortcuts_inhibit_manager_v1";
5072zwp_keyboard_shortcuts_inhibit_manager_v1_t::operator zwp_keyboard_shortcuts_inhibit_manager_v1*()
const
5074 return reinterpret_cast<zwp_keyboard_shortcuts_inhibit_manager_v1*
> (c_ptr());
5079 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);
5084int 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)
5090zwp_keyboard_shortcuts_inhibitor_v1_t::zwp_keyboard_shortcuts_inhibitor_v1_t(
const proxy_t &p)
5095 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5096 set_destroy_opcode(0U);
5098 set_interface(&zwp_keyboard_shortcuts_inhibitor_v1_interface);
5103zwp_keyboard_shortcuts_inhibitor_v1_t::zwp_keyboard_shortcuts_inhibitor_v1_t()
5105 set_interface(&zwp_keyboard_shortcuts_inhibitor_v1_interface);
5110zwp_keyboard_shortcuts_inhibitor_v1_t::zwp_keyboard_shortcuts_inhibitor_v1_t(zwp_keyboard_shortcuts_inhibitor_v1 *p, wrapper_type t)
5111 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5114 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5115 set_destroy_opcode(0U);
5117 set_interface(&zwp_keyboard_shortcuts_inhibitor_v1_interface);
5122zwp_keyboard_shortcuts_inhibitor_v1_t::zwp_keyboard_shortcuts_inhibitor_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5123 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5124 set_interface(&zwp_keyboard_shortcuts_inhibitor_v1_interface);
5131 return {*
this, construct_proxy_wrapper_tag()};
5134const std::string zwp_keyboard_shortcuts_inhibitor_v1_t::interface_name =
"zwp_keyboard_shortcuts_inhibitor_v1";
5136zwp_keyboard_shortcuts_inhibitor_v1_t::operator zwp_keyboard_shortcuts_inhibitor_v1*()
const
5138 return reinterpret_cast<zwp_keyboard_shortcuts_inhibitor_v1*
> (c_ptr());
5143 return std::static_pointer_cast<events_t>(get_events())->active;
5148 return std::static_pointer_cast<events_t>(get_events())->inactive;
5151int zwp_keyboard_shortcuts_inhibitor_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5153 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5157 if(events->active) events->active();
5160 if(events->inactive) events->inactive();
5166zwp_linux_dmabuf_v1_t::zwp_linux_dmabuf_v1_t(
const proxy_t &p)
5171 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5172 set_destroy_opcode(0U);
5174 set_interface(&zwp_linux_dmabuf_v1_interface);
5179zwp_linux_dmabuf_v1_t::zwp_linux_dmabuf_v1_t()
5181 set_interface(&zwp_linux_dmabuf_v1_interface);
5186zwp_linux_dmabuf_v1_t::zwp_linux_dmabuf_v1_t(zwp_linux_dmabuf_v1 *p, wrapper_type t)
5187 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5190 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5191 set_destroy_opcode(0U);
5193 set_interface(&zwp_linux_dmabuf_v1_interface);
5198zwp_linux_dmabuf_v1_t::zwp_linux_dmabuf_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5199 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5200 set_interface(&zwp_linux_dmabuf_v1_interface);
5207 return {*
this, construct_proxy_wrapper_tag()};
5210const std::string zwp_linux_dmabuf_v1_t::interface_name =
"zwp_linux_dmabuf_v1";
5212zwp_linux_dmabuf_v1_t::operator zwp_linux_dmabuf_v1*()
const
5214 return reinterpret_cast<zwp_linux_dmabuf_v1*
> (c_ptr());
5219 proxy_t p = marshal_constructor(1U, &zwp_linux_buffer_params_v1_interface,
nullptr);
5226 proxy_t p = marshal_constructor(2U, &zwp_linux_dmabuf_feedback_v1_interface,
nullptr);
5238 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);
5250 return std::static_pointer_cast<events_t>(get_events())->format;
5255 return std::static_pointer_cast<events_t>(get_events())->modifier;
5258int zwp_linux_dmabuf_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5260 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5264 if(events->format) events->format(args[0].get<uint32_t>());
5267 if(events->modifier) events->modifier(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<uint32_t>());
5273zwp_linux_buffer_params_v1_t::zwp_linux_buffer_params_v1_t(
const proxy_t &p)
5278 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5279 set_destroy_opcode(0U);
5281 set_interface(&zwp_linux_buffer_params_v1_interface);
5286zwp_linux_buffer_params_v1_t::zwp_linux_buffer_params_v1_t()
5288 set_interface(&zwp_linux_buffer_params_v1_interface);
5293zwp_linux_buffer_params_v1_t::zwp_linux_buffer_params_v1_t(zwp_linux_buffer_params_v1 *p, wrapper_type t)
5294 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5297 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5298 set_destroy_opcode(0U);
5300 set_interface(&zwp_linux_buffer_params_v1_interface);
5305zwp_linux_buffer_params_v1_t::zwp_linux_buffer_params_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5306 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5307 set_interface(&zwp_linux_buffer_params_v1_interface);
5314 return {*
this, construct_proxy_wrapper_tag()};
5317const std::string zwp_linux_buffer_params_v1_t::interface_name =
"zwp_linux_buffer_params_v1";
5319zwp_linux_buffer_params_v1_t::operator zwp_linux_buffer_params_v1*()
const
5321 return reinterpret_cast<zwp_linux_buffer_params_v1*
> (c_ptr());
5326 marshal(1U, argument_t::fd(fd), plane_idx, offset, stride, modifier_hi, modifier_lo);
5332 marshal(2U, width, height, format,
static_cast<uint32_t
>(flags));
5338 proxy_t p = marshal_constructor(3U, &buffer_interface,
nullptr, width, height, format,
static_cast<uint32_t
>(flags));
5350 return std::static_pointer_cast<events_t>(get_events())->created;
5355 return std::static_pointer_cast<events_t>(get_events())->failed;
5358int zwp_linux_buffer_params_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5360 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5364 if(events->created) events->created(
buffer_t(args[0].get<proxy_t>()));
5367 if(events->failed) events->failed();
5373const bitfield<3, 6> zwp_linux_buffer_params_v1_flags::y_invert{1};
5374const bitfield<3, 6> zwp_linux_buffer_params_v1_flags::interlaced{2};
5375const bitfield<3, 6> zwp_linux_buffer_params_v1_flags::bottom_first{4};
5378zwp_linux_dmabuf_feedback_v1_t::zwp_linux_dmabuf_feedback_v1_t(
const proxy_t &p)
5383 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5384 set_destroy_opcode(0U);
5386 set_interface(&zwp_linux_dmabuf_feedback_v1_interface);
5391zwp_linux_dmabuf_feedback_v1_t::zwp_linux_dmabuf_feedback_v1_t()
5393 set_interface(&zwp_linux_dmabuf_feedback_v1_interface);
5398zwp_linux_dmabuf_feedback_v1_t::zwp_linux_dmabuf_feedback_v1_t(zwp_linux_dmabuf_feedback_v1 *p, wrapper_type t)
5399 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5402 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5403 set_destroy_opcode(0U);
5405 set_interface(&zwp_linux_dmabuf_feedback_v1_interface);
5410zwp_linux_dmabuf_feedback_v1_t::zwp_linux_dmabuf_feedback_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5411 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5412 set_interface(&zwp_linux_dmabuf_feedback_v1_interface);
5419 return {*
this, construct_proxy_wrapper_tag()};
5422const std::string zwp_linux_dmabuf_feedback_v1_t::interface_name =
"zwp_linux_dmabuf_feedback_v1";
5424zwp_linux_dmabuf_feedback_v1_t::operator zwp_linux_dmabuf_feedback_v1*()
const
5426 return reinterpret_cast<zwp_linux_dmabuf_feedback_v1*
> (c_ptr());
5431 return std::static_pointer_cast<events_t>(get_events())->done;
5436 return std::static_pointer_cast<events_t>(get_events())->format_table;
5441 return std::static_pointer_cast<events_t>(get_events())->main_device;
5446 return std::static_pointer_cast<events_t>(get_events())->tranche_done;
5451 return std::static_pointer_cast<events_t>(get_events())->tranche_target_device;
5456 return std::static_pointer_cast<events_t>(get_events())->tranche_formats;
5461 return std::static_pointer_cast<events_t>(get_events())->tranche_flags;
5464int zwp_linux_dmabuf_feedback_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5466 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5470 if(events->done) events->done();
5473 if(events->format_table) events->format_table(args[0].get<int>(), args[1].get<uint32_t>());
5476 if(events->main_device) events->main_device(args[0].get<array_t>());
5479 if(events->tranche_done) events->tranche_done();
5482 if(events->tranche_target_device) events->tranche_target_device(args[0].get<array_t>());
5485 if(events->tranche_formats) events->tranche_formats(args[0].get<array_t>());
5488 if(events->tranche_flags) events->tranche_flags(zwp_linux_dmabuf_feedback_v1_tranche_flags(args[0].get<uint32_t>()));
5493const bitfield<1, 7> zwp_linux_dmabuf_feedback_v1_tranche_flags::scanout{1};
5496zwp_linux_explicit_synchronization_v1_t::zwp_linux_explicit_synchronization_v1_t(
const proxy_t &p)
5501 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5502 set_destroy_opcode(0U);
5504 set_interface(&zwp_linux_explicit_synchronization_v1_interface);
5509zwp_linux_explicit_synchronization_v1_t::zwp_linux_explicit_synchronization_v1_t()
5511 set_interface(&zwp_linux_explicit_synchronization_v1_interface);
5516zwp_linux_explicit_synchronization_v1_t::zwp_linux_explicit_synchronization_v1_t(zwp_linux_explicit_synchronization_v1 *p, wrapper_type t)
5517 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5520 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5521 set_destroy_opcode(0U);
5523 set_interface(&zwp_linux_explicit_synchronization_v1_interface);
5528zwp_linux_explicit_synchronization_v1_t::zwp_linux_explicit_synchronization_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5529 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5530 set_interface(&zwp_linux_explicit_synchronization_v1_interface);
5537 return {*
this, construct_proxy_wrapper_tag()};
5540const std::string zwp_linux_explicit_synchronization_v1_t::interface_name =
"zwp_linux_explicit_synchronization_v1";
5542zwp_linux_explicit_synchronization_v1_t::operator zwp_linux_explicit_synchronization_v1*()
const
5544 return reinterpret_cast<zwp_linux_explicit_synchronization_v1*
> (c_ptr());
5549 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);
5554int zwp_linux_explicit_synchronization_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5560zwp_linux_surface_synchronization_v1_t::zwp_linux_surface_synchronization_v1_t(
const proxy_t &p)
5565 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5566 set_destroy_opcode(0U);
5568 set_interface(&zwp_linux_surface_synchronization_v1_interface);
5573zwp_linux_surface_synchronization_v1_t::zwp_linux_surface_synchronization_v1_t()
5575 set_interface(&zwp_linux_surface_synchronization_v1_interface);
5580zwp_linux_surface_synchronization_v1_t::zwp_linux_surface_synchronization_v1_t(zwp_linux_surface_synchronization_v1 *p, wrapper_type t)
5581 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5584 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5585 set_destroy_opcode(0U);
5587 set_interface(&zwp_linux_surface_synchronization_v1_interface);
5592zwp_linux_surface_synchronization_v1_t::zwp_linux_surface_synchronization_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5593 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5594 set_interface(&zwp_linux_surface_synchronization_v1_interface);
5601 return {*
this, construct_proxy_wrapper_tag()};
5604const std::string zwp_linux_surface_synchronization_v1_t::interface_name =
"zwp_linux_surface_synchronization_v1";
5606zwp_linux_surface_synchronization_v1_t::operator zwp_linux_surface_synchronization_v1*()
const
5608 return reinterpret_cast<zwp_linux_surface_synchronization_v1*
> (c_ptr());
5613 marshal(1U, argument_t::fd(fd));
5619 proxy_t p = marshal_constructor(2U, &zwp_linux_buffer_release_v1_interface,
nullptr);
5624int zwp_linux_surface_synchronization_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5630zwp_linux_buffer_release_v1_t::zwp_linux_buffer_release_v1_t(
const proxy_t &p)
5635 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5637 set_interface(&zwp_linux_buffer_release_v1_interface);
5642zwp_linux_buffer_release_v1_t::zwp_linux_buffer_release_v1_t()
5644 set_interface(&zwp_linux_buffer_release_v1_interface);
5649zwp_linux_buffer_release_v1_t::zwp_linux_buffer_release_v1_t(zwp_linux_buffer_release_v1 *p, wrapper_type t)
5650 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5653 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5655 set_interface(&zwp_linux_buffer_release_v1_interface);
5660zwp_linux_buffer_release_v1_t::zwp_linux_buffer_release_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5661 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5662 set_interface(&zwp_linux_buffer_release_v1_interface);
5669 return {*
this, construct_proxy_wrapper_tag()};
5672const std::string zwp_linux_buffer_release_v1_t::interface_name =
"zwp_linux_buffer_release_v1";
5674zwp_linux_buffer_release_v1_t::operator zwp_linux_buffer_release_v1*()
const
5676 return reinterpret_cast<zwp_linux_buffer_release_v1*
> (c_ptr());
5681 return std::static_pointer_cast<events_t>(get_events())->fenced_release;
5686 return std::static_pointer_cast<events_t>(get_events())->immediate_release;
5689int zwp_linux_buffer_release_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5691 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5695 if(events->fenced_release) events->fenced_release(args[0].get<int>());
5698 if(events->immediate_release) events->immediate_release();
5704zwp_pointer_constraints_v1_t::zwp_pointer_constraints_v1_t(
const proxy_t &p)
5709 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5710 set_destroy_opcode(0U);
5712 set_interface(&zwp_pointer_constraints_v1_interface);
5717zwp_pointer_constraints_v1_t::zwp_pointer_constraints_v1_t()
5719 set_interface(&zwp_pointer_constraints_v1_interface);
5724zwp_pointer_constraints_v1_t::zwp_pointer_constraints_v1_t(zwp_pointer_constraints_v1 *p, wrapper_type t)
5725 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5728 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5729 set_destroy_opcode(0U);
5731 set_interface(&zwp_pointer_constraints_v1_interface);
5736zwp_pointer_constraints_v1_t::zwp_pointer_constraints_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5737 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5738 set_interface(&zwp_pointer_constraints_v1_interface);
5745 return {*
this, construct_proxy_wrapper_tag()};
5748const std::string zwp_pointer_constraints_v1_t::interface_name =
"zwp_pointer_constraints_v1";
5750zwp_pointer_constraints_v1_t::operator zwp_pointer_constraints_v1*()
const
5752 return reinterpret_cast<zwp_pointer_constraints_v1*
> (c_ptr());
5757 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));
5764 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));
5769int zwp_pointer_constraints_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5776zwp_locked_pointer_v1_t::zwp_locked_pointer_v1_t(
const proxy_t &p)
5781 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5782 set_destroy_opcode(0U);
5784 set_interface(&zwp_locked_pointer_v1_interface);
5789zwp_locked_pointer_v1_t::zwp_locked_pointer_v1_t()
5791 set_interface(&zwp_locked_pointer_v1_interface);
5796zwp_locked_pointer_v1_t::zwp_locked_pointer_v1_t(zwp_locked_pointer_v1 *p, wrapper_type t)
5797 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5800 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5801 set_destroy_opcode(0U);
5803 set_interface(&zwp_locked_pointer_v1_interface);
5808zwp_locked_pointer_v1_t::zwp_locked_pointer_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5809 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5810 set_interface(&zwp_locked_pointer_v1_interface);
5817 return {*
this, construct_proxy_wrapper_tag()};
5820const std::string zwp_locked_pointer_v1_t::interface_name =
"zwp_locked_pointer_v1";
5822zwp_locked_pointer_v1_t::operator zwp_locked_pointer_v1*()
const
5824 return reinterpret_cast<zwp_locked_pointer_v1*
> (c_ptr());
5829 marshal(1U, surface_x, surface_y);
5841 return std::static_pointer_cast<events_t>(get_events())->locked;
5846 return std::static_pointer_cast<events_t>(get_events())->unlocked;
5849int zwp_locked_pointer_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5851 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5855 if(events->locked) events->locked();
5858 if(events->unlocked) events->unlocked();
5864zwp_confined_pointer_v1_t::zwp_confined_pointer_v1_t(
const proxy_t &p)
5869 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5870 set_destroy_opcode(0U);
5872 set_interface(&zwp_confined_pointer_v1_interface);
5877zwp_confined_pointer_v1_t::zwp_confined_pointer_v1_t()
5879 set_interface(&zwp_confined_pointer_v1_interface);
5884zwp_confined_pointer_v1_t::zwp_confined_pointer_v1_t(zwp_confined_pointer_v1 *p, wrapper_type t)
5885 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5888 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5889 set_destroy_opcode(0U);
5891 set_interface(&zwp_confined_pointer_v1_interface);
5896zwp_confined_pointer_v1_t::zwp_confined_pointer_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5897 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5898 set_interface(&zwp_confined_pointer_v1_interface);
5905 return {*
this, construct_proxy_wrapper_tag()};
5908const std::string zwp_confined_pointer_v1_t::interface_name =
"zwp_confined_pointer_v1";
5910zwp_confined_pointer_v1_t::operator zwp_confined_pointer_v1*()
const
5912 return reinterpret_cast<zwp_confined_pointer_v1*
> (c_ptr());
5923 return std::static_pointer_cast<events_t>(get_events())->confined;
5928 return std::static_pointer_cast<events_t>(get_events())->unconfined;
5931int zwp_confined_pointer_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
5933 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5937 if(events->confined) events->confined();
5940 if(events->unconfined) events->unconfined();
5946zwp_pointer_gestures_v1_t::zwp_pointer_gestures_v1_t(
const proxy_t &p)
5951 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5953 set_interface(&zwp_pointer_gestures_v1_interface);
5958zwp_pointer_gestures_v1_t::zwp_pointer_gestures_v1_t()
5960 set_interface(&zwp_pointer_gestures_v1_interface);
5965zwp_pointer_gestures_v1_t::zwp_pointer_gestures_v1_t(zwp_pointer_gestures_v1 *p, wrapper_type t)
5966 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5969 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
5971 set_interface(&zwp_pointer_gestures_v1_interface);
5976zwp_pointer_gestures_v1_t::zwp_pointer_gestures_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
5977 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5978 set_interface(&zwp_pointer_gestures_v1_interface);
5985 return {*
this, construct_proxy_wrapper_tag()};
5988const std::string zwp_pointer_gestures_v1_t::interface_name =
"zwp_pointer_gestures_v1";
5990zwp_pointer_gestures_v1_t::operator zwp_pointer_gestures_v1*()
const
5992 return reinterpret_cast<zwp_pointer_gestures_v1*
> (c_ptr());
5997 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);
6004 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);
6022 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);
6032int zwp_pointer_gestures_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6037zwp_pointer_gesture_swipe_v1_t::zwp_pointer_gesture_swipe_v1_t(
const proxy_t &p)
6042 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6043 set_destroy_opcode(0U);
6045 set_interface(&zwp_pointer_gesture_swipe_v1_interface);
6050zwp_pointer_gesture_swipe_v1_t::zwp_pointer_gesture_swipe_v1_t()
6052 set_interface(&zwp_pointer_gesture_swipe_v1_interface);
6057zwp_pointer_gesture_swipe_v1_t::zwp_pointer_gesture_swipe_v1_t(zwp_pointer_gesture_swipe_v1 *p, wrapper_type t)
6058 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6061 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6062 set_destroy_opcode(0U);
6064 set_interface(&zwp_pointer_gesture_swipe_v1_interface);
6069zwp_pointer_gesture_swipe_v1_t::zwp_pointer_gesture_swipe_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6070 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6071 set_interface(&zwp_pointer_gesture_swipe_v1_interface);
6078 return {*
this, construct_proxy_wrapper_tag()};
6081const std::string zwp_pointer_gesture_swipe_v1_t::interface_name =
"zwp_pointer_gesture_swipe_v1";
6083zwp_pointer_gesture_swipe_v1_t::operator zwp_pointer_gesture_swipe_v1*()
const
6085 return reinterpret_cast<zwp_pointer_gesture_swipe_v1*
> (c_ptr());
6090 return std::static_pointer_cast<events_t>(get_events())->begin;
6095 return std::static_pointer_cast<events_t>(get_events())->update;
6100 return std::static_pointer_cast<events_t>(get_events())->end;
6103int zwp_pointer_gesture_swipe_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6105 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6109 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>());
6112 if(events->update) events->update(args[0].get<uint32_t>(), args[1].get<double>(), args[2].get<double>());
6115 if(events->end) events->end(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<int32_t>());
6121zwp_pointer_gesture_pinch_v1_t::zwp_pointer_gesture_pinch_v1_t(
const proxy_t &p)
6126 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6127 set_destroy_opcode(0U);
6129 set_interface(&zwp_pointer_gesture_pinch_v1_interface);
6134zwp_pointer_gesture_pinch_v1_t::zwp_pointer_gesture_pinch_v1_t()
6136 set_interface(&zwp_pointer_gesture_pinch_v1_interface);
6141zwp_pointer_gesture_pinch_v1_t::zwp_pointer_gesture_pinch_v1_t(zwp_pointer_gesture_pinch_v1 *p, wrapper_type t)
6142 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6145 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6146 set_destroy_opcode(0U);
6148 set_interface(&zwp_pointer_gesture_pinch_v1_interface);
6153zwp_pointer_gesture_pinch_v1_t::zwp_pointer_gesture_pinch_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6154 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6155 set_interface(&zwp_pointer_gesture_pinch_v1_interface);
6162 return {*
this, construct_proxy_wrapper_tag()};
6165const std::string zwp_pointer_gesture_pinch_v1_t::interface_name =
"zwp_pointer_gesture_pinch_v1";
6167zwp_pointer_gesture_pinch_v1_t::operator zwp_pointer_gesture_pinch_v1*()
const
6169 return reinterpret_cast<zwp_pointer_gesture_pinch_v1*
> (c_ptr());
6174 return std::static_pointer_cast<events_t>(get_events())->begin;
6179 return std::static_pointer_cast<events_t>(get_events())->update;
6184 return std::static_pointer_cast<events_t>(get_events())->end;
6187int zwp_pointer_gesture_pinch_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6189 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6193 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>());
6196 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>());
6199 if(events->end) events->end(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<int32_t>());
6205zwp_pointer_gesture_hold_v1_t::zwp_pointer_gesture_hold_v1_t(
const proxy_t &p)
6210 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6211 set_destroy_opcode(0U);
6213 set_interface(&zwp_pointer_gesture_hold_v1_interface);
6218zwp_pointer_gesture_hold_v1_t::zwp_pointer_gesture_hold_v1_t()
6220 set_interface(&zwp_pointer_gesture_hold_v1_interface);
6225zwp_pointer_gesture_hold_v1_t::zwp_pointer_gesture_hold_v1_t(zwp_pointer_gesture_hold_v1 *p, wrapper_type t)
6226 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6229 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6230 set_destroy_opcode(0U);
6232 set_interface(&zwp_pointer_gesture_hold_v1_interface);
6237zwp_pointer_gesture_hold_v1_t::zwp_pointer_gesture_hold_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6238 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6239 set_interface(&zwp_pointer_gesture_hold_v1_interface);
6246 return {*
this, construct_proxy_wrapper_tag()};
6249const std::string zwp_pointer_gesture_hold_v1_t::interface_name =
"zwp_pointer_gesture_hold_v1";
6251zwp_pointer_gesture_hold_v1_t::operator zwp_pointer_gesture_hold_v1*()
const
6253 return reinterpret_cast<zwp_pointer_gesture_hold_v1*
> (c_ptr());
6258 return std::static_pointer_cast<events_t>(get_events())->begin;
6263 return std::static_pointer_cast<events_t>(get_events())->end;
6266int zwp_pointer_gesture_hold_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6268 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6272 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>());
6275 if(events->end) events->end(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<int32_t>());
6281zwp_primary_selection_device_manager_v1_t::zwp_primary_selection_device_manager_v1_t(
const proxy_t &p)
6286 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6287 set_destroy_opcode(2U);
6289 set_interface(&zwp_primary_selection_device_manager_v1_interface);
6294zwp_primary_selection_device_manager_v1_t::zwp_primary_selection_device_manager_v1_t()
6296 set_interface(&zwp_primary_selection_device_manager_v1_interface);
6301zwp_primary_selection_device_manager_v1_t::zwp_primary_selection_device_manager_v1_t(zwp_primary_selection_device_manager_v1 *p, wrapper_type t)
6302 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6305 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6306 set_destroy_opcode(2U);
6308 set_interface(&zwp_primary_selection_device_manager_v1_interface);
6313zwp_primary_selection_device_manager_v1_t::zwp_primary_selection_device_manager_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6314 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6315 set_interface(&zwp_primary_selection_device_manager_v1_interface);
6322 return {*
this, construct_proxy_wrapper_tag()};
6325const std::string zwp_primary_selection_device_manager_v1_t::interface_name =
"zwp_primary_selection_device_manager_v1";
6327zwp_primary_selection_device_manager_v1_t::operator zwp_primary_selection_device_manager_v1*()
const
6329 return reinterpret_cast<zwp_primary_selection_device_manager_v1*
> (c_ptr());
6334 proxy_t p = marshal_constructor(0U, &zwp_primary_selection_source_v1_interface,
nullptr);
6341 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);
6342 return zwp_primary_selection_device_v1_t(p);
6346int 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)
6351zwp_primary_selection_device_v1_t::zwp_primary_selection_device_v1_t(
const proxy_t &p)
6356 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6357 set_destroy_opcode(1U);
6359 set_interface(&zwp_primary_selection_device_v1_interface);
6361 {
return zwp_primary_selection_device_v1_t(p); });
6364zwp_primary_selection_device_v1_t::zwp_primary_selection_device_v1_t()
6366 set_interface(&zwp_primary_selection_device_v1_interface);
6368 {
return zwp_primary_selection_device_v1_t(p); });
6371zwp_primary_selection_device_v1_t::zwp_primary_selection_device_v1_t(zwp_primary_selection_device_v1 *p, wrapper_type t)
6372 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6375 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6376 set_destroy_opcode(1U);
6378 set_interface(&zwp_primary_selection_device_v1_interface);
6380 {
return zwp_primary_selection_device_v1_t(p); });
6383zwp_primary_selection_device_v1_t::zwp_primary_selection_device_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6384 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6385 set_interface(&zwp_primary_selection_device_v1_interface);
6387 {
return zwp_primary_selection_device_v1_t(p); });
6390zwp_primary_selection_device_v1_t zwp_primary_selection_device_v1_t::proxy_create_wrapper()
6392 return {*
this, construct_proxy_wrapper_tag()};
6395const std::string zwp_primary_selection_device_v1_t::interface_name =
"zwp_primary_selection_device_v1";
6397zwp_primary_selection_device_v1_t::operator zwp_primary_selection_device_v1*()
const
6399 return reinterpret_cast<zwp_primary_selection_device_v1*
> (c_ptr());
6404 marshal(0U, source.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(source.
c_ptr()) :
nullptr, serial);
6410 return std::static_pointer_cast<events_t>(get_events())->data_offer;
6415 return std::static_pointer_cast<events_t>(get_events())->selection;
6418int zwp_primary_selection_device_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6420 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6433zwp_primary_selection_offer_v1_t::zwp_primary_selection_offer_v1_t(
const proxy_t &p)
6438 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6439 set_destroy_opcode(1U);
6441 set_interface(&zwp_primary_selection_offer_v1_interface);
6446zwp_primary_selection_offer_v1_t::zwp_primary_selection_offer_v1_t()
6448 set_interface(&zwp_primary_selection_offer_v1_interface);
6453zwp_primary_selection_offer_v1_t::zwp_primary_selection_offer_v1_t(zwp_primary_selection_offer_v1 *p, wrapper_type t)
6454 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6457 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6458 set_destroy_opcode(1U);
6460 set_interface(&zwp_primary_selection_offer_v1_interface);
6465zwp_primary_selection_offer_v1_t::zwp_primary_selection_offer_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6466 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6467 set_interface(&zwp_primary_selection_offer_v1_interface);
6474 return {*
this, construct_proxy_wrapper_tag()};
6477const std::string zwp_primary_selection_offer_v1_t::interface_name =
"zwp_primary_selection_offer_v1";
6479zwp_primary_selection_offer_v1_t::operator zwp_primary_selection_offer_v1*()
const
6481 return reinterpret_cast<zwp_primary_selection_offer_v1*
> (c_ptr());
6486 marshal(0U, mime_type, argument_t::fd(fd));
6492 return std::static_pointer_cast<events_t>(get_events())->offer;
6495int zwp_primary_selection_offer_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6497 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6501 if(events->offer) events->offer(args[0].get<std::string>());
6507zwp_primary_selection_source_v1_t::zwp_primary_selection_source_v1_t(
const proxy_t &p)
6512 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6513 set_destroy_opcode(1U);
6515 set_interface(&zwp_primary_selection_source_v1_interface);
6520zwp_primary_selection_source_v1_t::zwp_primary_selection_source_v1_t()
6522 set_interface(&zwp_primary_selection_source_v1_interface);
6527zwp_primary_selection_source_v1_t::zwp_primary_selection_source_v1_t(zwp_primary_selection_source_v1 *p, wrapper_type t)
6528 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6531 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6532 set_destroy_opcode(1U);
6534 set_interface(&zwp_primary_selection_source_v1_interface);
6539zwp_primary_selection_source_v1_t::zwp_primary_selection_source_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6540 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6541 set_interface(&zwp_primary_selection_source_v1_interface);
6548 return {*
this, construct_proxy_wrapper_tag()};
6551const std::string zwp_primary_selection_source_v1_t::interface_name =
"zwp_primary_selection_source_v1";
6553zwp_primary_selection_source_v1_t::operator zwp_primary_selection_source_v1*()
const
6555 return reinterpret_cast<zwp_primary_selection_source_v1*
> (c_ptr());
6560 marshal(0U, mime_type);
6566 return std::static_pointer_cast<events_t>(get_events())->send;
6571 return std::static_pointer_cast<events_t>(get_events())->cancelled;
6574int zwp_primary_selection_source_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6576 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6580 if(events->send) events->send(args[0].get<std::string>(), args[1].get<int>());
6583 if(events->cancelled) events->cancelled();
6589zwp_relative_pointer_manager_v1_t::zwp_relative_pointer_manager_v1_t(
const proxy_t &p)
6594 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6595 set_destroy_opcode(0U);
6597 set_interface(&zwp_relative_pointer_manager_v1_interface);
6602zwp_relative_pointer_manager_v1_t::zwp_relative_pointer_manager_v1_t()
6604 set_interface(&zwp_relative_pointer_manager_v1_interface);
6609zwp_relative_pointer_manager_v1_t::zwp_relative_pointer_manager_v1_t(zwp_relative_pointer_manager_v1 *p, wrapper_type t)
6610 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6613 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6614 set_destroy_opcode(0U);
6616 set_interface(&zwp_relative_pointer_manager_v1_interface);
6621zwp_relative_pointer_manager_v1_t::zwp_relative_pointer_manager_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6622 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6623 set_interface(&zwp_relative_pointer_manager_v1_interface);
6630 return {*
this, construct_proxy_wrapper_tag()};
6633const std::string zwp_relative_pointer_manager_v1_t::interface_name =
"zwp_relative_pointer_manager_v1";
6635zwp_relative_pointer_manager_v1_t::operator zwp_relative_pointer_manager_v1*()
const
6637 return reinterpret_cast<zwp_relative_pointer_manager_v1*
> (c_ptr());
6642 proxy_t p = marshal_constructor(1U, &zwp_relative_pointer_v1_interface,
nullptr, pointer.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(pointer.
c_ptr()) :
nullptr);
6647int zwp_relative_pointer_manager_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6652zwp_relative_pointer_v1_t::zwp_relative_pointer_v1_t(
const proxy_t &p)
6657 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6658 set_destroy_opcode(0U);
6660 set_interface(&zwp_relative_pointer_v1_interface);
6665zwp_relative_pointer_v1_t::zwp_relative_pointer_v1_t()
6667 set_interface(&zwp_relative_pointer_v1_interface);
6672zwp_relative_pointer_v1_t::zwp_relative_pointer_v1_t(zwp_relative_pointer_v1 *p, wrapper_type t)
6673 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6676 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6677 set_destroy_opcode(0U);
6679 set_interface(&zwp_relative_pointer_v1_interface);
6684zwp_relative_pointer_v1_t::zwp_relative_pointer_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6685 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6686 set_interface(&zwp_relative_pointer_v1_interface);
6693 return {*
this, construct_proxy_wrapper_tag()};
6696const std::string zwp_relative_pointer_v1_t::interface_name =
"zwp_relative_pointer_v1";
6698zwp_relative_pointer_v1_t::operator zwp_relative_pointer_v1*()
const
6700 return reinterpret_cast<zwp_relative_pointer_v1*
> (c_ptr());
6705 return std::static_pointer_cast<events_t>(get_events())->relative_motion;
6708int zwp_relative_pointer_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6710 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6714 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>());
6720zwp_tablet_manager_v1_t::zwp_tablet_manager_v1_t(
const proxy_t &p)
6725 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6726 set_destroy_opcode(1U);
6728 set_interface(&zwp_tablet_manager_v1_interface);
6733zwp_tablet_manager_v1_t::zwp_tablet_manager_v1_t()
6735 set_interface(&zwp_tablet_manager_v1_interface);
6740zwp_tablet_manager_v1_t::zwp_tablet_manager_v1_t(zwp_tablet_manager_v1 *p, wrapper_type t)
6741 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6744 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6745 set_destroy_opcode(1U);
6747 set_interface(&zwp_tablet_manager_v1_interface);
6752zwp_tablet_manager_v1_t::zwp_tablet_manager_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6753 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6754 set_interface(&zwp_tablet_manager_v1_interface);
6761 return {*
this, construct_proxy_wrapper_tag()};
6764const std::string zwp_tablet_manager_v1_t::interface_name =
"zwp_tablet_manager_v1";
6766zwp_tablet_manager_v1_t::operator zwp_tablet_manager_v1*()
const
6768 return reinterpret_cast<zwp_tablet_manager_v1*
> (c_ptr());
6773 proxy_t p = marshal_constructor(0U, &zwp_tablet_seat_v1_interface,
nullptr, seat.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(seat.
c_ptr()) :
nullptr);
6778int zwp_tablet_manager_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6783zwp_tablet_seat_v1_t::zwp_tablet_seat_v1_t(
const proxy_t &p)
6788 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6789 set_destroy_opcode(0U);
6791 set_interface(&zwp_tablet_seat_v1_interface);
6796zwp_tablet_seat_v1_t::zwp_tablet_seat_v1_t()
6798 set_interface(&zwp_tablet_seat_v1_interface);
6803zwp_tablet_seat_v1_t::zwp_tablet_seat_v1_t(zwp_tablet_seat_v1 *p, wrapper_type t)
6804 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6807 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6808 set_destroy_opcode(0U);
6810 set_interface(&zwp_tablet_seat_v1_interface);
6815zwp_tablet_seat_v1_t::zwp_tablet_seat_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6816 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6817 set_interface(&zwp_tablet_seat_v1_interface);
6824 return {*
this, construct_proxy_wrapper_tag()};
6827const std::string zwp_tablet_seat_v1_t::interface_name =
"zwp_tablet_seat_v1";
6829zwp_tablet_seat_v1_t::operator zwp_tablet_seat_v1*()
const
6831 return reinterpret_cast<zwp_tablet_seat_v1*
> (c_ptr());
6836 return std::static_pointer_cast<events_t>(get_events())->tablet_added;
6841 return std::static_pointer_cast<events_t>(get_events())->tool_added;
6844int zwp_tablet_seat_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
6846 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6850 if(events->tablet_added) events->tablet_added(
zwp_tablet_v1_t(args[0].get<proxy_t>()));
6859zwp_tablet_tool_v1_t::zwp_tablet_tool_v1_t(
const proxy_t &p)
6864 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6865 set_destroy_opcode(1U);
6867 set_interface(&zwp_tablet_tool_v1_interface);
6872zwp_tablet_tool_v1_t::zwp_tablet_tool_v1_t()
6874 set_interface(&zwp_tablet_tool_v1_interface);
6879zwp_tablet_tool_v1_t::zwp_tablet_tool_v1_t(zwp_tablet_tool_v1 *p, wrapper_type t)
6880 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6883 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
6884 set_destroy_opcode(1U);
6886 set_interface(&zwp_tablet_tool_v1_interface);
6891zwp_tablet_tool_v1_t::zwp_tablet_tool_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
6892 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6893 set_interface(&zwp_tablet_tool_v1_interface);
6900 return {*
this, construct_proxy_wrapper_tag()};
6903const std::string zwp_tablet_tool_v1_t::interface_name =
"zwp_tablet_tool_v1";
6905zwp_tablet_tool_v1_t::operator zwp_tablet_tool_v1*()
const
6907 return reinterpret_cast<zwp_tablet_tool_v1*
> (c_ptr());
6912 marshal(0U, serial, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr, hotspot_x, hotspot_y);
6918 return std::static_pointer_cast<events_t>(get_events())->type;
6923 return std::static_pointer_cast<events_t>(get_events())->hardware_serial;
6928 return std::static_pointer_cast<events_t>(get_events())->hardware_id_wacom;
6933 return std::static_pointer_cast<events_t>(get_events())->capability;
6938 return std::static_pointer_cast<events_t>(get_events())->done;
6943 return std::static_pointer_cast<events_t>(get_events())->removed;
6948 return std::static_pointer_cast<events_t>(get_events())->proximity_in;
6953 return std::static_pointer_cast<events_t>(get_events())->proximity_out;
6958 return std::static_pointer_cast<events_t>(get_events())->down;
6963 return std::static_pointer_cast<events_t>(get_events())->up;
6968 return std::static_pointer_cast<events_t>(get_events())->motion;
6973 return std::static_pointer_cast<events_t>(get_events())->pressure;
6978 return std::static_pointer_cast<events_t>(get_events())->distance;
6983 return std::static_pointer_cast<events_t>(get_events())->tilt;
6988 return std::static_pointer_cast<events_t>(get_events())->rotation;
6993 return std::static_pointer_cast<events_t>(get_events())->slider;
6998 return std::static_pointer_cast<events_t>(get_events())->wheel;
7003 return std::static_pointer_cast<events_t>(get_events())->button;
7008 return std::static_pointer_cast<events_t>(get_events())->frame;
7011int zwp_tablet_tool_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
7013 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7017 if(events->type) events->type(zwp_tablet_tool_v1_type(args[0].get<uint32_t>()));
7020 if(events->hardware_serial) events->hardware_serial(args[0].get<uint32_t>(), args[1].get<uint32_t>());
7023 if(events->hardware_id_wacom) events->hardware_id_wacom(args[0].get<uint32_t>(), args[1].get<uint32_t>());
7026 if(events->capability) events->capability(zwp_tablet_tool_v1_capability(args[0].get<uint32_t>()));
7029 if(events->done) events->done();
7032 if(events->removed) events->removed();
7035 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>()));
7038 if(events->proximity_out) events->proximity_out();
7041 if(events->down) events->down(args[0].get<uint32_t>());
7044 if(events->up) events->up();
7047 if(events->motion) events->motion(args[0].get<double>(), args[1].get<double>());
7050 if(events->pressure) events->pressure(args[0].get<uint32_t>());
7053 if(events->distance) events->distance(args[0].get<uint32_t>());
7056 if(events->tilt) events->tilt(args[0].get<int32_t>(), args[1].get<int32_t>());
7059 if(events->rotation) events->rotation(args[0].get<int32_t>());
7062 if(events->slider) events->slider(args[0].get<int32_t>());
7065 if(events->wheel) events->wheel(args[0].get<int32_t>(), args[1].get<int32_t>());
7068 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>()));
7071 if(events->frame) events->frame(args[0].get<uint32_t>());
7081zwp_tablet_v1_t::zwp_tablet_v1_t(
const proxy_t &p)
7086 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7087 set_destroy_opcode(0U);
7089 set_interface(&zwp_tablet_v1_interface);
7094zwp_tablet_v1_t::zwp_tablet_v1_t()
7096 set_interface(&zwp_tablet_v1_interface);
7101zwp_tablet_v1_t::zwp_tablet_v1_t(zwp_tablet_v1 *p, wrapper_type t)
7102 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7105 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7106 set_destroy_opcode(0U);
7108 set_interface(&zwp_tablet_v1_interface);
7113zwp_tablet_v1_t::zwp_tablet_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
7114 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7115 set_interface(&zwp_tablet_v1_interface);
7122 return {*
this, construct_proxy_wrapper_tag()};
7125const std::string zwp_tablet_v1_t::interface_name =
"zwp_tablet_v1";
7127zwp_tablet_v1_t::operator zwp_tablet_v1*()
const
7129 return reinterpret_cast<zwp_tablet_v1*
> (c_ptr());
7134 return std::static_pointer_cast<events_t>(get_events())->name;
7139 return std::static_pointer_cast<events_t>(get_events())->id;
7144 return std::static_pointer_cast<events_t>(get_events())->path;
7149 return std::static_pointer_cast<events_t>(get_events())->done;
7154 return std::static_pointer_cast<events_t>(get_events())->removed;
7157int zwp_tablet_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
7159 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7163 if(events->name) events->name(args[0].get<std::string>());
7166 if(events->id) events->id(args[0].get<uint32_t>(), args[1].get<uint32_t>());
7169 if(events->path) events->path(args[0].get<std::string>());
7172 if(events->done) events->done();
7175 if(events->removed) events->removed();
7181zwp_tablet_manager_v2_t::zwp_tablet_manager_v2_t(
const proxy_t &p)
7186 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7187 set_destroy_opcode(1U);
7189 set_interface(&zwp_tablet_manager_v2_interface);
7194zwp_tablet_manager_v2_t::zwp_tablet_manager_v2_t()
7196 set_interface(&zwp_tablet_manager_v2_interface);
7201zwp_tablet_manager_v2_t::zwp_tablet_manager_v2_t(zwp_tablet_manager_v2 *p, wrapper_type t)
7202 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7205 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7206 set_destroy_opcode(1U);
7208 set_interface(&zwp_tablet_manager_v2_interface);
7213zwp_tablet_manager_v2_t::zwp_tablet_manager_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
7214 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7215 set_interface(&zwp_tablet_manager_v2_interface);
7222 return {*
this, construct_proxy_wrapper_tag()};
7225const std::string zwp_tablet_manager_v2_t::interface_name =
"zwp_tablet_manager_v2";
7227zwp_tablet_manager_v2_t::operator zwp_tablet_manager_v2*()
const
7229 return reinterpret_cast<zwp_tablet_manager_v2*
> (c_ptr());
7234 proxy_t p = marshal_constructor(0U, &zwp_tablet_seat_v2_interface,
nullptr, seat.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(seat.
c_ptr()) :
nullptr);
7239int zwp_tablet_manager_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
7244zwp_tablet_seat_v2_t::zwp_tablet_seat_v2_t(
const proxy_t &p)
7249 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7250 set_destroy_opcode(0U);
7252 set_interface(&zwp_tablet_seat_v2_interface);
7257zwp_tablet_seat_v2_t::zwp_tablet_seat_v2_t()
7259 set_interface(&zwp_tablet_seat_v2_interface);
7264zwp_tablet_seat_v2_t::zwp_tablet_seat_v2_t(zwp_tablet_seat_v2 *p, wrapper_type t)
7265 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7268 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7269 set_destroy_opcode(0U);
7271 set_interface(&zwp_tablet_seat_v2_interface);
7276zwp_tablet_seat_v2_t::zwp_tablet_seat_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
7277 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7278 set_interface(&zwp_tablet_seat_v2_interface);
7285 return {*
this, construct_proxy_wrapper_tag()};
7288const std::string zwp_tablet_seat_v2_t::interface_name =
"zwp_tablet_seat_v2";
7290zwp_tablet_seat_v2_t::operator zwp_tablet_seat_v2*()
const
7292 return reinterpret_cast<zwp_tablet_seat_v2*
> (c_ptr());
7297 return std::static_pointer_cast<events_t>(get_events())->tablet_added;
7302 return std::static_pointer_cast<events_t>(get_events())->tool_added;
7307 return std::static_pointer_cast<events_t>(get_events())->pad_added;
7310int zwp_tablet_seat_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
7312 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7316 if(events->tablet_added) events->tablet_added(
zwp_tablet_v2_t(args[0].get<proxy_t>()));
7328zwp_tablet_tool_v2_t::zwp_tablet_tool_v2_t(
const proxy_t &p)
7333 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7334 set_destroy_opcode(1U);
7336 set_interface(&zwp_tablet_tool_v2_interface);
7341zwp_tablet_tool_v2_t::zwp_tablet_tool_v2_t()
7343 set_interface(&zwp_tablet_tool_v2_interface);
7348zwp_tablet_tool_v2_t::zwp_tablet_tool_v2_t(zwp_tablet_tool_v2 *p, wrapper_type t)
7349 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7352 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7353 set_destroy_opcode(1U);
7355 set_interface(&zwp_tablet_tool_v2_interface);
7360zwp_tablet_tool_v2_t::zwp_tablet_tool_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
7361 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7362 set_interface(&zwp_tablet_tool_v2_interface);
7369 return {*
this, construct_proxy_wrapper_tag()};
7372const std::string zwp_tablet_tool_v2_t::interface_name =
"zwp_tablet_tool_v2";
7374zwp_tablet_tool_v2_t::operator zwp_tablet_tool_v2*()
const
7376 return reinterpret_cast<zwp_tablet_tool_v2*
> (c_ptr());
7381 marshal(0U, serial, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr, hotspot_x, hotspot_y);
7387 return std::static_pointer_cast<events_t>(get_events())->type;
7392 return std::static_pointer_cast<events_t>(get_events())->hardware_serial;
7397 return std::static_pointer_cast<events_t>(get_events())->hardware_id_wacom;
7402 return std::static_pointer_cast<events_t>(get_events())->capability;
7407 return std::static_pointer_cast<events_t>(get_events())->done;
7412 return std::static_pointer_cast<events_t>(get_events())->removed;
7417 return std::static_pointer_cast<events_t>(get_events())->proximity_in;
7422 return std::static_pointer_cast<events_t>(get_events())->proximity_out;
7427 return std::static_pointer_cast<events_t>(get_events())->down;
7432 return std::static_pointer_cast<events_t>(get_events())->up;
7437 return std::static_pointer_cast<events_t>(get_events())->motion;
7442 return std::static_pointer_cast<events_t>(get_events())->pressure;
7447 return std::static_pointer_cast<events_t>(get_events())->distance;
7452 return std::static_pointer_cast<events_t>(get_events())->tilt;
7457 return std::static_pointer_cast<events_t>(get_events())->rotation;
7462 return std::static_pointer_cast<events_t>(get_events())->slider;
7467 return std::static_pointer_cast<events_t>(get_events())->wheel;
7472 return std::static_pointer_cast<events_t>(get_events())->button;
7477 return std::static_pointer_cast<events_t>(get_events())->frame;
7480int zwp_tablet_tool_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
7482 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7486 if(events->type) events->type(zwp_tablet_tool_v2_type(args[0].get<uint32_t>()));
7489 if(events->hardware_serial) events->hardware_serial(args[0].get<uint32_t>(), args[1].get<uint32_t>());
7492 if(events->hardware_id_wacom) events->hardware_id_wacom(args[0].get<uint32_t>(), args[1].get<uint32_t>());
7495 if(events->capability) events->capability(zwp_tablet_tool_v2_capability(args[0].get<uint32_t>()));
7498 if(events->done) events->done();
7501 if(events->removed) events->removed();
7504 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>()));
7507 if(events->proximity_out) events->proximity_out();
7510 if(events->down) events->down(args[0].get<uint32_t>());
7513 if(events->up) events->up();
7516 if(events->motion) events->motion(args[0].get<double>(), args[1].get<double>());
7519 if(events->pressure) events->pressure(args[0].get<uint32_t>());
7522 if(events->distance) events->distance(args[0].get<uint32_t>());
7525 if(events->tilt) events->tilt(args[0].get<double>(), args[1].get<double>());
7528 if(events->rotation) events->rotation(args[0].get<double>());
7531 if(events->slider) events->slider(args[0].get<int32_t>());
7534 if(events->wheel) events->wheel(args[0].get<double>(), args[1].get<int32_t>());
7537 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>()));
7540 if(events->frame) events->frame(args[0].get<uint32_t>());
7550zwp_tablet_v2_t::zwp_tablet_v2_t(
const proxy_t &p)
7555 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7556 set_destroy_opcode(0U);
7558 set_interface(&zwp_tablet_v2_interface);
7563zwp_tablet_v2_t::zwp_tablet_v2_t()
7565 set_interface(&zwp_tablet_v2_interface);
7570zwp_tablet_v2_t::zwp_tablet_v2_t(zwp_tablet_v2 *p, wrapper_type t)
7571 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7574 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7575 set_destroy_opcode(0U);
7577 set_interface(&zwp_tablet_v2_interface);
7582zwp_tablet_v2_t::zwp_tablet_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
7583 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7584 set_interface(&zwp_tablet_v2_interface);
7591 return {*
this, construct_proxy_wrapper_tag()};
7594const std::string zwp_tablet_v2_t::interface_name =
"zwp_tablet_v2";
7596zwp_tablet_v2_t::operator zwp_tablet_v2*()
const
7598 return reinterpret_cast<zwp_tablet_v2*
> (c_ptr());
7603 return std::static_pointer_cast<events_t>(get_events())->name;
7608 return std::static_pointer_cast<events_t>(get_events())->id;
7613 return std::static_pointer_cast<events_t>(get_events())->path;
7618 return std::static_pointer_cast<events_t>(get_events())->done;
7623 return std::static_pointer_cast<events_t>(get_events())->removed;
7626int zwp_tablet_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
7628 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7632 if(events->name) events->name(args[0].get<std::string>());
7635 if(events->id) events->id(args[0].get<uint32_t>(), args[1].get<uint32_t>());
7638 if(events->path) events->path(args[0].get<std::string>());
7641 if(events->done) events->done();
7644 if(events->removed) events->removed();
7650zwp_tablet_pad_ring_v2_t::zwp_tablet_pad_ring_v2_t(
const proxy_t &p)
7655 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7656 set_destroy_opcode(1U);
7658 set_interface(&zwp_tablet_pad_ring_v2_interface);
7663zwp_tablet_pad_ring_v2_t::zwp_tablet_pad_ring_v2_t()
7665 set_interface(&zwp_tablet_pad_ring_v2_interface);
7670zwp_tablet_pad_ring_v2_t::zwp_tablet_pad_ring_v2_t(zwp_tablet_pad_ring_v2 *p, wrapper_type t)
7671 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7674 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7675 set_destroy_opcode(1U);
7677 set_interface(&zwp_tablet_pad_ring_v2_interface);
7682zwp_tablet_pad_ring_v2_t::zwp_tablet_pad_ring_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
7683 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7684 set_interface(&zwp_tablet_pad_ring_v2_interface);
7691 return {*
this, construct_proxy_wrapper_tag()};
7694const std::string zwp_tablet_pad_ring_v2_t::interface_name =
"zwp_tablet_pad_ring_v2";
7696zwp_tablet_pad_ring_v2_t::operator zwp_tablet_pad_ring_v2*()
const
7698 return reinterpret_cast<zwp_tablet_pad_ring_v2*
> (c_ptr());
7703 marshal(0U, description, serial);
7709 return std::static_pointer_cast<events_t>(get_events())->source;
7714 return std::static_pointer_cast<events_t>(get_events())->angle;
7719 return std::static_pointer_cast<events_t>(get_events())->stop;
7724 return std::static_pointer_cast<events_t>(get_events())->frame;
7727int zwp_tablet_pad_ring_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
7729 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7733 if(events->source) events->source(zwp_tablet_pad_ring_v2_source(args[0].get<uint32_t>()));
7736 if(events->angle) events->angle(args[0].get<double>());
7739 if(events->stop) events->stop();
7742 if(events->frame) events->frame(args[0].get<uint32_t>());
7749zwp_tablet_pad_strip_v2_t::zwp_tablet_pad_strip_v2_t(
const proxy_t &p)
7754 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7755 set_destroy_opcode(1U);
7757 set_interface(&zwp_tablet_pad_strip_v2_interface);
7762zwp_tablet_pad_strip_v2_t::zwp_tablet_pad_strip_v2_t()
7764 set_interface(&zwp_tablet_pad_strip_v2_interface);
7769zwp_tablet_pad_strip_v2_t::zwp_tablet_pad_strip_v2_t(zwp_tablet_pad_strip_v2 *p, wrapper_type t)
7770 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7773 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7774 set_destroy_opcode(1U);
7776 set_interface(&zwp_tablet_pad_strip_v2_interface);
7781zwp_tablet_pad_strip_v2_t::zwp_tablet_pad_strip_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
7782 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7783 set_interface(&zwp_tablet_pad_strip_v2_interface);
7790 return {*
this, construct_proxy_wrapper_tag()};
7793const std::string zwp_tablet_pad_strip_v2_t::interface_name =
"zwp_tablet_pad_strip_v2";
7795zwp_tablet_pad_strip_v2_t::operator zwp_tablet_pad_strip_v2*()
const
7797 return reinterpret_cast<zwp_tablet_pad_strip_v2*
> (c_ptr());
7802 marshal(0U, description, serial);
7808 return std::static_pointer_cast<events_t>(get_events())->source;
7813 return std::static_pointer_cast<events_t>(get_events())->position;
7818 return std::static_pointer_cast<events_t>(get_events())->stop;
7823 return std::static_pointer_cast<events_t>(get_events())->frame;
7826int zwp_tablet_pad_strip_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
7828 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7832 if(events->source) events->source(zwp_tablet_pad_strip_v2_source(args[0].get<uint32_t>()));
7835 if(events->position) events->position(args[0].get<uint32_t>());
7838 if(events->stop) events->stop();
7841 if(events->frame) events->frame(args[0].get<uint32_t>());
7848zwp_tablet_pad_group_v2_t::zwp_tablet_pad_group_v2_t(
const proxy_t &p)
7853 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7854 set_destroy_opcode(0U);
7856 set_interface(&zwp_tablet_pad_group_v2_interface);
7861zwp_tablet_pad_group_v2_t::zwp_tablet_pad_group_v2_t()
7863 set_interface(&zwp_tablet_pad_group_v2_interface);
7868zwp_tablet_pad_group_v2_t::zwp_tablet_pad_group_v2_t(zwp_tablet_pad_group_v2 *p, wrapper_type t)
7869 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7872 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7873 set_destroy_opcode(0U);
7875 set_interface(&zwp_tablet_pad_group_v2_interface);
7880zwp_tablet_pad_group_v2_t::zwp_tablet_pad_group_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
7881 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7882 set_interface(&zwp_tablet_pad_group_v2_interface);
7889 return {*
this, construct_proxy_wrapper_tag()};
7892const std::string zwp_tablet_pad_group_v2_t::interface_name =
"zwp_tablet_pad_group_v2";
7894zwp_tablet_pad_group_v2_t::operator zwp_tablet_pad_group_v2*()
const
7896 return reinterpret_cast<zwp_tablet_pad_group_v2*
> (c_ptr());
7901 return std::static_pointer_cast<events_t>(get_events())->buttons;
7906 return std::static_pointer_cast<events_t>(get_events())->ring;
7911 return std::static_pointer_cast<events_t>(get_events())->strip;
7916 return std::static_pointer_cast<events_t>(get_events())->modes;
7921 return std::static_pointer_cast<events_t>(get_events())->done;
7926 return std::static_pointer_cast<events_t>(get_events())->mode_switch;
7929int zwp_tablet_pad_group_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
7931 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7935 if(events->buttons) events->buttons(args[0].get<array_t>());
7944 if(events->modes) events->modes(args[0].get<uint32_t>());
7947 if(events->done) events->done();
7950 if(events->mode_switch) events->mode_switch(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<uint32_t>());
7956zwp_tablet_pad_v2_t::zwp_tablet_pad_v2_t(
const proxy_t &p)
7961 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7962 set_destroy_opcode(1U);
7964 set_interface(&zwp_tablet_pad_v2_interface);
7969zwp_tablet_pad_v2_t::zwp_tablet_pad_v2_t()
7971 set_interface(&zwp_tablet_pad_v2_interface);
7976zwp_tablet_pad_v2_t::zwp_tablet_pad_v2_t(zwp_tablet_pad_v2 *p, wrapper_type t)
7977 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7980 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
7981 set_destroy_opcode(1U);
7983 set_interface(&zwp_tablet_pad_v2_interface);
7988zwp_tablet_pad_v2_t::zwp_tablet_pad_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
7989 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7990 set_interface(&zwp_tablet_pad_v2_interface);
7997 return {*
this, construct_proxy_wrapper_tag()};
8000const std::string zwp_tablet_pad_v2_t::interface_name =
"zwp_tablet_pad_v2";
8002zwp_tablet_pad_v2_t::operator zwp_tablet_pad_v2*()
const
8004 return reinterpret_cast<zwp_tablet_pad_v2*
> (c_ptr());
8009 marshal(0U, button, description, serial);
8015 return std::static_pointer_cast<events_t>(get_events())->group;
8020 return std::static_pointer_cast<events_t>(get_events())->path;
8025 return std::static_pointer_cast<events_t>(get_events())->buttons;
8030 return std::static_pointer_cast<events_t>(get_events())->done;
8035 return std::static_pointer_cast<events_t>(get_events())->button;
8040 return std::static_pointer_cast<events_t>(get_events())->enter;
8045 return std::static_pointer_cast<events_t>(get_events())->leave;
8050 return std::static_pointer_cast<events_t>(get_events())->removed;
8053int zwp_tablet_pad_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
8055 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
8062 if(events->path) events->path(args[0].get<std::string>());
8065 if(events->buttons) events->buttons(args[0].get<uint32_t>());
8068 if(events->done) events->done();
8071 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>()));
8074 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>()));
8077 if(events->leave) events->leave(args[0].get<uint32_t>(),
surface_t(args[1].get<proxy_t>()));
8080 if(events->removed) events->removed();
8087zwp_text_input_v1_t::zwp_text_input_v1_t(
const proxy_t &p)
8092 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8094 set_interface(&zwp_text_input_v1_interface);
8099zwp_text_input_v1_t::zwp_text_input_v1_t()
8101 set_interface(&zwp_text_input_v1_interface);
8106zwp_text_input_v1_t::zwp_text_input_v1_t(zwp_text_input_v1 *p, wrapper_type t)
8107 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8110 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8112 set_interface(&zwp_text_input_v1_interface);
8117zwp_text_input_v1_t::zwp_text_input_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
8118 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8119 set_interface(&zwp_text_input_v1_interface);
8126 return {*
this, construct_proxy_wrapper_tag()};
8129const std::string zwp_text_input_v1_t::interface_name =
"zwp_text_input_v1";
8131zwp_text_input_v1_t::operator zwp_text_input_v1*()
const
8133 return reinterpret_cast<zwp_text_input_v1*
> (c_ptr());
8168 marshal(5U, text, cursor, anchor);
8174 marshal(6U,
static_cast<uint32_t
>(hint),
static_cast<uint32_t
>(purpose));
8180 marshal(7U, x, y, width, height);
8186 marshal(8U, language);
8192 marshal(9U, serial);
8198 marshal(10U, button, index);
8204 return std::static_pointer_cast<events_t>(get_events())->enter;
8209 return std::static_pointer_cast<events_t>(get_events())->leave;
8214 return std::static_pointer_cast<events_t>(get_events())->modifiers_map;
8219 return std::static_pointer_cast<events_t>(get_events())->input_panel_state;
8224 return std::static_pointer_cast<events_t>(get_events())->preedit_string;
8229 return std::static_pointer_cast<events_t>(get_events())->preedit_styling;
8234 return std::static_pointer_cast<events_t>(get_events())->preedit_cursor;
8239 return std::static_pointer_cast<events_t>(get_events())->commit_string;
8244 return std::static_pointer_cast<events_t>(get_events())->cursor_position;
8249 return std::static_pointer_cast<events_t>(get_events())->delete_surrounding_text;
8254 return std::static_pointer_cast<events_t>(get_events())->keysym;
8259 return std::static_pointer_cast<events_t>(get_events())->language;
8264 return std::static_pointer_cast<events_t>(get_events())->text_direction;
8267int zwp_text_input_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
8269 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
8273 if(events->enter) events->enter(
surface_t(args[0].get<proxy_t>()));
8276 if(events->leave) events->leave();
8279 if(events->modifiers_map) events->modifiers_map(args[0].get<array_t>());
8282 if(events->input_panel_state) events->input_panel_state(args[0].get<uint32_t>());
8285 if(events->preedit_string) events->preedit_string(args[0].get<uint32_t>(), args[1].get<std::string>(), args[2].get<std::string>());
8288 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>()));
8291 if(events->preedit_cursor) events->preedit_cursor(args[0].get<int32_t>());
8294 if(events->commit_string) events->commit_string(args[0].get<uint32_t>(), args[1].get<std::string>());
8297 if(events->cursor_position) events->cursor_position(args[0].get<int32_t>(), args[1].get<int32_t>());
8300 if(events->delete_surrounding_text) events->delete_surrounding_text(args[0].get<int32_t>(), args[1].get<uint32_t>());
8303 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>());
8306 if(events->language) events->language(args[0].get<uint32_t>(), args[1].get<std::string>());
8309 if(events->text_direction) events->text_direction(args[0].get<uint32_t>(), zwp_text_input_v1_text_direction(args[1].get<uint32_t>()));
8332zwp_text_input_manager_v1_t::zwp_text_input_manager_v1_t(
const proxy_t &p)
8337 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8339 set_interface(&zwp_text_input_manager_v1_interface);
8344zwp_text_input_manager_v1_t::zwp_text_input_manager_v1_t()
8346 set_interface(&zwp_text_input_manager_v1_interface);
8351zwp_text_input_manager_v1_t::zwp_text_input_manager_v1_t(zwp_text_input_manager_v1 *p, wrapper_type t)
8352 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8355 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8357 set_interface(&zwp_text_input_manager_v1_interface);
8362zwp_text_input_manager_v1_t::zwp_text_input_manager_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
8363 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8364 set_interface(&zwp_text_input_manager_v1_interface);
8371 return {*
this, construct_proxy_wrapper_tag()};
8374const std::string zwp_text_input_manager_v1_t::interface_name =
"zwp_text_input_manager_v1";
8376zwp_text_input_manager_v1_t::operator zwp_text_input_manager_v1*()
const
8378 return reinterpret_cast<zwp_text_input_manager_v1*
> (c_ptr());
8383 proxy_t p = marshal_constructor(0U, &zwp_text_input_v1_interface,
nullptr);
8388int zwp_text_input_manager_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
8393zwp_text_input_v3_t::zwp_text_input_v3_t(
const proxy_t &p)
8398 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8399 set_destroy_opcode(0U);
8401 set_interface(&zwp_text_input_v3_interface);
8406zwp_text_input_v3_t::zwp_text_input_v3_t()
8408 set_interface(&zwp_text_input_v3_interface);
8413zwp_text_input_v3_t::zwp_text_input_v3_t(zwp_text_input_v3 *p, wrapper_type t)
8414 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8417 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8418 set_destroy_opcode(0U);
8420 set_interface(&zwp_text_input_v3_interface);
8425zwp_text_input_v3_t::zwp_text_input_v3_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
8426 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8427 set_interface(&zwp_text_input_v3_interface);
8434 return {*
this, construct_proxy_wrapper_tag()};
8437const std::string zwp_text_input_v3_t::interface_name =
"zwp_text_input_v3";
8439zwp_text_input_v3_t::operator zwp_text_input_v3*()
const
8441 return reinterpret_cast<zwp_text_input_v3*
> (c_ptr());
8458 marshal(3U, text, cursor, anchor);
8464 marshal(4U,
static_cast<uint32_t
>(cause));
8470 marshal(5U,
static_cast<uint32_t
>(hint),
static_cast<uint32_t
>(purpose));
8476 marshal(6U, x, y, width, height);
8488 return std::static_pointer_cast<events_t>(get_events())->enter;
8493 return std::static_pointer_cast<events_t>(get_events())->leave;
8498 return std::static_pointer_cast<events_t>(get_events())->preedit_string;
8503 return std::static_pointer_cast<events_t>(get_events())->commit_string;
8508 return std::static_pointer_cast<events_t>(get_events())->delete_surrounding_text;
8513 return std::static_pointer_cast<events_t>(get_events())->done;
8516int zwp_text_input_v3_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
8518 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
8522 if(events->enter) events->enter(
surface_t(args[0].get<proxy_t>()));
8525 if(events->leave) events->leave(
surface_t(args[0].get<proxy_t>()));
8528 if(events->preedit_string) events->preedit_string(args[0].get<std::string>(), args[1].get<int32_t>(), args[2].get<int32_t>());
8531 if(events->commit_string) events->commit_string(args[0].get<std::string>());
8534 if(events->delete_surrounding_text) events->delete_surrounding_text(args[0].get<uint32_t>(), args[1].get<uint32_t>());
8537 if(events->done) events->done(args[0].get<uint32_t>());
8557zwp_text_input_manager_v3_t::zwp_text_input_manager_v3_t(
const proxy_t &p)
8562 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8563 set_destroy_opcode(0U);
8565 set_interface(&zwp_text_input_manager_v3_interface);
8570zwp_text_input_manager_v3_t::zwp_text_input_manager_v3_t()
8572 set_interface(&zwp_text_input_manager_v3_interface);
8577zwp_text_input_manager_v3_t::zwp_text_input_manager_v3_t(zwp_text_input_manager_v3 *p, wrapper_type t)
8578 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8581 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8582 set_destroy_opcode(0U);
8584 set_interface(&zwp_text_input_manager_v3_interface);
8589zwp_text_input_manager_v3_t::zwp_text_input_manager_v3_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
8590 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8591 set_interface(&zwp_text_input_manager_v3_interface);
8598 return {*
this, construct_proxy_wrapper_tag()};
8601const std::string zwp_text_input_manager_v3_t::interface_name =
"zwp_text_input_manager_v3";
8603zwp_text_input_manager_v3_t::operator zwp_text_input_manager_v3*()
const
8605 return reinterpret_cast<zwp_text_input_manager_v3*
> (c_ptr());
8610 proxy_t p = marshal_constructor(1U, &zwp_text_input_v3_interface,
nullptr, seat.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(seat.
c_ptr()) :
nullptr);
8615int zwp_text_input_manager_v3_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
8620xdg_activation_v1_t::xdg_activation_v1_t(
const proxy_t &p)
8625 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8626 set_destroy_opcode(0U);
8628 set_interface(&xdg_activation_v1_interface);
8633xdg_activation_v1_t::xdg_activation_v1_t()
8635 set_interface(&xdg_activation_v1_interface);
8640xdg_activation_v1_t::xdg_activation_v1_t(xdg_activation_v1 *p, wrapper_type t)
8641 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8644 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8645 set_destroy_opcode(0U);
8647 set_interface(&xdg_activation_v1_interface);
8652xdg_activation_v1_t::xdg_activation_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
8653 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8654 set_interface(&xdg_activation_v1_interface);
8661 return {*
this, construct_proxy_wrapper_tag()};
8664const std::string xdg_activation_v1_t::interface_name =
"xdg_activation_v1";
8666xdg_activation_v1_t::operator xdg_activation_v1*()
const
8668 return reinterpret_cast<xdg_activation_v1*
> (c_ptr());
8673 proxy_t p = marshal_constructor(1U, &xdg_activation_token_v1_interface,
nullptr);
8680 marshal(2U, token, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr);
8684int xdg_activation_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
8689xdg_activation_token_v1_t::xdg_activation_token_v1_t(
const proxy_t &p)
8694 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8695 set_destroy_opcode(4U);
8697 set_interface(&xdg_activation_token_v1_interface);
8702xdg_activation_token_v1_t::xdg_activation_token_v1_t()
8704 set_interface(&xdg_activation_token_v1_interface);
8709xdg_activation_token_v1_t::xdg_activation_token_v1_t(xdg_activation_token_v1 *p, wrapper_type t)
8710 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8713 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8714 set_destroy_opcode(4U);
8716 set_interface(&xdg_activation_token_v1_interface);
8721xdg_activation_token_v1_t::xdg_activation_token_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
8722 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8723 set_interface(&xdg_activation_token_v1_interface);
8730 return {*
this, construct_proxy_wrapper_tag()};
8733const std::string xdg_activation_token_v1_t::interface_name =
"xdg_activation_token_v1";
8735xdg_activation_token_v1_t::operator xdg_activation_token_v1*()
const
8737 return reinterpret_cast<xdg_activation_token_v1*
> (c_ptr());
8742 marshal(0U, serial, seat.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(seat.
c_ptr()) :
nullptr);
8748 marshal(1U, app_id);
8766 return std::static_pointer_cast<events_t>(get_events())->done;
8769int xdg_activation_token_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
8771 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
8775 if(events->done) events->done(args[0].get<std::string>());
8782zxdg_decoration_manager_v1_t::zxdg_decoration_manager_v1_t(
const proxy_t &p)
8787 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8788 set_destroy_opcode(0U);
8790 set_interface(&zxdg_decoration_manager_v1_interface);
8795zxdg_decoration_manager_v1_t::zxdg_decoration_manager_v1_t()
8797 set_interface(&zxdg_decoration_manager_v1_interface);
8802zxdg_decoration_manager_v1_t::zxdg_decoration_manager_v1_t(zxdg_decoration_manager_v1 *p, wrapper_type t)
8803 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8806 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8807 set_destroy_opcode(0U);
8809 set_interface(&zxdg_decoration_manager_v1_interface);
8814zxdg_decoration_manager_v1_t::zxdg_decoration_manager_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
8815 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8816 set_interface(&zxdg_decoration_manager_v1_interface);
8823 return {*
this, construct_proxy_wrapper_tag()};
8826const std::string zxdg_decoration_manager_v1_t::interface_name =
"zxdg_decoration_manager_v1";
8828zxdg_decoration_manager_v1_t::operator zxdg_decoration_manager_v1*()
const
8830 return reinterpret_cast<zxdg_decoration_manager_v1*
> (c_ptr());
8835 proxy_t p = marshal_constructor(1U, &zxdg_toplevel_decoration_v1_interface,
nullptr, toplevel.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(toplevel.
c_ptr()) :
nullptr);
8840int zxdg_decoration_manager_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
8845zxdg_toplevel_decoration_v1_t::zxdg_toplevel_decoration_v1_t(
const proxy_t &p)
8850 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8851 set_destroy_opcode(0U);
8853 set_interface(&zxdg_toplevel_decoration_v1_interface);
8858zxdg_toplevel_decoration_v1_t::zxdg_toplevel_decoration_v1_t()
8860 set_interface(&zxdg_toplevel_decoration_v1_interface);
8865zxdg_toplevel_decoration_v1_t::zxdg_toplevel_decoration_v1_t(zxdg_toplevel_decoration_v1 *p, wrapper_type t)
8866 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8869 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8870 set_destroy_opcode(0U);
8872 set_interface(&zxdg_toplevel_decoration_v1_interface);
8877zxdg_toplevel_decoration_v1_t::zxdg_toplevel_decoration_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
8878 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8879 set_interface(&zxdg_toplevel_decoration_v1_interface);
8886 return {*
this, construct_proxy_wrapper_tag()};
8889const std::string zxdg_toplevel_decoration_v1_t::interface_name =
"zxdg_toplevel_decoration_v1";
8891zxdg_toplevel_decoration_v1_t::operator zxdg_toplevel_decoration_v1*()
const
8893 return reinterpret_cast<zxdg_toplevel_decoration_v1*
> (c_ptr());
8898 marshal(1U,
static_cast<uint32_t
>(mode));
8910 return std::static_pointer_cast<events_t>(get_events())->configure;
8913int zxdg_toplevel_decoration_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
8915 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
8919 if(events->configure) events->configure(zxdg_toplevel_decoration_v1_mode(args[0].get<uint32_t>()));
8927zxdg_exporter_v1_t::zxdg_exporter_v1_t(
const proxy_t &p)
8932 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8933 set_destroy_opcode(0U);
8935 set_interface(&zxdg_exporter_v1_interface);
8940zxdg_exporter_v1_t::zxdg_exporter_v1_t()
8942 set_interface(&zxdg_exporter_v1_interface);
8947zxdg_exporter_v1_t::zxdg_exporter_v1_t(zxdg_exporter_v1 *p, wrapper_type t)
8948 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8951 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8952 set_destroy_opcode(0U);
8954 set_interface(&zxdg_exporter_v1_interface);
8959zxdg_exporter_v1_t::zxdg_exporter_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
8960 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8961 set_interface(&zxdg_exporter_v1_interface);
8968 return {*
this, construct_proxy_wrapper_tag()};
8971const std::string zxdg_exporter_v1_t::interface_name =
"zxdg_exporter_v1";
8973zxdg_exporter_v1_t::operator zxdg_exporter_v1*()
const
8975 return reinterpret_cast<zxdg_exporter_v1*
> (c_ptr());
8980 proxy_t p = marshal_constructor(1U, &zxdg_exported_v1_interface,
nullptr, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr);
8985int zxdg_exporter_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
8990zxdg_importer_v1_t::zxdg_importer_v1_t(
const proxy_t &p)
8995 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
8996 set_destroy_opcode(0U);
8998 set_interface(&zxdg_importer_v1_interface);
9003zxdg_importer_v1_t::zxdg_importer_v1_t()
9005 set_interface(&zxdg_importer_v1_interface);
9010zxdg_importer_v1_t::zxdg_importer_v1_t(zxdg_importer_v1 *p, wrapper_type t)
9011 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9014 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9015 set_destroy_opcode(0U);
9017 set_interface(&zxdg_importer_v1_interface);
9022zxdg_importer_v1_t::zxdg_importer_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9023 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9024 set_interface(&zxdg_importer_v1_interface);
9031 return {*
this, construct_proxy_wrapper_tag()};
9034const std::string zxdg_importer_v1_t::interface_name =
"zxdg_importer_v1";
9036zxdg_importer_v1_t::operator zxdg_importer_v1*()
const
9038 return reinterpret_cast<zxdg_importer_v1*
> (c_ptr());
9043 proxy_t p = marshal_constructor(1U, &zxdg_imported_v1_interface,
nullptr, handle);
9048int zxdg_importer_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9053zxdg_exported_v1_t::zxdg_exported_v1_t(
const proxy_t &p)
9058 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9059 set_destroy_opcode(0U);
9061 set_interface(&zxdg_exported_v1_interface);
9066zxdg_exported_v1_t::zxdg_exported_v1_t()
9068 set_interface(&zxdg_exported_v1_interface);
9073zxdg_exported_v1_t::zxdg_exported_v1_t(zxdg_exported_v1 *p, wrapper_type t)
9074 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9077 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9078 set_destroy_opcode(0U);
9080 set_interface(&zxdg_exported_v1_interface);
9085zxdg_exported_v1_t::zxdg_exported_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9086 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9087 set_interface(&zxdg_exported_v1_interface);
9094 return {*
this, construct_proxy_wrapper_tag()};
9097const std::string zxdg_exported_v1_t::interface_name =
"zxdg_exported_v1";
9099zxdg_exported_v1_t::operator zxdg_exported_v1*()
const
9101 return reinterpret_cast<zxdg_exported_v1*
> (c_ptr());
9106 return std::static_pointer_cast<events_t>(get_events())->handle;
9109int zxdg_exported_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9111 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
9115 if(events->handle) events->handle(args[0].get<std::string>());
9121zxdg_imported_v1_t::zxdg_imported_v1_t(
const proxy_t &p)
9126 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9127 set_destroy_opcode(0U);
9129 set_interface(&zxdg_imported_v1_interface);
9134zxdg_imported_v1_t::zxdg_imported_v1_t()
9136 set_interface(&zxdg_imported_v1_interface);
9141zxdg_imported_v1_t::zxdg_imported_v1_t(zxdg_imported_v1 *p, wrapper_type t)
9142 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9145 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9146 set_destroy_opcode(0U);
9148 set_interface(&zxdg_imported_v1_interface);
9153zxdg_imported_v1_t::zxdg_imported_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9154 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9155 set_interface(&zxdg_imported_v1_interface);
9162 return {*
this, construct_proxy_wrapper_tag()};
9165const std::string zxdg_imported_v1_t::interface_name =
"zxdg_imported_v1";
9167zxdg_imported_v1_t::operator zxdg_imported_v1*()
const
9169 return reinterpret_cast<zxdg_imported_v1*
> (c_ptr());
9180 return std::static_pointer_cast<events_t>(get_events())->destroyed;
9183int zxdg_imported_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9185 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
9189 if(events->destroyed) events->destroyed();
9195zxdg_exporter_v2_t::zxdg_exporter_v2_t(
const proxy_t &p)
9200 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9201 set_destroy_opcode(0U);
9203 set_interface(&zxdg_exporter_v2_interface);
9208zxdg_exporter_v2_t::zxdg_exporter_v2_t()
9210 set_interface(&zxdg_exporter_v2_interface);
9215zxdg_exporter_v2_t::zxdg_exporter_v2_t(zxdg_exporter_v2 *p, wrapper_type t)
9216 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9219 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9220 set_destroy_opcode(0U);
9222 set_interface(&zxdg_exporter_v2_interface);
9227zxdg_exporter_v2_t::zxdg_exporter_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9228 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9229 set_interface(&zxdg_exporter_v2_interface);
9236 return {*
this, construct_proxy_wrapper_tag()};
9239const std::string zxdg_exporter_v2_t::interface_name =
"zxdg_exporter_v2";
9241zxdg_exporter_v2_t::operator zxdg_exporter_v2*()
const
9243 return reinterpret_cast<zxdg_exporter_v2*
> (c_ptr());
9248 proxy_t p = marshal_constructor(1U, &zxdg_exported_v2_interface,
nullptr, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr);
9253int zxdg_exporter_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9259zxdg_importer_v2_t::zxdg_importer_v2_t(
const proxy_t &p)
9264 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9265 set_destroy_opcode(0U);
9267 set_interface(&zxdg_importer_v2_interface);
9272zxdg_importer_v2_t::zxdg_importer_v2_t()
9274 set_interface(&zxdg_importer_v2_interface);
9279zxdg_importer_v2_t::zxdg_importer_v2_t(zxdg_importer_v2 *p, wrapper_type t)
9280 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9283 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9284 set_destroy_opcode(0U);
9286 set_interface(&zxdg_importer_v2_interface);
9291zxdg_importer_v2_t::zxdg_importer_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9292 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9293 set_interface(&zxdg_importer_v2_interface);
9300 return {*
this, construct_proxy_wrapper_tag()};
9303const std::string zxdg_importer_v2_t::interface_name =
"zxdg_importer_v2";
9305zxdg_importer_v2_t::operator zxdg_importer_v2*()
const
9307 return reinterpret_cast<zxdg_importer_v2*
> (c_ptr());
9312 proxy_t p = marshal_constructor(1U, &zxdg_imported_v2_interface,
nullptr, handle);
9317int zxdg_importer_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9322zxdg_exported_v2_t::zxdg_exported_v2_t(
const proxy_t &p)
9327 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9328 set_destroy_opcode(0U);
9330 set_interface(&zxdg_exported_v2_interface);
9335zxdg_exported_v2_t::zxdg_exported_v2_t()
9337 set_interface(&zxdg_exported_v2_interface);
9342zxdg_exported_v2_t::zxdg_exported_v2_t(zxdg_exported_v2 *p, wrapper_type t)
9343 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9346 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9347 set_destroy_opcode(0U);
9349 set_interface(&zxdg_exported_v2_interface);
9354zxdg_exported_v2_t::zxdg_exported_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9355 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9356 set_interface(&zxdg_exported_v2_interface);
9363 return {*
this, construct_proxy_wrapper_tag()};
9366const std::string zxdg_exported_v2_t::interface_name =
"zxdg_exported_v2";
9368zxdg_exported_v2_t::operator zxdg_exported_v2*()
const
9370 return reinterpret_cast<zxdg_exported_v2*
> (c_ptr());
9375 return std::static_pointer_cast<events_t>(get_events())->handle;
9378int zxdg_exported_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9380 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
9384 if(events->handle) events->handle(args[0].get<std::string>());
9390zxdg_imported_v2_t::zxdg_imported_v2_t(
const proxy_t &p)
9395 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9396 set_destroy_opcode(0U);
9398 set_interface(&zxdg_imported_v2_interface);
9403zxdg_imported_v2_t::zxdg_imported_v2_t()
9405 set_interface(&zxdg_imported_v2_interface);
9410zxdg_imported_v2_t::zxdg_imported_v2_t(zxdg_imported_v2 *p, wrapper_type t)
9411 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9414 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9415 set_destroy_opcode(0U);
9417 set_interface(&zxdg_imported_v2_interface);
9422zxdg_imported_v2_t::zxdg_imported_v2_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9423 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9424 set_interface(&zxdg_imported_v2_interface);
9431 return {*
this, construct_proxy_wrapper_tag()};
9434const std::string zxdg_imported_v2_t::interface_name =
"zxdg_imported_v2";
9436zxdg_imported_v2_t::operator zxdg_imported_v2*()
const
9438 return reinterpret_cast<zxdg_imported_v2*
> (c_ptr());
9449 return std::static_pointer_cast<events_t>(get_events())->destroyed;
9452int zxdg_imported_v2_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9454 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
9458 if(events->destroyed) events->destroyed();
9465zxdg_output_manager_v1_t::zxdg_output_manager_v1_t(
const proxy_t &p)
9470 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9471 set_destroy_opcode(0U);
9473 set_interface(&zxdg_output_manager_v1_interface);
9478zxdg_output_manager_v1_t::zxdg_output_manager_v1_t()
9480 set_interface(&zxdg_output_manager_v1_interface);
9485zxdg_output_manager_v1_t::zxdg_output_manager_v1_t(zxdg_output_manager_v1 *p, wrapper_type t)
9486 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9489 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9490 set_destroy_opcode(0U);
9492 set_interface(&zxdg_output_manager_v1_interface);
9497zxdg_output_manager_v1_t::zxdg_output_manager_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9498 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9499 set_interface(&zxdg_output_manager_v1_interface);
9506 return {*
this, construct_proxy_wrapper_tag()};
9509const std::string zxdg_output_manager_v1_t::interface_name =
"zxdg_output_manager_v1";
9511zxdg_output_manager_v1_t::operator zxdg_output_manager_v1*()
const
9513 return reinterpret_cast<zxdg_output_manager_v1*
> (c_ptr());
9518 proxy_t p = marshal_constructor(1U, &zxdg_output_v1_interface,
nullptr, output.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(output.
c_ptr()) :
nullptr);
9523int zxdg_output_manager_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9528zxdg_output_v1_t::zxdg_output_v1_t(
const proxy_t &p)
9533 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9534 set_destroy_opcode(0U);
9536 set_interface(&zxdg_output_v1_interface);
9541zxdg_output_v1_t::zxdg_output_v1_t()
9543 set_interface(&zxdg_output_v1_interface);
9548zxdg_output_v1_t::zxdg_output_v1_t(zxdg_output_v1 *p, wrapper_type t)
9549 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9552 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9553 set_destroy_opcode(0U);
9555 set_interface(&zxdg_output_v1_interface);
9560zxdg_output_v1_t::zxdg_output_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9561 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9562 set_interface(&zxdg_output_v1_interface);
9569 return {*
this, construct_proxy_wrapper_tag()};
9572const std::string zxdg_output_v1_t::interface_name =
"zxdg_output_v1";
9574zxdg_output_v1_t::operator zxdg_output_v1*()
const
9576 return reinterpret_cast<zxdg_output_v1*
> (c_ptr());
9581 return std::static_pointer_cast<events_t>(get_events())->logical_position;
9586 return std::static_pointer_cast<events_t>(get_events())->logical_size;
9591 return std::static_pointer_cast<events_t>(get_events())->done;
9596 return std::static_pointer_cast<events_t>(get_events())->name;
9601 return std::static_pointer_cast<events_t>(get_events())->description;
9604int zxdg_output_v1_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9606 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
9610 if(events->logical_position) events->logical_position(args[0].get<int32_t>(), args[1].get<int32_t>());
9613 if(events->logical_size) events->logical_size(args[0].get<int32_t>(), args[1].get<int32_t>());
9616 if(events->done) events->done();
9619 if(events->name) events->name(args[0].get<std::string>());
9622 if(events->description) events->description(args[0].get<std::string>());
9628zxdg_shell_v6_t::zxdg_shell_v6_t(
const proxy_t &p)
9633 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9634 set_destroy_opcode(0U);
9636 set_interface(&zxdg_shell_v6_interface);
9641zxdg_shell_v6_t::zxdg_shell_v6_t()
9643 set_interface(&zxdg_shell_v6_interface);
9648zxdg_shell_v6_t::zxdg_shell_v6_t(zxdg_shell_v6 *p, wrapper_type t)
9649 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9652 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9653 set_destroy_opcode(0U);
9655 set_interface(&zxdg_shell_v6_interface);
9660zxdg_shell_v6_t::zxdg_shell_v6_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9661 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9662 set_interface(&zxdg_shell_v6_interface);
9669 return {*
this, construct_proxy_wrapper_tag()};
9672const std::string zxdg_shell_v6_t::interface_name =
"zxdg_shell_v6";
9674zxdg_shell_v6_t::operator zxdg_shell_v6*()
const
9676 return reinterpret_cast<zxdg_shell_v6*
> (c_ptr());
9681 proxy_t p = marshal_constructor(1U, &zxdg_positioner_v6_interface,
nullptr);
9688 proxy_t p = marshal_constructor(2U, &zxdg_surface_v6_interface,
nullptr, surface.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(surface.
c_ptr()) :
nullptr);
9695 marshal(3U, serial);
9701 return std::static_pointer_cast<events_t>(get_events())->ping;
9704int zxdg_shell_v6_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9706 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
9710 if(events->ping) events->ping(args[0].get<uint32_t>());
9717zxdg_positioner_v6_t::zxdg_positioner_v6_t(
const proxy_t &p)
9722 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9723 set_destroy_opcode(0U);
9725 set_interface(&zxdg_positioner_v6_interface);
9730zxdg_positioner_v6_t::zxdg_positioner_v6_t()
9732 set_interface(&zxdg_positioner_v6_interface);
9737zxdg_positioner_v6_t::zxdg_positioner_v6_t(zxdg_positioner_v6 *p, wrapper_type t)
9738 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9741 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9742 set_destroy_opcode(0U);
9744 set_interface(&zxdg_positioner_v6_interface);
9749zxdg_positioner_v6_t::zxdg_positioner_v6_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9750 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9751 set_interface(&zxdg_positioner_v6_interface);
9758 return {*
this, construct_proxy_wrapper_tag()};
9761const std::string zxdg_positioner_v6_t::interface_name =
"zxdg_positioner_v6";
9763zxdg_positioner_v6_t::operator zxdg_positioner_v6*()
const
9765 return reinterpret_cast<zxdg_positioner_v6*
> (c_ptr());
9770 marshal(1U, width, height);
9776 marshal(2U, x, y, width, height);
9782 marshal(3U,
static_cast<uint32_t
>(anchor));
9788 marshal(4U,
static_cast<uint32_t
>(gravity));
9794 marshal(5U,
static_cast<uint32_t
>(constraint_adjustment));
9804int zxdg_positioner_v6_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9809const bitfield<4, 37> zxdg_positioner_v6_anchor::none{0};
9810const bitfield<4, 37> zxdg_positioner_v6_anchor::top{1};
9811const bitfield<4, 37> zxdg_positioner_v6_anchor::bottom{2};
9812const bitfield<4, 37> zxdg_positioner_v6_anchor::left{4};
9813const bitfield<4, 37> zxdg_positioner_v6_anchor::right{8};
9815const bitfield<4, 38> zxdg_positioner_v6_gravity::none{0};
9816const bitfield<4, 38> zxdg_positioner_v6_gravity::top{1};
9817const bitfield<4, 38> zxdg_positioner_v6_gravity::bottom{2};
9818const bitfield<4, 38> zxdg_positioner_v6_gravity::left{4};
9819const bitfield<4, 38> zxdg_positioner_v6_gravity::right{8};
9821const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::none{0};
9822const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::slide_x{1};
9823const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::slide_y{2};
9824const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::flip_x{4};
9825const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::flip_y{8};
9826const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::resize_x{16};
9827const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::resize_y{32};
9830zxdg_surface_v6_t::zxdg_surface_v6_t(
const proxy_t &p)
9835 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9836 set_destroy_opcode(0U);
9838 set_interface(&zxdg_surface_v6_interface);
9843zxdg_surface_v6_t::zxdg_surface_v6_t()
9845 set_interface(&zxdg_surface_v6_interface);
9850zxdg_surface_v6_t::zxdg_surface_v6_t(zxdg_surface_v6 *p, wrapper_type t)
9851 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9854 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9855 set_destroy_opcode(0U);
9857 set_interface(&zxdg_surface_v6_interface);
9862zxdg_surface_v6_t::zxdg_surface_v6_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9863 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9864 set_interface(&zxdg_surface_v6_interface);
9871 return {*
this, construct_proxy_wrapper_tag()};
9874const std::string zxdg_surface_v6_t::interface_name =
"zxdg_surface_v6";
9876zxdg_surface_v6_t::operator zxdg_surface_v6*()
const
9878 return reinterpret_cast<zxdg_surface_v6*
> (c_ptr());
9883 proxy_t p = marshal_constructor(1U, &zxdg_toplevel_v6_interface,
nullptr);
9890 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);
9897 marshal(3U, x, y, width, height);
9903 marshal(4U, serial);
9909 return std::static_pointer_cast<events_t>(get_events())->configure;
9912int zxdg_surface_v6_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
9914 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
9918 if(events->configure) events->configure(args[0].get<uint32_t>());
9925zxdg_toplevel_v6_t::zxdg_toplevel_v6_t(
const proxy_t &p)
9930 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9931 set_destroy_opcode(0U);
9933 set_interface(&zxdg_toplevel_v6_interface);
9938zxdg_toplevel_v6_t::zxdg_toplevel_v6_t()
9940 set_interface(&zxdg_toplevel_v6_interface);
9945zxdg_toplevel_v6_t::zxdg_toplevel_v6_t(zxdg_toplevel_v6 *p, wrapper_type t)
9946 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9949 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
9950 set_destroy_opcode(0U);
9952 set_interface(&zxdg_toplevel_v6_interface);
9957zxdg_toplevel_v6_t::zxdg_toplevel_v6_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
9958 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9959 set_interface(&zxdg_toplevel_v6_interface);
9966 return {*
this, construct_proxy_wrapper_tag()};
9969const std::string zxdg_toplevel_v6_t::interface_name =
"zxdg_toplevel_v6";
9971zxdg_toplevel_v6_t::operator zxdg_toplevel_v6*()
const
9973 return reinterpret_cast<zxdg_toplevel_v6*
> (c_ptr());
9990 marshal(3U, app_id);
9996 marshal(4U, seat.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(seat.
c_ptr()) :
nullptr, serial, x, y);
10002 marshal(5U, seat.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(seat.
c_ptr()) :
nullptr, serial);
10008 marshal(6U, seat.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(seat.
c_ptr()) :
nullptr, serial,
static_cast<uint32_t
>(edges));
10014 marshal(7U, width, height);
10020 marshal(8U, width, height);
10042void zxdg_toplevel_v6_t::unset_fullscreen()
10056 return std::static_pointer_cast<events_t>(get_events())->configure;
10061 return std::static_pointer_cast<events_t>(get_events())->close;
10064int zxdg_toplevel_v6_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
10066 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
10070 if(events->configure) events->configure(args[0].get<int32_t>(), args[1].get<int32_t>(), args[2].get<array_t>());
10073 if(events->close) events->close();
10078const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::none{0};
10079const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::top{1};
10080const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::bottom{2};
10081const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::left{4};
10082const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::top_left{5};
10083const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::bottom_left{6};
10084const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::right{8};
10085const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::top_right{9};
10086const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::bottom_right{10};
10090zxdg_popup_v6_t::zxdg_popup_v6_t(
const proxy_t &p)
10095 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
10096 set_destroy_opcode(0U);
10098 set_interface(&zxdg_popup_v6_interface);
10103zxdg_popup_v6_t::zxdg_popup_v6_t()
10105 set_interface(&zxdg_popup_v6_interface);
10110zxdg_popup_v6_t::zxdg_popup_v6_t(zxdg_popup_v6 *p, wrapper_type t)
10111 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
10114 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
10115 set_destroy_opcode(0U);
10117 set_interface(&zxdg_popup_v6_interface);
10122zxdg_popup_v6_t::zxdg_popup_v6_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
10123 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
10124 set_interface(&zxdg_popup_v6_interface);
10131 return {*
this, construct_proxy_wrapper_tag()};
10134const std::string zxdg_popup_v6_t::interface_name =
"zxdg_popup_v6";
10136zxdg_popup_v6_t::operator zxdg_popup_v6*()
const
10138 return reinterpret_cast<zxdg_popup_v6*
> (c_ptr());
10143 marshal(1U, seat.
proxy_has_object() ?
reinterpret_cast<wl_object*
>(seat.
c_ptr()) :
nullptr, serial);
10149 return std::static_pointer_cast<events_t>(get_events())->configure;
10154 return std::static_pointer_cast<events_t>(get_events())->popup_done;
10157int zxdg_popup_v6_t::dispatcher(uint32_t opcode,
const std::vector<any>& args,
const std::shared_ptr<detail::events_base_t>& e)
10159 std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
10163 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>());
10166 if(events->popup_done) events->popup_done();
10173zwp_xwayland_keyboard_grab_manager_v1_t::zwp_xwayland_keyboard_grab_manager_v1_t(
const proxy_t &p)
10178 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
10179 set_destroy_opcode(0U);
10181 set_interface(&zwp_xwayland_keyboard_grab_manager_v1_interface);
10186zwp_xwayland_keyboard_grab_manager_v1_t::zwp_xwayland_keyboard_grab_manager_v1_t()
10188 set_interface(&zwp_xwayland_keyboard_grab_manager_v1_interface);
10193zwp_xwayland_keyboard_grab_manager_v1_t::zwp_xwayland_keyboard_grab_manager_v1_t(zwp_xwayland_keyboard_grab_manager_v1 *p, wrapper_type t)
10194 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
10197 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
10198 set_destroy_opcode(0U);
10200 set_interface(&zwp_xwayland_keyboard_grab_manager_v1_interface);
10205zwp_xwayland_keyboard_grab_manager_v1_t::zwp_xwayland_keyboard_grab_manager_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
10206 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
10207 set_interface(&zwp_xwayland_keyboard_grab_manager_v1_interface);
10214 return {*
this, construct_proxy_wrapper_tag()};
10217const std::string zwp_xwayland_keyboard_grab_manager_v1_t::interface_name =
"zwp_xwayland_keyboard_grab_manager_v1";
10219zwp_xwayland_keyboard_grab_manager_v1_t::operator zwp_xwayland_keyboard_grab_manager_v1*()
const
10221 return reinterpret_cast<zwp_xwayland_keyboard_grab_manager_v1*
> (c_ptr());
10226 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);
10231int 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)
10236zwp_xwayland_keyboard_grab_v1_t::zwp_xwayland_keyboard_grab_v1_t(
const proxy_t &p)
10241 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
10242 set_destroy_opcode(0U);
10244 set_interface(&zwp_xwayland_keyboard_grab_v1_interface);
10249zwp_xwayland_keyboard_grab_v1_t::zwp_xwayland_keyboard_grab_v1_t()
10251 set_interface(&zwp_xwayland_keyboard_grab_v1_interface);
10256zwp_xwayland_keyboard_grab_v1_t::zwp_xwayland_keyboard_grab_v1_t(zwp_xwayland_keyboard_grab_v1 *p, wrapper_type t)
10257 :
proxy_t(reinterpret_cast<wl_proxy*> (p), t){
10260 set_events(std::shared_ptr<detail::events_base_t>(
new events_t), dispatcher);
10261 set_destroy_opcode(0U);
10263 set_interface(&zwp_xwayland_keyboard_grab_v1_interface);
10268zwp_xwayland_keyboard_grab_v1_t::zwp_xwayland_keyboard_grab_v1_t(
proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag )
10269 :
proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
10270 set_interface(&zwp_xwayland_keyboard_grab_v1_interface);
10277 return {*
this, construct_proxy_wrapper_tag()};
10280const std::string zwp_xwayland_keyboard_grab_v1_t::interface_name =
"zwp_xwayland_keyboard_grab_v1";
10282zwp_xwayland_keyboard_grab_v1_t::operator zwp_xwayland_keyboard_grab_v1*()
const
10284 return reinterpret_cast<zwp_xwayland_keyboard_grab_v1*
> (c_ptr());
10287int 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 wayland::detail::bitfield< 10, 23 > auto_completion
suggest word completions
static const wayland::detail::bitfield< 10, 23 > titlecase
prefer casing for titles and headings (can be language dependent)
static const wayland::detail::bitfield< 10, 23 > latin
just latin characters should be entered
static const wayland::detail::bitfield< 10, 23 > uppercase
prefer uppercase letters
static const wayland::detail::bitfield< 10, 23 > sensitive_data
typed text should not be stored
static const wayland::detail::bitfield< 10, 23 > lowercase
prefer lowercase letters
static const wayland::detail::bitfield< 10, 23 > auto_capitalization
switch to uppercase letters at the start of a sentence
static const wayland::detail::bitfield< 10, 23 > none
no special behaviour
static const wayland::detail::bitfield< 10, 23 > hidden_text
characters should be hidden
static const wayland::detail::bitfield< 10, 23 > _default
auto completion, correction and capitalization
static const wayland::detail::bitfield< 10, 23 > password
hidden and sensitive text
static const wayland::detail::bitfield< 10, 23 > multiline
the text input is multiline
static const wayland::detail::bitfield< 10, 23 > auto_correction
suggest word corrections
static const wayland::detail::bitfield< 10, 28 > spellcheck
suggest word corrections
static const wayland::detail::bitfield< 10, 28 > none
no special behavior
static const wayland::detail::bitfield< 10, 28 > titlecase
prefer casing for titles and headings (can be language dependent)
static const wayland::detail::bitfield< 10, 28 > uppercase
prefer uppercase letters
static const wayland::detail::bitfield< 10, 28 > lowercase
prefer lowercase letters
static const wayland::detail::bitfield< 10, 28 > completion
suggest word completions
static const wayland::detail::bitfield< 10, 28 > multiline
the text input is multiline
static const wayland::detail::bitfield< 10, 28 > latin
just Latin characters should be entered
static const wayland::detail::bitfield< 10, 28 > hidden_text
characters should be hidden
static const wayland::detail::bitfield< 10, 28 > sensitive_data
typed text should not be stored
static const wayland::detail::bitfield< 10, 28 > auto_capitalization
switch to uppercase letters at the start of a sentence