Loading...
Searching...
No Matches
wayland-server-protocol-unstable.cpp
#include <wayland-server-protocol-unstable.hpp>
using namespace wayland;
using namespace wayland::detail;
using namespace wayland::server;
using namespace wayland::server::detail;
const wl_interface* zwp_fullscreen_shell_v1_interface_release_request_server[0] = {
};
const wl_interface* zwp_fullscreen_shell_v1_interface_present_surface_request_server[3] = {
&surface_interface,
nullptr,
&output_interface,
};
const wl_interface* zwp_fullscreen_shell_v1_interface_present_surface_for_mode_request_server[4] = {
&surface_interface,
&output_interface,
nullptr,
&zwp_fullscreen_shell_mode_feedback_v1_interface,
};
const wl_interface* zwp_fullscreen_shell_v1_interface_capability_event_server[1] = {
nullptr,
};
const wl_message zwp_fullscreen_shell_v1_interface_requests_server[3] = {
{
"release",
"",
zwp_fullscreen_shell_v1_interface_release_request_server,
},
{
"present_surface",
"?ou?o",
zwp_fullscreen_shell_v1_interface_present_surface_request_server,
},
{
"present_surface_for_mode",
"ooin",
zwp_fullscreen_shell_v1_interface_present_surface_for_mode_request_server,
},
};
const wl_message zwp_fullscreen_shell_v1_interface_events_server[1] = {
{
"capability",
"u",
zwp_fullscreen_shell_v1_interface_capability_event_server,
},
};
const wl_interface wayland::server::detail::zwp_fullscreen_shell_v1_interface =
{
"zwp_fullscreen_shell_v1",
1,
3,
zwp_fullscreen_shell_v1_interface_requests_server,
1,
zwp_fullscreen_shell_v1_interface_events_server,
};
const wl_interface* zwp_fullscreen_shell_mode_feedback_v1_interface_mode_successful_event_server[0] = {
};
const wl_interface* zwp_fullscreen_shell_mode_feedback_v1_interface_mode_failed_event_server[0] = {
};
const wl_interface* zwp_fullscreen_shell_mode_feedback_v1_interface_present_cancelled_event_server[0] = {
};
const wl_message zwp_fullscreen_shell_mode_feedback_v1_interface_requests_server[0] = {
};
const wl_message zwp_fullscreen_shell_mode_feedback_v1_interface_events_server[3] = {
{
"mode_successful",
"",
zwp_fullscreen_shell_mode_feedback_v1_interface_mode_successful_event_server,
},
{
"mode_failed",
"",
zwp_fullscreen_shell_mode_feedback_v1_interface_mode_failed_event_server,
},
{
"present_cancelled",
"",
zwp_fullscreen_shell_mode_feedback_v1_interface_present_cancelled_event_server,
},
};
const wl_interface wayland::server::detail::zwp_fullscreen_shell_mode_feedback_v1_interface =
{
"zwp_fullscreen_shell_mode_feedback_v1",
1,
0,
zwp_fullscreen_shell_mode_feedback_v1_interface_requests_server,
3,
zwp_fullscreen_shell_mode_feedback_v1_interface_events_server,
};
const wl_interface* zwp_idle_inhibit_manager_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_idle_inhibit_manager_v1_interface_create_inhibitor_request_server[2] = {
&zwp_idle_inhibitor_v1_interface,
&surface_interface,
};
const wl_message zwp_idle_inhibit_manager_v1_interface_requests_server[2] = {
{
"destroy",
"",
zwp_idle_inhibit_manager_v1_interface_destroy_request_server,
},
{
"create_inhibitor",
"no",
zwp_idle_inhibit_manager_v1_interface_create_inhibitor_request_server,
},
};
const wl_message zwp_idle_inhibit_manager_v1_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zwp_idle_inhibit_manager_v1_interface =
{
"zwp_idle_inhibit_manager_v1",
1,
2,
zwp_idle_inhibit_manager_v1_interface_requests_server,
0,
zwp_idle_inhibit_manager_v1_interface_events_server,
};
const wl_interface* zwp_idle_inhibitor_v1_interface_destroy_request_server[0] = {
};
const wl_message zwp_idle_inhibitor_v1_interface_requests_server[1] = {
{
"destroy",
"",
zwp_idle_inhibitor_v1_interface_destroy_request_server,
},
};
const wl_message zwp_idle_inhibitor_v1_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zwp_idle_inhibitor_v1_interface =
{
"zwp_idle_inhibitor_v1",
1,
1,
zwp_idle_inhibitor_v1_interface_requests_server,
0,
zwp_idle_inhibitor_v1_interface_events_server,
};
const wl_interface* zwp_input_method_context_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_input_method_context_v1_interface_commit_string_request_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_input_method_context_v1_interface_preedit_string_request_server[3] = {
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_input_method_context_v1_interface_preedit_styling_request_server[3] = {
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_input_method_context_v1_interface_preedit_cursor_request_server[1] = {
nullptr,
};
const wl_interface* zwp_input_method_context_v1_interface_delete_surrounding_text_request_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_input_method_context_v1_interface_cursor_position_request_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_input_method_context_v1_interface_modifiers_map_request_server[1] = {
nullptr,
};
const wl_interface* zwp_input_method_context_v1_interface_keysym_request_server[5] = {
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_input_method_context_v1_interface_grab_keyboard_request_server[1] = {
&keyboard_interface,
};
const wl_interface* zwp_input_method_context_v1_interface_key_request_server[4] = {
nullptr,
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_input_method_context_v1_interface_modifiers_request_server[5] = {
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_input_method_context_v1_interface_language_request_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_input_method_context_v1_interface_text_direction_request_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_input_method_context_v1_interface_surrounding_text_event_server[3] = {
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_input_method_context_v1_interface_reset_event_server[0] = {
};
const wl_interface* zwp_input_method_context_v1_interface_content_type_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_input_method_context_v1_interface_invoke_action_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_input_method_context_v1_interface_commit_state_event_server[1] = {
nullptr,
};
const wl_interface* zwp_input_method_context_v1_interface_preferred_language_event_server[1] = {
nullptr,
};
const wl_message zwp_input_method_context_v1_interface_requests_server[14] = {
{
"destroy",
"",
zwp_input_method_context_v1_interface_destroy_request_server,
},
{
"commit_string",
"us",
zwp_input_method_context_v1_interface_commit_string_request_server,
},
{
"preedit_string",
"uss",
zwp_input_method_context_v1_interface_preedit_string_request_server,
},
{
"preedit_styling",
"uuu",
zwp_input_method_context_v1_interface_preedit_styling_request_server,
},
{
"preedit_cursor",
"i",
zwp_input_method_context_v1_interface_preedit_cursor_request_server,
},
{
"delete_surrounding_text",
"iu",
zwp_input_method_context_v1_interface_delete_surrounding_text_request_server,
},
{
"cursor_position",
"ii",
zwp_input_method_context_v1_interface_cursor_position_request_server,
},
{
"modifiers_map",
"a",
zwp_input_method_context_v1_interface_modifiers_map_request_server,
},
{
"keysym",
"uuuuu",
zwp_input_method_context_v1_interface_keysym_request_server,
},
{
"grab_keyboard",
"n",
zwp_input_method_context_v1_interface_grab_keyboard_request_server,
},
{
"key",
"uuuu",
zwp_input_method_context_v1_interface_key_request_server,
},
{
"modifiers",
"uuuuu",
zwp_input_method_context_v1_interface_modifiers_request_server,
},
{
"language",
"us",
zwp_input_method_context_v1_interface_language_request_server,
},
{
"text_direction",
"uu",
zwp_input_method_context_v1_interface_text_direction_request_server,
},
};
const wl_message zwp_input_method_context_v1_interface_events_server[6] = {
{
"surrounding_text",
"suu",
zwp_input_method_context_v1_interface_surrounding_text_event_server,
},
{
"reset",
"",
zwp_input_method_context_v1_interface_reset_event_server,
},
{
"content_type",
"uu",
zwp_input_method_context_v1_interface_content_type_event_server,
},
{
"invoke_action",
"uu",
zwp_input_method_context_v1_interface_invoke_action_event_server,
},
{
"commit_state",
"u",
zwp_input_method_context_v1_interface_commit_state_event_server,
},
{
"preferred_language",
"s",
zwp_input_method_context_v1_interface_preferred_language_event_server,
},
};
const wl_interface wayland::server::detail::zwp_input_method_context_v1_interface =
{
"zwp_input_method_context_v1",
1,
14,
zwp_input_method_context_v1_interface_requests_server,
6,
zwp_input_method_context_v1_interface_events_server,
};
const wl_interface* zwp_input_method_v1_interface_activate_event_server[1] = {
&zwp_input_method_context_v1_interface,
};
const wl_interface* zwp_input_method_v1_interface_deactivate_event_server[1] = {
&zwp_input_method_context_v1_interface,
};
const wl_message zwp_input_method_v1_interface_requests_server[0] = {
};
const wl_message zwp_input_method_v1_interface_events_server[2] = {
{
"activate",
"n",
zwp_input_method_v1_interface_activate_event_server,
},
{
"deactivate",
"o",
zwp_input_method_v1_interface_deactivate_event_server,
},
};
const wl_interface wayland::server::detail::zwp_input_method_v1_interface =
{
"zwp_input_method_v1",
1,
0,
zwp_input_method_v1_interface_requests_server,
2,
zwp_input_method_v1_interface_events_server,
};
const wl_interface* zwp_input_panel_v1_interface_get_input_panel_surface_request_server[2] = {
&zwp_input_panel_surface_v1_interface,
&surface_interface,
};
const wl_message zwp_input_panel_v1_interface_requests_server[1] = {
{
"get_input_panel_surface",
"no",
zwp_input_panel_v1_interface_get_input_panel_surface_request_server,
},
};
const wl_message zwp_input_panel_v1_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zwp_input_panel_v1_interface =
{
"zwp_input_panel_v1",
1,
1,
zwp_input_panel_v1_interface_requests_server,
0,
zwp_input_panel_v1_interface_events_server,
};
const wl_interface* zwp_input_panel_surface_v1_interface_set_toplevel_request_server[2] = {
&output_interface,
nullptr,
};
const wl_interface* zwp_input_panel_surface_v1_interface_set_overlay_panel_request_server[0] = {
};
const wl_message zwp_input_panel_surface_v1_interface_requests_server[2] = {
{
"set_toplevel",
"ou",
zwp_input_panel_surface_v1_interface_set_toplevel_request_server,
},
{
"set_overlay_panel",
"",
zwp_input_panel_surface_v1_interface_set_overlay_panel_request_server,
},
};
const wl_message zwp_input_panel_surface_v1_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zwp_input_panel_surface_v1_interface =
{
"zwp_input_panel_surface_v1",
1,
2,
zwp_input_panel_surface_v1_interface_requests_server,
0,
zwp_input_panel_surface_v1_interface_events_server,
};
const wl_interface* zwp_input_timestamps_manager_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_input_timestamps_manager_v1_interface_get_keyboard_timestamps_request_server[2] = {
&zwp_input_timestamps_v1_interface,
&keyboard_interface,
};
const wl_interface* zwp_input_timestamps_manager_v1_interface_get_pointer_timestamps_request_server[2] = {
&zwp_input_timestamps_v1_interface,
&pointer_interface,
};
const wl_interface* zwp_input_timestamps_manager_v1_interface_get_touch_timestamps_request_server[2] = {
&zwp_input_timestamps_v1_interface,
&touch_interface,
};
const wl_message zwp_input_timestamps_manager_v1_interface_requests_server[4] = {
{
"destroy",
"",
zwp_input_timestamps_manager_v1_interface_destroy_request_server,
},
{
"get_keyboard_timestamps",
"no",
zwp_input_timestamps_manager_v1_interface_get_keyboard_timestamps_request_server,
},
{
"get_pointer_timestamps",
"no",
zwp_input_timestamps_manager_v1_interface_get_pointer_timestamps_request_server,
},
{
"get_touch_timestamps",
"no",
zwp_input_timestamps_manager_v1_interface_get_touch_timestamps_request_server,
},
};
const wl_message zwp_input_timestamps_manager_v1_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zwp_input_timestamps_manager_v1_interface =
{
"zwp_input_timestamps_manager_v1",
1,
4,
zwp_input_timestamps_manager_v1_interface_requests_server,
0,
zwp_input_timestamps_manager_v1_interface_events_server,
};
const wl_interface* zwp_input_timestamps_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_input_timestamps_v1_interface_timestamp_event_server[3] = {
nullptr,
nullptr,
nullptr,
};
const wl_message zwp_input_timestamps_v1_interface_requests_server[1] = {
{
"destroy",
"",
zwp_input_timestamps_v1_interface_destroy_request_server,
},
};
const wl_message zwp_input_timestamps_v1_interface_events_server[1] = {
{
"timestamp",
"uuu",
zwp_input_timestamps_v1_interface_timestamp_event_server,
},
};
const wl_interface wayland::server::detail::zwp_input_timestamps_v1_interface =
{
"zwp_input_timestamps_v1",
1,
1,
zwp_input_timestamps_v1_interface_requests_server,
1,
zwp_input_timestamps_v1_interface_events_server,
};
const wl_interface* zwp_keyboard_shortcuts_inhibit_manager_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_keyboard_shortcuts_inhibit_manager_v1_interface_inhibit_shortcuts_request_server[3] = {
&zwp_keyboard_shortcuts_inhibitor_v1_interface,
&surface_interface,
&seat_interface,
};
const wl_message zwp_keyboard_shortcuts_inhibit_manager_v1_interface_requests_server[2] = {
{
"destroy",
"",
zwp_keyboard_shortcuts_inhibit_manager_v1_interface_destroy_request_server,
},
{
"inhibit_shortcuts",
"noo",
zwp_keyboard_shortcuts_inhibit_manager_v1_interface_inhibit_shortcuts_request_server,
},
};
const wl_message zwp_keyboard_shortcuts_inhibit_manager_v1_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zwp_keyboard_shortcuts_inhibit_manager_v1_interface =
{
"zwp_keyboard_shortcuts_inhibit_manager_v1",
1,
2,
zwp_keyboard_shortcuts_inhibit_manager_v1_interface_requests_server,
0,
zwp_keyboard_shortcuts_inhibit_manager_v1_interface_events_server,
};
const wl_interface* zwp_keyboard_shortcuts_inhibitor_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_keyboard_shortcuts_inhibitor_v1_interface_active_event_server[0] = {
};
const wl_interface* zwp_keyboard_shortcuts_inhibitor_v1_interface_inactive_event_server[0] = {
};
const wl_message zwp_keyboard_shortcuts_inhibitor_v1_interface_requests_server[1] = {
{
"destroy",
"",
zwp_keyboard_shortcuts_inhibitor_v1_interface_destroy_request_server,
},
};
const wl_message zwp_keyboard_shortcuts_inhibitor_v1_interface_events_server[2] = {
{
"active",
"",
zwp_keyboard_shortcuts_inhibitor_v1_interface_active_event_server,
},
{
"inactive",
"",
zwp_keyboard_shortcuts_inhibitor_v1_interface_inactive_event_server,
},
};
const wl_interface wayland::server::detail::zwp_keyboard_shortcuts_inhibitor_v1_interface =
{
"zwp_keyboard_shortcuts_inhibitor_v1",
1,
1,
zwp_keyboard_shortcuts_inhibitor_v1_interface_requests_server,
2,
zwp_keyboard_shortcuts_inhibitor_v1_interface_events_server,
};
const wl_interface* zwp_linux_dmabuf_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_linux_dmabuf_v1_interface_create_params_request_server[1] = {
&zwp_linux_buffer_params_v1_interface,
};
const wl_interface* zwp_linux_dmabuf_v1_interface_get_default_feedback_request_server[1] = {
&zwp_linux_dmabuf_feedback_v1_interface,
};
const wl_interface* zwp_linux_dmabuf_v1_interface_get_surface_feedback_request_server[2] = {
&zwp_linux_dmabuf_feedback_v1_interface,
&surface_interface,
};
const wl_interface* zwp_linux_dmabuf_v1_interface_format_event_server[1] = {
nullptr,
};
const wl_interface* zwp_linux_dmabuf_v1_interface_modifier_event_server[3] = {
nullptr,
nullptr,
nullptr,
};
const wl_message zwp_linux_dmabuf_v1_interface_requests_server[4] = {
{
"destroy",
"",
zwp_linux_dmabuf_v1_interface_destroy_request_server,
},
{
"create_params",
"n",
zwp_linux_dmabuf_v1_interface_create_params_request_server,
},
{
"get_default_feedback",
"4n",
zwp_linux_dmabuf_v1_interface_get_default_feedback_request_server,
},
{
"get_surface_feedback",
"4no",
zwp_linux_dmabuf_v1_interface_get_surface_feedback_request_server,
},
};
const wl_message zwp_linux_dmabuf_v1_interface_events_server[2] = {
{
"format",
"u",
zwp_linux_dmabuf_v1_interface_format_event_server,
},
{
"modifier",
"3uuu",
zwp_linux_dmabuf_v1_interface_modifier_event_server,
},
};
const wl_interface wayland::server::detail::zwp_linux_dmabuf_v1_interface =
{
"zwp_linux_dmabuf_v1",
4,
4,
zwp_linux_dmabuf_v1_interface_requests_server,
2,
zwp_linux_dmabuf_v1_interface_events_server,
};
const wl_interface* zwp_linux_buffer_params_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_linux_buffer_params_v1_interface_add_request_server[6] = {
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_linux_buffer_params_v1_interface_create_request_server[4] = {
nullptr,
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_linux_buffer_params_v1_interface_create_immed_request_server[5] = {
&buffer_interface,
nullptr,
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_linux_buffer_params_v1_interface_created_event_server[1] = {
&buffer_interface,
};
const wl_interface* zwp_linux_buffer_params_v1_interface_failed_event_server[0] = {
};
const wl_message zwp_linux_buffer_params_v1_interface_requests_server[4] = {
{
"destroy",
"",
zwp_linux_buffer_params_v1_interface_destroy_request_server,
},
{
"add",
"huuuuu",
zwp_linux_buffer_params_v1_interface_add_request_server,
},
{
"create",
"iiuu",
zwp_linux_buffer_params_v1_interface_create_request_server,
},
{
"create_immed",
"2niiuu",
zwp_linux_buffer_params_v1_interface_create_immed_request_server,
},
};
const wl_message zwp_linux_buffer_params_v1_interface_events_server[2] = {
{
"created",
"n",
zwp_linux_buffer_params_v1_interface_created_event_server,
},
{
"failed",
"",
zwp_linux_buffer_params_v1_interface_failed_event_server,
},
};
const wl_interface wayland::server::detail::zwp_linux_buffer_params_v1_interface =
{
"zwp_linux_buffer_params_v1",
4,
4,
zwp_linux_buffer_params_v1_interface_requests_server,
2,
zwp_linux_buffer_params_v1_interface_events_server,
};
const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_done_event_server[0] = {
};
const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_format_table_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_main_device_event_server[1] = {
nullptr,
};
const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_tranche_done_event_server[0] = {
};
const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_tranche_target_device_event_server[1] = {
nullptr,
};
const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_tranche_formats_event_server[1] = {
nullptr,
};
const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_tranche_flags_event_server[1] = {
nullptr,
};
const wl_message zwp_linux_dmabuf_feedback_v1_interface_requests_server[1] = {
{
"destroy",
"",
zwp_linux_dmabuf_feedback_v1_interface_destroy_request_server,
},
};
const wl_message zwp_linux_dmabuf_feedback_v1_interface_events_server[7] = {
{
"done",
"",
zwp_linux_dmabuf_feedback_v1_interface_done_event_server,
},
{
"format_table",
"hu",
zwp_linux_dmabuf_feedback_v1_interface_format_table_event_server,
},
{
"main_device",
"a",
zwp_linux_dmabuf_feedback_v1_interface_main_device_event_server,
},
{
"tranche_done",
"",
zwp_linux_dmabuf_feedback_v1_interface_tranche_done_event_server,
},
{
"tranche_target_device",
"a",
zwp_linux_dmabuf_feedback_v1_interface_tranche_target_device_event_server,
},
{
"tranche_formats",
"a",
zwp_linux_dmabuf_feedback_v1_interface_tranche_formats_event_server,
},
{
"tranche_flags",
"u",
zwp_linux_dmabuf_feedback_v1_interface_tranche_flags_event_server,
},
};
const wl_interface wayland::server::detail::zwp_linux_dmabuf_feedback_v1_interface =
{
"zwp_linux_dmabuf_feedback_v1",
4,
1,
zwp_linux_dmabuf_feedback_v1_interface_requests_server,
7,
zwp_linux_dmabuf_feedback_v1_interface_events_server,
};
const wl_interface* zwp_linux_explicit_synchronization_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_linux_explicit_synchronization_v1_interface_get_synchronization_request_server[2] = {
&zwp_linux_surface_synchronization_v1_interface,
&surface_interface,
};
const wl_message zwp_linux_explicit_synchronization_v1_interface_requests_server[2] = {
{
"destroy",
"",
zwp_linux_explicit_synchronization_v1_interface_destroy_request_server,
},
{
"get_synchronization",
"no",
zwp_linux_explicit_synchronization_v1_interface_get_synchronization_request_server,
},
};
const wl_message zwp_linux_explicit_synchronization_v1_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zwp_linux_explicit_synchronization_v1_interface =
{
"zwp_linux_explicit_synchronization_v1",
2,
2,
zwp_linux_explicit_synchronization_v1_interface_requests_server,
0,
zwp_linux_explicit_synchronization_v1_interface_events_server,
};
const wl_interface* zwp_linux_surface_synchronization_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_linux_surface_synchronization_v1_interface_set_acquire_fence_request_server[1] = {
nullptr,
};
const wl_interface* zwp_linux_surface_synchronization_v1_interface_get_release_request_server[1] = {
&zwp_linux_buffer_release_v1_interface,
};
const wl_message zwp_linux_surface_synchronization_v1_interface_requests_server[3] = {
{
"destroy",
"",
zwp_linux_surface_synchronization_v1_interface_destroy_request_server,
},
{
"set_acquire_fence",
"h",
zwp_linux_surface_synchronization_v1_interface_set_acquire_fence_request_server,
},
{
"get_release",
"n",
zwp_linux_surface_synchronization_v1_interface_get_release_request_server,
},
};
const wl_message zwp_linux_surface_synchronization_v1_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zwp_linux_surface_synchronization_v1_interface =
{
"zwp_linux_surface_synchronization_v1",
2,
3,
zwp_linux_surface_synchronization_v1_interface_requests_server,
0,
zwp_linux_surface_synchronization_v1_interface_events_server,
};
const wl_interface* zwp_linux_buffer_release_v1_interface_fenced_release_event_server[1] = {
nullptr,
};
const wl_interface* zwp_linux_buffer_release_v1_interface_immediate_release_event_server[0] = {
};
const wl_message zwp_linux_buffer_release_v1_interface_requests_server[0] = {
};
const wl_message zwp_linux_buffer_release_v1_interface_events_server[2] = {
{
"fenced_release",
"h",
zwp_linux_buffer_release_v1_interface_fenced_release_event_server,
},
{
"immediate_release",
"",
zwp_linux_buffer_release_v1_interface_immediate_release_event_server,
},
};
const wl_interface wayland::server::detail::zwp_linux_buffer_release_v1_interface =
{
"zwp_linux_buffer_release_v1",
1,
0,
zwp_linux_buffer_release_v1_interface_requests_server,
2,
zwp_linux_buffer_release_v1_interface_events_server,
};
const wl_interface* zwp_pointer_constraints_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_pointer_constraints_v1_interface_lock_pointer_request_server[5] = {
&zwp_locked_pointer_v1_interface,
&surface_interface,
&pointer_interface,
&region_interface,
nullptr,
};
const wl_interface* zwp_pointer_constraints_v1_interface_confine_pointer_request_server[5] = {
&zwp_confined_pointer_v1_interface,
&surface_interface,
&pointer_interface,
&region_interface,
nullptr,
};
const wl_message zwp_pointer_constraints_v1_interface_requests_server[3] = {
{
"destroy",
"",
zwp_pointer_constraints_v1_interface_destroy_request_server,
},
{
"lock_pointer",
"noo?ou",
zwp_pointer_constraints_v1_interface_lock_pointer_request_server,
},
{
"confine_pointer",
"noo?ou",
zwp_pointer_constraints_v1_interface_confine_pointer_request_server,
},
};
const wl_message zwp_pointer_constraints_v1_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zwp_pointer_constraints_v1_interface =
{
"zwp_pointer_constraints_v1",
1,
3,
zwp_pointer_constraints_v1_interface_requests_server,
0,
zwp_pointer_constraints_v1_interface_events_server,
};
const wl_interface* zwp_locked_pointer_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_locked_pointer_v1_interface_set_cursor_position_hint_request_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_locked_pointer_v1_interface_set_region_request_server[1] = {
&region_interface,
};
const wl_interface* zwp_locked_pointer_v1_interface_locked_event_server[0] = {
};
const wl_interface* zwp_locked_pointer_v1_interface_unlocked_event_server[0] = {
};
const wl_message zwp_locked_pointer_v1_interface_requests_server[3] = {
{
"destroy",
"",
zwp_locked_pointer_v1_interface_destroy_request_server,
},
{
"set_cursor_position_hint",
"ff",
zwp_locked_pointer_v1_interface_set_cursor_position_hint_request_server,
},
{
"set_region",
"?o",
zwp_locked_pointer_v1_interface_set_region_request_server,
},
};
const wl_message zwp_locked_pointer_v1_interface_events_server[2] = {
{
"locked",
"",
zwp_locked_pointer_v1_interface_locked_event_server,
},
{
"unlocked",
"",
zwp_locked_pointer_v1_interface_unlocked_event_server,
},
};
const wl_interface wayland::server::detail::zwp_locked_pointer_v1_interface =
{
"zwp_locked_pointer_v1",
1,
3,
zwp_locked_pointer_v1_interface_requests_server,
2,
zwp_locked_pointer_v1_interface_events_server,
};
const wl_interface* zwp_confined_pointer_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_confined_pointer_v1_interface_set_region_request_server[1] = {
&region_interface,
};
const wl_interface* zwp_confined_pointer_v1_interface_confined_event_server[0] = {
};
const wl_interface* zwp_confined_pointer_v1_interface_unconfined_event_server[0] = {
};
const wl_message zwp_confined_pointer_v1_interface_requests_server[2] = {
{
"destroy",
"",
zwp_confined_pointer_v1_interface_destroy_request_server,
},
{
"set_region",
"?o",
zwp_confined_pointer_v1_interface_set_region_request_server,
},
};
const wl_message zwp_confined_pointer_v1_interface_events_server[2] = {
{
"confined",
"",
zwp_confined_pointer_v1_interface_confined_event_server,
},
{
"unconfined",
"",
zwp_confined_pointer_v1_interface_unconfined_event_server,
},
};
const wl_interface wayland::server::detail::zwp_confined_pointer_v1_interface =
{
"zwp_confined_pointer_v1",
1,
2,
zwp_confined_pointer_v1_interface_requests_server,
2,
zwp_confined_pointer_v1_interface_events_server,
};
const wl_interface* zwp_pointer_gestures_v1_interface_get_swipe_gesture_request_server[2] = {
&zwp_pointer_gesture_swipe_v1_interface,
&pointer_interface,
};
const wl_interface* zwp_pointer_gestures_v1_interface_get_pinch_gesture_request_server[2] = {
&zwp_pointer_gesture_pinch_v1_interface,
&pointer_interface,
};
const wl_interface* zwp_pointer_gestures_v1_interface_release_request_server[0] = {
};
const wl_interface* zwp_pointer_gestures_v1_interface_get_hold_gesture_request_server[2] = {
&zwp_pointer_gesture_hold_v1_interface,
&pointer_interface,
};
const wl_message zwp_pointer_gestures_v1_interface_requests_server[4] = {
{
"get_swipe_gesture",
"no",
zwp_pointer_gestures_v1_interface_get_swipe_gesture_request_server,
},
{
"get_pinch_gesture",
"no",
zwp_pointer_gestures_v1_interface_get_pinch_gesture_request_server,
},
{
"release",
"2",
zwp_pointer_gestures_v1_interface_release_request_server,
},
{
"get_hold_gesture",
"3no",
zwp_pointer_gestures_v1_interface_get_hold_gesture_request_server,
},
};
const wl_message zwp_pointer_gestures_v1_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zwp_pointer_gestures_v1_interface =
{
"zwp_pointer_gestures_v1",
3,
4,
zwp_pointer_gestures_v1_interface_requests_server,
0,
zwp_pointer_gestures_v1_interface_events_server,
};
const wl_interface* zwp_pointer_gesture_swipe_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_pointer_gesture_swipe_v1_interface_begin_event_server[4] = {
nullptr,
nullptr,
&surface_interface,
nullptr,
};
const wl_interface* zwp_pointer_gesture_swipe_v1_interface_update_event_server[3] = {
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_pointer_gesture_swipe_v1_interface_end_event_server[3] = {
nullptr,
nullptr,
nullptr,
};
const wl_message zwp_pointer_gesture_swipe_v1_interface_requests_server[1] = {
{
"destroy",
"",
zwp_pointer_gesture_swipe_v1_interface_destroy_request_server,
},
};
const wl_message zwp_pointer_gesture_swipe_v1_interface_events_server[3] = {
{
"begin",
"uuou",
zwp_pointer_gesture_swipe_v1_interface_begin_event_server,
},
{
"update",
"uff",
zwp_pointer_gesture_swipe_v1_interface_update_event_server,
},
{
"end",
"uui",
zwp_pointer_gesture_swipe_v1_interface_end_event_server,
},
};
const wl_interface wayland::server::detail::zwp_pointer_gesture_swipe_v1_interface =
{
"zwp_pointer_gesture_swipe_v1",
2,
1,
zwp_pointer_gesture_swipe_v1_interface_requests_server,
3,
zwp_pointer_gesture_swipe_v1_interface_events_server,
};
const wl_interface* zwp_pointer_gesture_pinch_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_pointer_gesture_pinch_v1_interface_begin_event_server[4] = {
nullptr,
nullptr,
&surface_interface,
nullptr,
};
const wl_interface* zwp_pointer_gesture_pinch_v1_interface_update_event_server[5] = {
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_pointer_gesture_pinch_v1_interface_end_event_server[3] = {
nullptr,
nullptr,
nullptr,
};
const wl_message zwp_pointer_gesture_pinch_v1_interface_requests_server[1] = {
{
"destroy",
"",
zwp_pointer_gesture_pinch_v1_interface_destroy_request_server,
},
};
const wl_message zwp_pointer_gesture_pinch_v1_interface_events_server[3] = {
{
"begin",
"uuou",
zwp_pointer_gesture_pinch_v1_interface_begin_event_server,
},
{
"update",
"uffff",
zwp_pointer_gesture_pinch_v1_interface_update_event_server,
},
{
"end",
"uui",
zwp_pointer_gesture_pinch_v1_interface_end_event_server,
},
};
const wl_interface wayland::server::detail::zwp_pointer_gesture_pinch_v1_interface =
{
"zwp_pointer_gesture_pinch_v1",
2,
1,
zwp_pointer_gesture_pinch_v1_interface_requests_server,
3,
zwp_pointer_gesture_pinch_v1_interface_events_server,
};
const wl_interface* zwp_pointer_gesture_hold_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_pointer_gesture_hold_v1_interface_begin_event_server[4] = {
nullptr,
nullptr,
&surface_interface,
nullptr,
};
const wl_interface* zwp_pointer_gesture_hold_v1_interface_end_event_server[3] = {
nullptr,
nullptr,
nullptr,
};
const wl_message zwp_pointer_gesture_hold_v1_interface_requests_server[1] = {
{
"destroy",
"3",
zwp_pointer_gesture_hold_v1_interface_destroy_request_server,
},
};
const wl_message zwp_pointer_gesture_hold_v1_interface_events_server[2] = {
{
"begin",
"3uuou",
zwp_pointer_gesture_hold_v1_interface_begin_event_server,
},
{
"end",
"3uui",
zwp_pointer_gesture_hold_v1_interface_end_event_server,
},
};
const wl_interface wayland::server::detail::zwp_pointer_gesture_hold_v1_interface =
{
"zwp_pointer_gesture_hold_v1",
3,
1,
zwp_pointer_gesture_hold_v1_interface_requests_server,
2,
zwp_pointer_gesture_hold_v1_interface_events_server,
};
const wl_interface* zwp_primary_selection_device_manager_v1_interface_create_source_request_server[1] = {
&zwp_primary_selection_source_v1_interface,
};
const wl_interface* zwp_primary_selection_device_manager_v1_interface_get_device_request_server[2] = {
&zwp_primary_selection_device_v1_interface,
&seat_interface,
};
const wl_interface* zwp_primary_selection_device_manager_v1_interface_destroy_request_server[0] = {
};
const wl_message zwp_primary_selection_device_manager_v1_interface_requests_server[3] = {
{
"create_source",
"n",
zwp_primary_selection_device_manager_v1_interface_create_source_request_server,
},
{
"get_device",
"no",
zwp_primary_selection_device_manager_v1_interface_get_device_request_server,
},
{
"destroy",
"",
zwp_primary_selection_device_manager_v1_interface_destroy_request_server,
},
};
const wl_message zwp_primary_selection_device_manager_v1_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zwp_primary_selection_device_manager_v1_interface =
{
"zwp_primary_selection_device_manager_v1",
1,
3,
zwp_primary_selection_device_manager_v1_interface_requests_server,
0,
zwp_primary_selection_device_manager_v1_interface_events_server,
};
const wl_interface* zwp_primary_selection_device_v1_interface_set_selection_request_server[2] = {
&zwp_primary_selection_source_v1_interface,
nullptr,
};
const wl_interface* zwp_primary_selection_device_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_primary_selection_device_v1_interface_data_offer_event_server[1] = {
&zwp_primary_selection_offer_v1_interface,
};
const wl_interface* zwp_primary_selection_device_v1_interface_selection_event_server[1] = {
&zwp_primary_selection_offer_v1_interface,
};
const wl_message zwp_primary_selection_device_v1_interface_requests_server[2] = {
{
"set_selection",
"?ou",
zwp_primary_selection_device_v1_interface_set_selection_request_server,
},
{
"destroy",
"",
zwp_primary_selection_device_v1_interface_destroy_request_server,
},
};
const wl_message zwp_primary_selection_device_v1_interface_events_server[2] = {
{
"data_offer",
"n",
zwp_primary_selection_device_v1_interface_data_offer_event_server,
},
{
"selection",
"?o",
zwp_primary_selection_device_v1_interface_selection_event_server,
},
};
const wl_interface wayland::server::detail::zwp_primary_selection_device_v1_interface =
{
"zwp_primary_selection_device_v1",
1,
2,
zwp_primary_selection_device_v1_interface_requests_server,
2,
zwp_primary_selection_device_v1_interface_events_server,
};
const wl_interface* zwp_primary_selection_offer_v1_interface_receive_request_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_primary_selection_offer_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_primary_selection_offer_v1_interface_offer_event_server[1] = {
nullptr,
};
const wl_message zwp_primary_selection_offer_v1_interface_requests_server[2] = {
{
"receive",
"sh",
zwp_primary_selection_offer_v1_interface_receive_request_server,
},
{
"destroy",
"",
zwp_primary_selection_offer_v1_interface_destroy_request_server,
},
};
const wl_message zwp_primary_selection_offer_v1_interface_events_server[1] = {
{
"offer",
"s",
zwp_primary_selection_offer_v1_interface_offer_event_server,
},
};
const wl_interface wayland::server::detail::zwp_primary_selection_offer_v1_interface =
{
"zwp_primary_selection_offer_v1",
1,
2,
zwp_primary_selection_offer_v1_interface_requests_server,
1,
zwp_primary_selection_offer_v1_interface_events_server,
};
const wl_interface* zwp_primary_selection_source_v1_interface_offer_request_server[1] = {
nullptr,
};
const wl_interface* zwp_primary_selection_source_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_primary_selection_source_v1_interface_send_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_primary_selection_source_v1_interface_cancelled_event_server[0] = {
};
const wl_message zwp_primary_selection_source_v1_interface_requests_server[2] = {
{
"offer",
"s",
zwp_primary_selection_source_v1_interface_offer_request_server,
},
{
"destroy",
"",
zwp_primary_selection_source_v1_interface_destroy_request_server,
},
};
const wl_message zwp_primary_selection_source_v1_interface_events_server[2] = {
{
"send",
"sh",
zwp_primary_selection_source_v1_interface_send_event_server,
},
{
"cancelled",
"",
zwp_primary_selection_source_v1_interface_cancelled_event_server,
},
};
const wl_interface wayland::server::detail::zwp_primary_selection_source_v1_interface =
{
"zwp_primary_selection_source_v1",
1,
2,
zwp_primary_selection_source_v1_interface_requests_server,
2,
zwp_primary_selection_source_v1_interface_events_server,
};
const wl_interface* zwp_relative_pointer_manager_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_relative_pointer_manager_v1_interface_get_relative_pointer_request_server[2] = {
&zwp_relative_pointer_v1_interface,
&pointer_interface,
};
const wl_message zwp_relative_pointer_manager_v1_interface_requests_server[2] = {
{
"destroy",
"",
zwp_relative_pointer_manager_v1_interface_destroy_request_server,
},
{
"get_relative_pointer",
"no",
zwp_relative_pointer_manager_v1_interface_get_relative_pointer_request_server,
},
};
const wl_message zwp_relative_pointer_manager_v1_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zwp_relative_pointer_manager_v1_interface =
{
"zwp_relative_pointer_manager_v1",
1,
2,
zwp_relative_pointer_manager_v1_interface_requests_server,
0,
zwp_relative_pointer_manager_v1_interface_events_server,
};
const wl_interface* zwp_relative_pointer_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_relative_pointer_v1_interface_relative_motion_event_server[6] = {
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
};
const wl_message zwp_relative_pointer_v1_interface_requests_server[1] = {
{
"destroy",
"",
zwp_relative_pointer_v1_interface_destroy_request_server,
},
};
const wl_message zwp_relative_pointer_v1_interface_events_server[1] = {
{
"relative_motion",
"uuffff",
zwp_relative_pointer_v1_interface_relative_motion_event_server,
},
};
const wl_interface wayland::server::detail::zwp_relative_pointer_v1_interface =
{
"zwp_relative_pointer_v1",
1,
1,
zwp_relative_pointer_v1_interface_requests_server,
1,
zwp_relative_pointer_v1_interface_events_server,
};
const wl_interface* zwp_tablet_manager_v1_interface_get_tablet_seat_request_server[2] = {
&zwp_tablet_seat_v1_interface,
&seat_interface,
};
const wl_interface* zwp_tablet_manager_v1_interface_destroy_request_server[0] = {
};
const wl_message zwp_tablet_manager_v1_interface_requests_server[2] = {
{
"get_tablet_seat",
"no",
zwp_tablet_manager_v1_interface_get_tablet_seat_request_server,
},
{
"destroy",
"",
zwp_tablet_manager_v1_interface_destroy_request_server,
},
};
const wl_message zwp_tablet_manager_v1_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zwp_tablet_manager_v1_interface =
{
"zwp_tablet_manager_v1",
1,
2,
zwp_tablet_manager_v1_interface_requests_server,
0,
zwp_tablet_manager_v1_interface_events_server,
};
const wl_interface* zwp_tablet_seat_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_tablet_seat_v1_interface_tablet_added_event_server[1] = {
&zwp_tablet_v1_interface,
};
const wl_interface* zwp_tablet_seat_v1_interface_tool_added_event_server[1] = {
&zwp_tablet_tool_v1_interface,
};
const wl_message zwp_tablet_seat_v1_interface_requests_server[1] = {
{
"destroy",
"",
zwp_tablet_seat_v1_interface_destroy_request_server,
},
};
const wl_message zwp_tablet_seat_v1_interface_events_server[2] = {
{
"tablet_added",
"n",
zwp_tablet_seat_v1_interface_tablet_added_event_server,
},
{
"tool_added",
"n",
zwp_tablet_seat_v1_interface_tool_added_event_server,
},
};
const wl_interface wayland::server::detail::zwp_tablet_seat_v1_interface =
{
"zwp_tablet_seat_v1",
1,
1,
zwp_tablet_seat_v1_interface_requests_server,
2,
zwp_tablet_seat_v1_interface_events_server,
};
const wl_interface* zwp_tablet_tool_v1_interface_set_cursor_request_server[4] = {
nullptr,
&surface_interface,
nullptr,
nullptr,
};
const wl_interface* zwp_tablet_tool_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_tablet_tool_v1_interface_type_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_tool_v1_interface_hardware_serial_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_tablet_tool_v1_interface_hardware_id_wacom_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_tablet_tool_v1_interface_capability_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_tool_v1_interface_done_event_server[0] = {
};
const wl_interface* zwp_tablet_tool_v1_interface_removed_event_server[0] = {
};
const wl_interface* zwp_tablet_tool_v1_interface_proximity_in_event_server[3] = {
nullptr,
&zwp_tablet_v1_interface,
&surface_interface,
};
const wl_interface* zwp_tablet_tool_v1_interface_proximity_out_event_server[0] = {
};
const wl_interface* zwp_tablet_tool_v1_interface_down_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_tool_v1_interface_up_event_server[0] = {
};
const wl_interface* zwp_tablet_tool_v1_interface_motion_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_tablet_tool_v1_interface_pressure_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_tool_v1_interface_distance_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_tool_v1_interface_tilt_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_tablet_tool_v1_interface_rotation_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_tool_v1_interface_slider_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_tool_v1_interface_wheel_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_tablet_tool_v1_interface_button_event_server[3] = {
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_tablet_tool_v1_interface_frame_event_server[1] = {
nullptr,
};
const wl_message zwp_tablet_tool_v1_interface_requests_server[2] = {
{
"set_cursor",
"u?oii",
zwp_tablet_tool_v1_interface_set_cursor_request_server,
},
{
"destroy",
"",
zwp_tablet_tool_v1_interface_destroy_request_server,
},
};
const wl_message zwp_tablet_tool_v1_interface_events_server[19] = {
{
"type",
"u",
zwp_tablet_tool_v1_interface_type_event_server,
},
{
"hardware_serial",
"uu",
zwp_tablet_tool_v1_interface_hardware_serial_event_server,
},
{
"hardware_id_wacom",
"uu",
zwp_tablet_tool_v1_interface_hardware_id_wacom_event_server,
},
{
"capability",
"u",
zwp_tablet_tool_v1_interface_capability_event_server,
},
{
"done",
"",
zwp_tablet_tool_v1_interface_done_event_server,
},
{
"removed",
"",
zwp_tablet_tool_v1_interface_removed_event_server,
},
{
"proximity_in",
"uoo",
zwp_tablet_tool_v1_interface_proximity_in_event_server,
},
{
"proximity_out",
"",
zwp_tablet_tool_v1_interface_proximity_out_event_server,
},
{
"down",
"u",
zwp_tablet_tool_v1_interface_down_event_server,
},
{
"up",
"",
zwp_tablet_tool_v1_interface_up_event_server,
},
{
"motion",
"ff",
zwp_tablet_tool_v1_interface_motion_event_server,
},
{
"pressure",
"u",
zwp_tablet_tool_v1_interface_pressure_event_server,
},
{
"distance",
"u",
zwp_tablet_tool_v1_interface_distance_event_server,
},
{
"tilt",
"ii",
zwp_tablet_tool_v1_interface_tilt_event_server,
},
{
"rotation",
"i",
zwp_tablet_tool_v1_interface_rotation_event_server,
},
{
"slider",
"i",
zwp_tablet_tool_v1_interface_slider_event_server,
},
{
"wheel",
"ii",
zwp_tablet_tool_v1_interface_wheel_event_server,
},
{
"button",
"uuu",
zwp_tablet_tool_v1_interface_button_event_server,
},
{
"frame",
"u",
zwp_tablet_tool_v1_interface_frame_event_server,
},
};
const wl_interface wayland::server::detail::zwp_tablet_tool_v1_interface =
{
"zwp_tablet_tool_v1",
1,
2,
zwp_tablet_tool_v1_interface_requests_server,
19,
zwp_tablet_tool_v1_interface_events_server,
};
const wl_interface* zwp_tablet_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_tablet_v1_interface_name_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_v1_interface_id_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_tablet_v1_interface_path_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_v1_interface_done_event_server[0] = {
};
const wl_interface* zwp_tablet_v1_interface_removed_event_server[0] = {
};
const wl_message zwp_tablet_v1_interface_requests_server[1] = {
{
"destroy",
"",
zwp_tablet_v1_interface_destroy_request_server,
},
};
const wl_message zwp_tablet_v1_interface_events_server[5] = {
{
"name",
"s",
zwp_tablet_v1_interface_name_event_server,
},
{
"id",
"uu",
zwp_tablet_v1_interface_id_event_server,
},
{
"path",
"s",
zwp_tablet_v1_interface_path_event_server,
},
{
"done",
"",
zwp_tablet_v1_interface_done_event_server,
},
{
"removed",
"",
zwp_tablet_v1_interface_removed_event_server,
},
};
const wl_interface wayland::server::detail::zwp_tablet_v1_interface =
{
"zwp_tablet_v1",
1,
1,
zwp_tablet_v1_interface_requests_server,
5,
zwp_tablet_v1_interface_events_server,
};
const wl_interface* zwp_tablet_manager_v2_interface_get_tablet_seat_request_server[2] = {
&zwp_tablet_seat_v2_interface,
&seat_interface,
};
const wl_interface* zwp_tablet_manager_v2_interface_destroy_request_server[0] = {
};
const wl_message zwp_tablet_manager_v2_interface_requests_server[2] = {
{
"get_tablet_seat",
"no",
zwp_tablet_manager_v2_interface_get_tablet_seat_request_server,
},
{
"destroy",
"",
zwp_tablet_manager_v2_interface_destroy_request_server,
},
};
const wl_message zwp_tablet_manager_v2_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zwp_tablet_manager_v2_interface =
{
"zwp_tablet_manager_v2",
1,
2,
zwp_tablet_manager_v2_interface_requests_server,
0,
zwp_tablet_manager_v2_interface_events_server,
};
const wl_interface* zwp_tablet_seat_v2_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_tablet_seat_v2_interface_tablet_added_event_server[1] = {
&zwp_tablet_v2_interface,
};
const wl_interface* zwp_tablet_seat_v2_interface_tool_added_event_server[1] = {
&zwp_tablet_tool_v2_interface,
};
const wl_interface* zwp_tablet_seat_v2_interface_pad_added_event_server[1] = {
&zwp_tablet_pad_v2_interface,
};
const wl_message zwp_tablet_seat_v2_interface_requests_server[1] = {
{
"destroy",
"",
zwp_tablet_seat_v2_interface_destroy_request_server,
},
};
const wl_message zwp_tablet_seat_v2_interface_events_server[3] = {
{
"tablet_added",
"n",
zwp_tablet_seat_v2_interface_tablet_added_event_server,
},
{
"tool_added",
"n",
zwp_tablet_seat_v2_interface_tool_added_event_server,
},
{
"pad_added",
"n",
zwp_tablet_seat_v2_interface_pad_added_event_server,
},
};
const wl_interface wayland::server::detail::zwp_tablet_seat_v2_interface =
{
"zwp_tablet_seat_v2",
1,
1,
zwp_tablet_seat_v2_interface_requests_server,
3,
zwp_tablet_seat_v2_interface_events_server,
};
const wl_interface* zwp_tablet_tool_v2_interface_set_cursor_request_server[4] = {
nullptr,
&surface_interface,
nullptr,
nullptr,
};
const wl_interface* zwp_tablet_tool_v2_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_tablet_tool_v2_interface_type_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_tool_v2_interface_hardware_serial_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_tablet_tool_v2_interface_hardware_id_wacom_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_tablet_tool_v2_interface_capability_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_tool_v2_interface_done_event_server[0] = {
};
const wl_interface* zwp_tablet_tool_v2_interface_removed_event_server[0] = {
};
const wl_interface* zwp_tablet_tool_v2_interface_proximity_in_event_server[3] = {
nullptr,
&zwp_tablet_v2_interface,
&surface_interface,
};
const wl_interface* zwp_tablet_tool_v2_interface_proximity_out_event_server[0] = {
};
const wl_interface* zwp_tablet_tool_v2_interface_down_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_tool_v2_interface_up_event_server[0] = {
};
const wl_interface* zwp_tablet_tool_v2_interface_motion_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_tablet_tool_v2_interface_pressure_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_tool_v2_interface_distance_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_tool_v2_interface_tilt_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_tablet_tool_v2_interface_rotation_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_tool_v2_interface_slider_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_tool_v2_interface_wheel_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_tablet_tool_v2_interface_button_event_server[3] = {
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_tablet_tool_v2_interface_frame_event_server[1] = {
nullptr,
};
const wl_message zwp_tablet_tool_v2_interface_requests_server[2] = {
{
"set_cursor",
"u?oii",
zwp_tablet_tool_v2_interface_set_cursor_request_server,
},
{
"destroy",
"",
zwp_tablet_tool_v2_interface_destroy_request_server,
},
};
const wl_message zwp_tablet_tool_v2_interface_events_server[19] = {
{
"type",
"u",
zwp_tablet_tool_v2_interface_type_event_server,
},
{
"hardware_serial",
"uu",
zwp_tablet_tool_v2_interface_hardware_serial_event_server,
},
{
"hardware_id_wacom",
"uu",
zwp_tablet_tool_v2_interface_hardware_id_wacom_event_server,
},
{
"capability",
"u",
zwp_tablet_tool_v2_interface_capability_event_server,
},
{
"done",
"",
zwp_tablet_tool_v2_interface_done_event_server,
},
{
"removed",
"",
zwp_tablet_tool_v2_interface_removed_event_server,
},
{
"proximity_in",
"uoo",
zwp_tablet_tool_v2_interface_proximity_in_event_server,
},
{
"proximity_out",
"",
zwp_tablet_tool_v2_interface_proximity_out_event_server,
},
{
"down",
"u",
zwp_tablet_tool_v2_interface_down_event_server,
},
{
"up",
"",
zwp_tablet_tool_v2_interface_up_event_server,
},
{
"motion",
"ff",
zwp_tablet_tool_v2_interface_motion_event_server,
},
{
"pressure",
"u",
zwp_tablet_tool_v2_interface_pressure_event_server,
},
{
"distance",
"u",
zwp_tablet_tool_v2_interface_distance_event_server,
},
{
"tilt",
"ff",
zwp_tablet_tool_v2_interface_tilt_event_server,
},
{
"rotation",
"f",
zwp_tablet_tool_v2_interface_rotation_event_server,
},
{
"slider",
"i",
zwp_tablet_tool_v2_interface_slider_event_server,
},
{
"wheel",
"fi",
zwp_tablet_tool_v2_interface_wheel_event_server,
},
{
"button",
"uuu",
zwp_tablet_tool_v2_interface_button_event_server,
},
{
"frame",
"u",
zwp_tablet_tool_v2_interface_frame_event_server,
},
};
const wl_interface wayland::server::detail::zwp_tablet_tool_v2_interface =
{
"zwp_tablet_tool_v2",
1,
2,
zwp_tablet_tool_v2_interface_requests_server,
19,
zwp_tablet_tool_v2_interface_events_server,
};
const wl_interface* zwp_tablet_v2_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_tablet_v2_interface_name_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_v2_interface_id_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_tablet_v2_interface_path_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_v2_interface_done_event_server[0] = {
};
const wl_interface* zwp_tablet_v2_interface_removed_event_server[0] = {
};
const wl_message zwp_tablet_v2_interface_requests_server[1] = {
{
"destroy",
"",
zwp_tablet_v2_interface_destroy_request_server,
},
};
const wl_message zwp_tablet_v2_interface_events_server[5] = {
{
"name",
"s",
zwp_tablet_v2_interface_name_event_server,
},
{
"id",
"uu",
zwp_tablet_v2_interface_id_event_server,
},
{
"path",
"s",
zwp_tablet_v2_interface_path_event_server,
},
{
"done",
"",
zwp_tablet_v2_interface_done_event_server,
},
{
"removed",
"",
zwp_tablet_v2_interface_removed_event_server,
},
};
const wl_interface wayland::server::detail::zwp_tablet_v2_interface =
{
"zwp_tablet_v2",
1,
1,
zwp_tablet_v2_interface_requests_server,
5,
zwp_tablet_v2_interface_events_server,
};
const wl_interface* zwp_tablet_pad_ring_v2_interface_set_feedback_request_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_tablet_pad_ring_v2_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_tablet_pad_ring_v2_interface_source_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_pad_ring_v2_interface_angle_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_pad_ring_v2_interface_stop_event_server[0] = {
};
const wl_interface* zwp_tablet_pad_ring_v2_interface_frame_event_server[1] = {
nullptr,
};
const wl_message zwp_tablet_pad_ring_v2_interface_requests_server[2] = {
{
"set_feedback",
"su",
zwp_tablet_pad_ring_v2_interface_set_feedback_request_server,
},
{
"destroy",
"",
zwp_tablet_pad_ring_v2_interface_destroy_request_server,
},
};
const wl_message zwp_tablet_pad_ring_v2_interface_events_server[4] = {
{
"source",
"u",
zwp_tablet_pad_ring_v2_interface_source_event_server,
},
{
"angle",
"f",
zwp_tablet_pad_ring_v2_interface_angle_event_server,
},
{
"stop",
"",
zwp_tablet_pad_ring_v2_interface_stop_event_server,
},
{
"frame",
"u",
zwp_tablet_pad_ring_v2_interface_frame_event_server,
},
};
const wl_interface wayland::server::detail::zwp_tablet_pad_ring_v2_interface =
{
"zwp_tablet_pad_ring_v2",
1,
2,
zwp_tablet_pad_ring_v2_interface_requests_server,
4,
zwp_tablet_pad_ring_v2_interface_events_server,
};
const wl_interface* zwp_tablet_pad_strip_v2_interface_set_feedback_request_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_tablet_pad_strip_v2_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_tablet_pad_strip_v2_interface_source_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_pad_strip_v2_interface_position_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_pad_strip_v2_interface_stop_event_server[0] = {
};
const wl_interface* zwp_tablet_pad_strip_v2_interface_frame_event_server[1] = {
nullptr,
};
const wl_message zwp_tablet_pad_strip_v2_interface_requests_server[2] = {
{
"set_feedback",
"su",
zwp_tablet_pad_strip_v2_interface_set_feedback_request_server,
},
{
"destroy",
"",
zwp_tablet_pad_strip_v2_interface_destroy_request_server,
},
};
const wl_message zwp_tablet_pad_strip_v2_interface_events_server[4] = {
{
"source",
"u",
zwp_tablet_pad_strip_v2_interface_source_event_server,
},
{
"position",
"u",
zwp_tablet_pad_strip_v2_interface_position_event_server,
},
{
"stop",
"",
zwp_tablet_pad_strip_v2_interface_stop_event_server,
},
{
"frame",
"u",
zwp_tablet_pad_strip_v2_interface_frame_event_server,
},
};
const wl_interface wayland::server::detail::zwp_tablet_pad_strip_v2_interface =
{
"zwp_tablet_pad_strip_v2",
1,
2,
zwp_tablet_pad_strip_v2_interface_requests_server,
4,
zwp_tablet_pad_strip_v2_interface_events_server,
};
const wl_interface* zwp_tablet_pad_group_v2_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_tablet_pad_group_v2_interface_buttons_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_pad_group_v2_interface_ring_event_server[1] = {
&zwp_tablet_pad_ring_v2_interface,
};
const wl_interface* zwp_tablet_pad_group_v2_interface_strip_event_server[1] = {
&zwp_tablet_pad_strip_v2_interface,
};
const wl_interface* zwp_tablet_pad_group_v2_interface_modes_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_pad_group_v2_interface_done_event_server[0] = {
};
const wl_interface* zwp_tablet_pad_group_v2_interface_mode_switch_event_server[3] = {
nullptr,
nullptr,
nullptr,
};
const wl_message zwp_tablet_pad_group_v2_interface_requests_server[1] = {
{
"destroy",
"",
zwp_tablet_pad_group_v2_interface_destroy_request_server,
},
};
const wl_message zwp_tablet_pad_group_v2_interface_events_server[6] = {
{
"buttons",
"a",
zwp_tablet_pad_group_v2_interface_buttons_event_server,
},
{
"ring",
"n",
zwp_tablet_pad_group_v2_interface_ring_event_server,
},
{
"strip",
"n",
zwp_tablet_pad_group_v2_interface_strip_event_server,
},
{
"modes",
"u",
zwp_tablet_pad_group_v2_interface_modes_event_server,
},
{
"done",
"",
zwp_tablet_pad_group_v2_interface_done_event_server,
},
{
"mode_switch",
"uuu",
zwp_tablet_pad_group_v2_interface_mode_switch_event_server,
},
};
const wl_interface wayland::server::detail::zwp_tablet_pad_group_v2_interface =
{
"zwp_tablet_pad_group_v2",
1,
1,
zwp_tablet_pad_group_v2_interface_requests_server,
6,
zwp_tablet_pad_group_v2_interface_events_server,
};
const wl_interface* zwp_tablet_pad_v2_interface_set_feedback_request_server[3] = {
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_tablet_pad_v2_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_tablet_pad_v2_interface_group_event_server[1] = {
&zwp_tablet_pad_group_v2_interface,
};
const wl_interface* zwp_tablet_pad_v2_interface_path_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_pad_v2_interface_buttons_event_server[1] = {
nullptr,
};
const wl_interface* zwp_tablet_pad_v2_interface_done_event_server[0] = {
};
const wl_interface* zwp_tablet_pad_v2_interface_button_event_server[3] = {
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_tablet_pad_v2_interface_enter_event_server[3] = {
nullptr,
&zwp_tablet_v2_interface,
&surface_interface,
};
const wl_interface* zwp_tablet_pad_v2_interface_leave_event_server[2] = {
nullptr,
&surface_interface,
};
const wl_interface* zwp_tablet_pad_v2_interface_removed_event_server[0] = {
};
const wl_message zwp_tablet_pad_v2_interface_requests_server[2] = {
{
"set_feedback",
"usu",
zwp_tablet_pad_v2_interface_set_feedback_request_server,
},
{
"destroy",
"",
zwp_tablet_pad_v2_interface_destroy_request_server,
},
};
const wl_message zwp_tablet_pad_v2_interface_events_server[8] = {
{
"group",
"n",
zwp_tablet_pad_v2_interface_group_event_server,
},
{
"path",
"s",
zwp_tablet_pad_v2_interface_path_event_server,
},
{
"buttons",
"u",
zwp_tablet_pad_v2_interface_buttons_event_server,
},
{
"done",
"",
zwp_tablet_pad_v2_interface_done_event_server,
},
{
"button",
"uuu",
zwp_tablet_pad_v2_interface_button_event_server,
},
{
"enter",
"uoo",
zwp_tablet_pad_v2_interface_enter_event_server,
},
{
"leave",
"uo",
zwp_tablet_pad_v2_interface_leave_event_server,
},
{
"removed",
"",
zwp_tablet_pad_v2_interface_removed_event_server,
},
};
const wl_interface wayland::server::detail::zwp_tablet_pad_v2_interface =
{
"zwp_tablet_pad_v2",
1,
2,
zwp_tablet_pad_v2_interface_requests_server,
8,
zwp_tablet_pad_v2_interface_events_server,
};
const wl_interface* zwp_text_input_v1_interface_activate_request_server[2] = {
&seat_interface,
&surface_interface,
};
const wl_interface* zwp_text_input_v1_interface_deactivate_request_server[1] = {
&seat_interface,
};
const wl_interface* zwp_text_input_v1_interface_show_input_panel_request_server[0] = {
};
const wl_interface* zwp_text_input_v1_interface_hide_input_panel_request_server[0] = {
};
const wl_interface* zwp_text_input_v1_interface_reset_request_server[0] = {
};
const wl_interface* zwp_text_input_v1_interface_set_surrounding_text_request_server[3] = {
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_text_input_v1_interface_set_content_type_request_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_text_input_v1_interface_set_cursor_rectangle_request_server[4] = {
nullptr,
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_text_input_v1_interface_set_preferred_language_request_server[1] = {
nullptr,
};
const wl_interface* zwp_text_input_v1_interface_commit_state_request_server[1] = {
nullptr,
};
const wl_interface* zwp_text_input_v1_interface_invoke_action_request_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_text_input_v1_interface_enter_event_server[1] = {
&surface_interface,
};
const wl_interface* zwp_text_input_v1_interface_leave_event_server[0] = {
};
const wl_interface* zwp_text_input_v1_interface_modifiers_map_event_server[1] = {
nullptr,
};
const wl_interface* zwp_text_input_v1_interface_input_panel_state_event_server[1] = {
nullptr,
};
const wl_interface* zwp_text_input_v1_interface_preedit_string_event_server[3] = {
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_text_input_v1_interface_preedit_styling_event_server[3] = {
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_text_input_v1_interface_preedit_cursor_event_server[1] = {
nullptr,
};
const wl_interface* zwp_text_input_v1_interface_commit_string_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_text_input_v1_interface_cursor_position_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_text_input_v1_interface_delete_surrounding_text_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_text_input_v1_interface_keysym_event_server[5] = {
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_text_input_v1_interface_language_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_text_input_v1_interface_text_direction_event_server[2] = {
nullptr,
nullptr,
};
const wl_message zwp_text_input_v1_interface_requests_server[11] = {
{
"activate",
"oo",
zwp_text_input_v1_interface_activate_request_server,
},
{
"deactivate",
"o",
zwp_text_input_v1_interface_deactivate_request_server,
},
{
"show_input_panel",
"",
zwp_text_input_v1_interface_show_input_panel_request_server,
},
{
"hide_input_panel",
"",
zwp_text_input_v1_interface_hide_input_panel_request_server,
},
{
"reset",
"",
zwp_text_input_v1_interface_reset_request_server,
},
{
"set_surrounding_text",
"suu",
zwp_text_input_v1_interface_set_surrounding_text_request_server,
},
{
"set_content_type",
"uu",
zwp_text_input_v1_interface_set_content_type_request_server,
},
{
"set_cursor_rectangle",
"iiii",
zwp_text_input_v1_interface_set_cursor_rectangle_request_server,
},
{
"set_preferred_language",
"s",
zwp_text_input_v1_interface_set_preferred_language_request_server,
},
{
"commit_state",
"u",
zwp_text_input_v1_interface_commit_state_request_server,
},
{
"invoke_action",
"uu",
zwp_text_input_v1_interface_invoke_action_request_server,
},
};
const wl_message zwp_text_input_v1_interface_events_server[13] = {
{
"enter",
"o",
zwp_text_input_v1_interface_enter_event_server,
},
{
"leave",
"",
zwp_text_input_v1_interface_leave_event_server,
},
{
"modifiers_map",
"a",
zwp_text_input_v1_interface_modifiers_map_event_server,
},
{
"input_panel_state",
"u",
zwp_text_input_v1_interface_input_panel_state_event_server,
},
{
"preedit_string",
"uss",
zwp_text_input_v1_interface_preedit_string_event_server,
},
{
"preedit_styling",
"uuu",
zwp_text_input_v1_interface_preedit_styling_event_server,
},
{
"preedit_cursor",
"i",
zwp_text_input_v1_interface_preedit_cursor_event_server,
},
{
"commit_string",
"us",
zwp_text_input_v1_interface_commit_string_event_server,
},
{
"cursor_position",
"ii",
zwp_text_input_v1_interface_cursor_position_event_server,
},
{
"delete_surrounding_text",
"iu",
zwp_text_input_v1_interface_delete_surrounding_text_event_server,
},
{
"keysym",
"uuuuu",
zwp_text_input_v1_interface_keysym_event_server,
},
{
"language",
"us",
zwp_text_input_v1_interface_language_event_server,
},
{
"text_direction",
"uu",
zwp_text_input_v1_interface_text_direction_event_server,
},
};
const wl_interface wayland::server::detail::zwp_text_input_v1_interface =
{
"zwp_text_input_v1",
1,
11,
zwp_text_input_v1_interface_requests_server,
13,
zwp_text_input_v1_interface_events_server,
};
const wl_interface* zwp_text_input_manager_v1_interface_create_text_input_request_server[1] = {
&zwp_text_input_v1_interface,
};
const wl_message zwp_text_input_manager_v1_interface_requests_server[1] = {
{
"create_text_input",
"n",
zwp_text_input_manager_v1_interface_create_text_input_request_server,
},
};
const wl_message zwp_text_input_manager_v1_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zwp_text_input_manager_v1_interface =
{
"zwp_text_input_manager_v1",
1,
1,
zwp_text_input_manager_v1_interface_requests_server,
0,
zwp_text_input_manager_v1_interface_events_server,
};
const wl_interface* zwp_text_input_v3_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_text_input_v3_interface_enable_request_server[0] = {
};
const wl_interface* zwp_text_input_v3_interface_disable_request_server[0] = {
};
const wl_interface* zwp_text_input_v3_interface_set_surrounding_text_request_server[3] = {
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_text_input_v3_interface_set_text_change_cause_request_server[1] = {
nullptr,
};
const wl_interface* zwp_text_input_v3_interface_set_content_type_request_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_text_input_v3_interface_set_cursor_rectangle_request_server[4] = {
nullptr,
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_text_input_v3_interface_commit_request_server[0] = {
};
const wl_interface* zwp_text_input_v3_interface_enter_event_server[1] = {
&surface_interface,
};
const wl_interface* zwp_text_input_v3_interface_leave_event_server[1] = {
&surface_interface,
};
const wl_interface* zwp_text_input_v3_interface_preedit_string_event_server[3] = {
nullptr,
nullptr,
nullptr,
};
const wl_interface* zwp_text_input_v3_interface_commit_string_event_server[1] = {
nullptr,
};
const wl_interface* zwp_text_input_v3_interface_delete_surrounding_text_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zwp_text_input_v3_interface_done_event_server[1] = {
nullptr,
};
const wl_message zwp_text_input_v3_interface_requests_server[8] = {
{
"destroy",
"",
zwp_text_input_v3_interface_destroy_request_server,
},
{
"enable",
"",
zwp_text_input_v3_interface_enable_request_server,
},
{
"disable",
"",
zwp_text_input_v3_interface_disable_request_server,
},
{
"set_surrounding_text",
"sii",
zwp_text_input_v3_interface_set_surrounding_text_request_server,
},
{
"set_text_change_cause",
"u",
zwp_text_input_v3_interface_set_text_change_cause_request_server,
},
{
"set_content_type",
"uu",
zwp_text_input_v3_interface_set_content_type_request_server,
},
{
"set_cursor_rectangle",
"iiii",
zwp_text_input_v3_interface_set_cursor_rectangle_request_server,
},
{
"commit",
"",
zwp_text_input_v3_interface_commit_request_server,
},
};
const wl_message zwp_text_input_v3_interface_events_server[6] = {
{
"enter",
"o",
zwp_text_input_v3_interface_enter_event_server,
},
{
"leave",
"o",
zwp_text_input_v3_interface_leave_event_server,
},
{
"preedit_string",
"?sii",
zwp_text_input_v3_interface_preedit_string_event_server,
},
{
"commit_string",
"?s",
zwp_text_input_v3_interface_commit_string_event_server,
},
{
"delete_surrounding_text",
"uu",
zwp_text_input_v3_interface_delete_surrounding_text_event_server,
},
{
"done",
"u",
zwp_text_input_v3_interface_done_event_server,
},
};
const wl_interface wayland::server::detail::zwp_text_input_v3_interface =
{
"zwp_text_input_v3",
1,
8,
zwp_text_input_v3_interface_requests_server,
6,
zwp_text_input_v3_interface_events_server,
};
const wl_interface* zwp_text_input_manager_v3_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_text_input_manager_v3_interface_get_text_input_request_server[2] = {
&zwp_text_input_v3_interface,
&seat_interface,
};
const wl_message zwp_text_input_manager_v3_interface_requests_server[2] = {
{
"destroy",
"",
zwp_text_input_manager_v3_interface_destroy_request_server,
},
{
"get_text_input",
"no",
zwp_text_input_manager_v3_interface_get_text_input_request_server,
},
};
const wl_message zwp_text_input_manager_v3_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zwp_text_input_manager_v3_interface =
{
"zwp_text_input_manager_v3",
1,
2,
zwp_text_input_manager_v3_interface_requests_server,
0,
zwp_text_input_manager_v3_interface_events_server,
};
const wl_interface* xdg_activation_v1_interface_destroy_request_server[0] = {
};
const wl_interface* xdg_activation_v1_interface_get_activation_token_request_server[1] = {
&xdg_activation_token_v1_interface,
};
const wl_interface* xdg_activation_v1_interface_activate_request_server[2] = {
nullptr,
&surface_interface,
};
const wl_message xdg_activation_v1_interface_requests_server[3] = {
{
"destroy",
"",
xdg_activation_v1_interface_destroy_request_server,
},
{
"get_activation_token",
"n",
xdg_activation_v1_interface_get_activation_token_request_server,
},
{
"activate",
"so",
xdg_activation_v1_interface_activate_request_server,
},
};
const wl_message xdg_activation_v1_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::xdg_activation_v1_interface =
{
"xdg_activation_v1",
1,
3,
xdg_activation_v1_interface_requests_server,
0,
xdg_activation_v1_interface_events_server,
};
const wl_interface* xdg_activation_token_v1_interface_set_serial_request_server[2] = {
nullptr,
&seat_interface,
};
const wl_interface* xdg_activation_token_v1_interface_set_app_id_request_server[1] = {
nullptr,
};
const wl_interface* xdg_activation_token_v1_interface_set_surface_request_server[1] = {
&surface_interface,
};
const wl_interface* xdg_activation_token_v1_interface_commit_request_server[0] = {
};
const wl_interface* xdg_activation_token_v1_interface_destroy_request_server[0] = {
};
const wl_interface* xdg_activation_token_v1_interface_done_event_server[1] = {
nullptr,
};
const wl_message xdg_activation_token_v1_interface_requests_server[5] = {
{
"set_serial",
"uo",
xdg_activation_token_v1_interface_set_serial_request_server,
},
{
"set_app_id",
"s",
xdg_activation_token_v1_interface_set_app_id_request_server,
},
{
"set_surface",
"o",
xdg_activation_token_v1_interface_set_surface_request_server,
},
{
"commit",
"",
xdg_activation_token_v1_interface_commit_request_server,
},
{
"destroy",
"",
xdg_activation_token_v1_interface_destroy_request_server,
},
};
const wl_message xdg_activation_token_v1_interface_events_server[1] = {
{
"done",
"s",
xdg_activation_token_v1_interface_done_event_server,
},
};
const wl_interface wayland::server::detail::xdg_activation_token_v1_interface =
{
"xdg_activation_token_v1",
1,
5,
xdg_activation_token_v1_interface_requests_server,
1,
xdg_activation_token_v1_interface_events_server,
};
const wl_interface* zxdg_decoration_manager_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zxdg_decoration_manager_v1_interface_get_toplevel_decoration_request_server[2] = {
&zxdg_toplevel_decoration_v1_interface,
&xdg_toplevel_interface,
};
const wl_message zxdg_decoration_manager_v1_interface_requests_server[2] = {
{
"destroy",
"",
zxdg_decoration_manager_v1_interface_destroy_request_server,
},
{
"get_toplevel_decoration",
"no",
zxdg_decoration_manager_v1_interface_get_toplevel_decoration_request_server,
},
};
const wl_message zxdg_decoration_manager_v1_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zxdg_decoration_manager_v1_interface =
{
"zxdg_decoration_manager_v1",
1,
2,
zxdg_decoration_manager_v1_interface_requests_server,
0,
zxdg_decoration_manager_v1_interface_events_server,
};
const wl_interface* zxdg_toplevel_decoration_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zxdg_toplevel_decoration_v1_interface_set_mode_request_server[1] = {
nullptr,
};
const wl_interface* zxdg_toplevel_decoration_v1_interface_unset_mode_request_server[0] = {
};
const wl_interface* zxdg_toplevel_decoration_v1_interface_configure_event_server[1] = {
nullptr,
};
const wl_message zxdg_toplevel_decoration_v1_interface_requests_server[3] = {
{
"destroy",
"",
zxdg_toplevel_decoration_v1_interface_destroy_request_server,
},
{
"set_mode",
"u",
zxdg_toplevel_decoration_v1_interface_set_mode_request_server,
},
{
"unset_mode",
"",
zxdg_toplevel_decoration_v1_interface_unset_mode_request_server,
},
};
const wl_message zxdg_toplevel_decoration_v1_interface_events_server[1] = {
{
"configure",
"u",
zxdg_toplevel_decoration_v1_interface_configure_event_server,
},
};
const wl_interface wayland::server::detail::zxdg_toplevel_decoration_v1_interface =
{
"zxdg_toplevel_decoration_v1",
1,
3,
zxdg_toplevel_decoration_v1_interface_requests_server,
1,
zxdg_toplevel_decoration_v1_interface_events_server,
};
const wl_interface* zxdg_exporter_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zxdg_exporter_v1_interface_export_request_server[2] = {
&zxdg_exported_v1_interface,
&surface_interface,
};
const wl_message zxdg_exporter_v1_interface_requests_server[2] = {
{
"destroy",
"",
zxdg_exporter_v1_interface_destroy_request_server,
},
{
"export",
"no",
zxdg_exporter_v1_interface_export_request_server,
},
};
const wl_message zxdg_exporter_v1_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zxdg_exporter_v1_interface =
{
"zxdg_exporter_v1",
1,
2,
zxdg_exporter_v1_interface_requests_server,
0,
zxdg_exporter_v1_interface_events_server,
};
const wl_interface* zxdg_importer_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zxdg_importer_v1_interface_import_request_server[2] = {
&zxdg_imported_v1_interface,
nullptr,
};
const wl_message zxdg_importer_v1_interface_requests_server[2] = {
{
"destroy",
"",
zxdg_importer_v1_interface_destroy_request_server,
},
{
"import",
"ns",
zxdg_importer_v1_interface_import_request_server,
},
};
const wl_message zxdg_importer_v1_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zxdg_importer_v1_interface =
{
"zxdg_importer_v1",
1,
2,
zxdg_importer_v1_interface_requests_server,
0,
zxdg_importer_v1_interface_events_server,
};
const wl_interface* zxdg_exported_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zxdg_exported_v1_interface_handle_event_server[1] = {
nullptr,
};
const wl_message zxdg_exported_v1_interface_requests_server[1] = {
{
"destroy",
"",
zxdg_exported_v1_interface_destroy_request_server,
},
};
const wl_message zxdg_exported_v1_interface_events_server[1] = {
{
"handle",
"s",
zxdg_exported_v1_interface_handle_event_server,
},
};
const wl_interface wayland::server::detail::zxdg_exported_v1_interface =
{
"zxdg_exported_v1",
1,
1,
zxdg_exported_v1_interface_requests_server,
1,
zxdg_exported_v1_interface_events_server,
};
const wl_interface* zxdg_imported_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zxdg_imported_v1_interface_set_parent_of_request_server[1] = {
&surface_interface,
};
const wl_interface* zxdg_imported_v1_interface_destroyed_event_server[0] = {
};
const wl_message zxdg_imported_v1_interface_requests_server[2] = {
{
"destroy",
"",
zxdg_imported_v1_interface_destroy_request_server,
},
{
"set_parent_of",
"o",
zxdg_imported_v1_interface_set_parent_of_request_server,
},
};
const wl_message zxdg_imported_v1_interface_events_server[1] = {
{
"destroyed",
"",
zxdg_imported_v1_interface_destroyed_event_server,
},
};
const wl_interface wayland::server::detail::zxdg_imported_v1_interface =
{
"zxdg_imported_v1",
1,
2,
zxdg_imported_v1_interface_requests_server,
1,
zxdg_imported_v1_interface_events_server,
};
const wl_interface* zxdg_exporter_v2_interface_destroy_request_server[0] = {
};
const wl_interface* zxdg_exporter_v2_interface_export_toplevel_request_server[2] = {
&zxdg_exported_v2_interface,
&surface_interface,
};
const wl_message zxdg_exporter_v2_interface_requests_server[2] = {
{
"destroy",
"",
zxdg_exporter_v2_interface_destroy_request_server,
},
{
"export_toplevel",
"no",
zxdg_exporter_v2_interface_export_toplevel_request_server,
},
};
const wl_message zxdg_exporter_v2_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zxdg_exporter_v2_interface =
{
"zxdg_exporter_v2",
1,
2,
zxdg_exporter_v2_interface_requests_server,
0,
zxdg_exporter_v2_interface_events_server,
};
const wl_interface* zxdg_importer_v2_interface_destroy_request_server[0] = {
};
const wl_interface* zxdg_importer_v2_interface_import_toplevel_request_server[2] = {
&zxdg_imported_v2_interface,
nullptr,
};
const wl_message zxdg_importer_v2_interface_requests_server[2] = {
{
"destroy",
"",
zxdg_importer_v2_interface_destroy_request_server,
},
{
"import_toplevel",
"ns",
zxdg_importer_v2_interface_import_toplevel_request_server,
},
};
const wl_message zxdg_importer_v2_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zxdg_importer_v2_interface =
{
"zxdg_importer_v2",
1,
2,
zxdg_importer_v2_interface_requests_server,
0,
zxdg_importer_v2_interface_events_server,
};
const wl_interface* zxdg_exported_v2_interface_destroy_request_server[0] = {
};
const wl_interface* zxdg_exported_v2_interface_handle_event_server[1] = {
nullptr,
};
const wl_message zxdg_exported_v2_interface_requests_server[1] = {
{
"destroy",
"",
zxdg_exported_v2_interface_destroy_request_server,
},
};
const wl_message zxdg_exported_v2_interface_events_server[1] = {
{
"handle",
"s",
zxdg_exported_v2_interface_handle_event_server,
},
};
const wl_interface wayland::server::detail::zxdg_exported_v2_interface =
{
"zxdg_exported_v2",
1,
1,
zxdg_exported_v2_interface_requests_server,
1,
zxdg_exported_v2_interface_events_server,
};
const wl_interface* zxdg_imported_v2_interface_destroy_request_server[0] = {
};
const wl_interface* zxdg_imported_v2_interface_set_parent_of_request_server[1] = {
&surface_interface,
};
const wl_interface* zxdg_imported_v2_interface_destroyed_event_server[0] = {
};
const wl_message zxdg_imported_v2_interface_requests_server[2] = {
{
"destroy",
"",
zxdg_imported_v2_interface_destroy_request_server,
},
{
"set_parent_of",
"o",
zxdg_imported_v2_interface_set_parent_of_request_server,
},
};
const wl_message zxdg_imported_v2_interface_events_server[1] = {
{
"destroyed",
"",
zxdg_imported_v2_interface_destroyed_event_server,
},
};
const wl_interface wayland::server::detail::zxdg_imported_v2_interface =
{
"zxdg_imported_v2",
1,
2,
zxdg_imported_v2_interface_requests_server,
1,
zxdg_imported_v2_interface_events_server,
};
const wl_interface* zxdg_output_manager_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zxdg_output_manager_v1_interface_get_xdg_output_request_server[2] = {
&zxdg_output_v1_interface,
&output_interface,
};
const wl_message zxdg_output_manager_v1_interface_requests_server[2] = {
{
"destroy",
"",
zxdg_output_manager_v1_interface_destroy_request_server,
},
{
"get_xdg_output",
"no",
zxdg_output_manager_v1_interface_get_xdg_output_request_server,
},
};
const wl_message zxdg_output_manager_v1_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zxdg_output_manager_v1_interface =
{
"zxdg_output_manager_v1",
3,
2,
zxdg_output_manager_v1_interface_requests_server,
0,
zxdg_output_manager_v1_interface_events_server,
};
const wl_interface* zxdg_output_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zxdg_output_v1_interface_logical_position_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zxdg_output_v1_interface_logical_size_event_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zxdg_output_v1_interface_done_event_server[0] = {
};
const wl_interface* zxdg_output_v1_interface_name_event_server[1] = {
nullptr,
};
const wl_interface* zxdg_output_v1_interface_description_event_server[1] = {
nullptr,
};
const wl_message zxdg_output_v1_interface_requests_server[1] = {
{
"destroy",
"",
zxdg_output_v1_interface_destroy_request_server,
},
};
const wl_message zxdg_output_v1_interface_events_server[5] = {
{
"logical_position",
"ii",
zxdg_output_v1_interface_logical_position_event_server,
},
{
"logical_size",
"ii",
zxdg_output_v1_interface_logical_size_event_server,
},
{
"done",
"",
zxdg_output_v1_interface_done_event_server,
},
{
"name",
"2s",
zxdg_output_v1_interface_name_event_server,
},
{
"description",
"2s",
zxdg_output_v1_interface_description_event_server,
},
};
const wl_interface wayland::server::detail::zxdg_output_v1_interface =
{
"zxdg_output_v1",
3,
1,
zxdg_output_v1_interface_requests_server,
5,
zxdg_output_v1_interface_events_server,
};
const wl_interface* zxdg_shell_v6_interface_destroy_request_server[0] = {
};
const wl_interface* zxdg_shell_v6_interface_create_positioner_request_server[1] = {
&zxdg_positioner_v6_interface,
};
const wl_interface* zxdg_shell_v6_interface_get_xdg_surface_request_server[2] = {
&zxdg_surface_v6_interface,
&surface_interface,
};
const wl_interface* zxdg_shell_v6_interface_pong_request_server[1] = {
nullptr,
};
const wl_interface* zxdg_shell_v6_interface_ping_event_server[1] = {
nullptr,
};
const wl_message zxdg_shell_v6_interface_requests_server[4] = {
{
"destroy",
"",
zxdg_shell_v6_interface_destroy_request_server,
},
{
"create_positioner",
"n",
zxdg_shell_v6_interface_create_positioner_request_server,
},
{
"get_xdg_surface",
"no",
zxdg_shell_v6_interface_get_xdg_surface_request_server,
},
{
"pong",
"u",
zxdg_shell_v6_interface_pong_request_server,
},
};
const wl_message zxdg_shell_v6_interface_events_server[1] = {
{
"ping",
"u",
zxdg_shell_v6_interface_ping_event_server,
},
};
const wl_interface wayland::server::detail::zxdg_shell_v6_interface =
{
"zxdg_shell_v6",
1,
4,
zxdg_shell_v6_interface_requests_server,
1,
zxdg_shell_v6_interface_events_server,
};
const wl_interface* zxdg_positioner_v6_interface_destroy_request_server[0] = {
};
const wl_interface* zxdg_positioner_v6_interface_set_size_request_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zxdg_positioner_v6_interface_set_anchor_rect_request_server[4] = {
nullptr,
nullptr,
nullptr,
nullptr,
};
const wl_interface* zxdg_positioner_v6_interface_set_anchor_request_server[1] = {
nullptr,
};
const wl_interface* zxdg_positioner_v6_interface_set_gravity_request_server[1] = {
nullptr,
};
const wl_interface* zxdg_positioner_v6_interface_set_constraint_adjustment_request_server[1] = {
nullptr,
};
const wl_interface* zxdg_positioner_v6_interface_set_offset_request_server[2] = {
nullptr,
nullptr,
};
const wl_message zxdg_positioner_v6_interface_requests_server[7] = {
{
"destroy",
"",
zxdg_positioner_v6_interface_destroy_request_server,
},
{
"set_size",
"ii",
zxdg_positioner_v6_interface_set_size_request_server,
},
{
"set_anchor_rect",
"iiii",
zxdg_positioner_v6_interface_set_anchor_rect_request_server,
},
{
"set_anchor",
"u",
zxdg_positioner_v6_interface_set_anchor_request_server,
},
{
"set_gravity",
"u",
zxdg_positioner_v6_interface_set_gravity_request_server,
},
{
"set_constraint_adjustment",
"u",
zxdg_positioner_v6_interface_set_constraint_adjustment_request_server,
},
{
"set_offset",
"ii",
zxdg_positioner_v6_interface_set_offset_request_server,
},
};
const wl_message zxdg_positioner_v6_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zxdg_positioner_v6_interface =
{
"zxdg_positioner_v6",
1,
7,
zxdg_positioner_v6_interface_requests_server,
0,
zxdg_positioner_v6_interface_events_server,
};
const wl_interface* zxdg_surface_v6_interface_destroy_request_server[0] = {
};
const wl_interface* zxdg_surface_v6_interface_get_toplevel_request_server[1] = {
&zxdg_toplevel_v6_interface,
};
const wl_interface* zxdg_surface_v6_interface_get_popup_request_server[3] = {
&zxdg_popup_v6_interface,
&zxdg_surface_v6_interface,
&zxdg_positioner_v6_interface,
};
const wl_interface* zxdg_surface_v6_interface_set_window_geometry_request_server[4] = {
nullptr,
nullptr,
nullptr,
nullptr,
};
const wl_interface* zxdg_surface_v6_interface_ack_configure_request_server[1] = {
nullptr,
};
const wl_interface* zxdg_surface_v6_interface_configure_event_server[1] = {
nullptr,
};
const wl_message zxdg_surface_v6_interface_requests_server[5] = {
{
"destroy",
"",
zxdg_surface_v6_interface_destroy_request_server,
},
{
"get_toplevel",
"n",
zxdg_surface_v6_interface_get_toplevel_request_server,
},
{
"get_popup",
"noo",
zxdg_surface_v6_interface_get_popup_request_server,
},
{
"set_window_geometry",
"iiii",
zxdg_surface_v6_interface_set_window_geometry_request_server,
},
{
"ack_configure",
"u",
zxdg_surface_v6_interface_ack_configure_request_server,
},
};
const wl_message zxdg_surface_v6_interface_events_server[1] = {
{
"configure",
"u",
zxdg_surface_v6_interface_configure_event_server,
},
};
const wl_interface wayland::server::detail::zxdg_surface_v6_interface =
{
"zxdg_surface_v6",
1,
5,
zxdg_surface_v6_interface_requests_server,
1,
zxdg_surface_v6_interface_events_server,
};
const wl_interface* zxdg_toplevel_v6_interface_destroy_request_server[0] = {
};
const wl_interface* zxdg_toplevel_v6_interface_set_parent_request_server[1] = {
&zxdg_toplevel_v6_interface,
};
const wl_interface* zxdg_toplevel_v6_interface_set_title_request_server[1] = {
nullptr,
};
const wl_interface* zxdg_toplevel_v6_interface_set_app_id_request_server[1] = {
nullptr,
};
const wl_interface* zxdg_toplevel_v6_interface_show_window_menu_request_server[4] = {
&seat_interface,
nullptr,
nullptr,
nullptr,
};
const wl_interface* zxdg_toplevel_v6_interface_move_request_server[2] = {
&seat_interface,
nullptr,
};
const wl_interface* zxdg_toplevel_v6_interface_resize_request_server[3] = {
&seat_interface,
nullptr,
nullptr,
};
const wl_interface* zxdg_toplevel_v6_interface_set_max_size_request_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zxdg_toplevel_v6_interface_set_min_size_request_server[2] = {
nullptr,
nullptr,
};
const wl_interface* zxdg_toplevel_v6_interface_set_maximized_request_server[0] = {
};
const wl_interface* zxdg_toplevel_v6_interface_unset_maximized_request_server[0] = {
};
const wl_interface* zxdg_toplevel_v6_interface_set_fullscreen_request_server[1] = {
&output_interface,
};
const wl_interface* zxdg_toplevel_v6_interface_unset_fullscreen_request_server[0] = {
};
const wl_interface* zxdg_toplevel_v6_interface_set_minimized_request_server[0] = {
};
const wl_interface* zxdg_toplevel_v6_interface_configure_event_server[3] = {
nullptr,
nullptr,
nullptr,
};
const wl_interface* zxdg_toplevel_v6_interface_close_event_server[0] = {
};
const wl_message zxdg_toplevel_v6_interface_requests_server[14] = {
{
"destroy",
"",
zxdg_toplevel_v6_interface_destroy_request_server,
},
{
"set_parent",
"?o",
zxdg_toplevel_v6_interface_set_parent_request_server,
},
{
"set_title",
"s",
zxdg_toplevel_v6_interface_set_title_request_server,
},
{
"set_app_id",
"s",
zxdg_toplevel_v6_interface_set_app_id_request_server,
},
{
"show_window_menu",
"ouii",
zxdg_toplevel_v6_interface_show_window_menu_request_server,
},
{
"move",
"ou",
zxdg_toplevel_v6_interface_move_request_server,
},
{
"resize",
"ouu",
zxdg_toplevel_v6_interface_resize_request_server,
},
{
"set_max_size",
"ii",
zxdg_toplevel_v6_interface_set_max_size_request_server,
},
{
"set_min_size",
"ii",
zxdg_toplevel_v6_interface_set_min_size_request_server,
},
{
"set_maximized",
"",
zxdg_toplevel_v6_interface_set_maximized_request_server,
},
{
"unset_maximized",
"",
zxdg_toplevel_v6_interface_unset_maximized_request_server,
},
{
"set_fullscreen",
"?o",
zxdg_toplevel_v6_interface_set_fullscreen_request_server,
},
{
"unset_fullscreen",
"",
zxdg_toplevel_v6_interface_unset_fullscreen_request_server,
},
{
"set_minimized",
"",
zxdg_toplevel_v6_interface_set_minimized_request_server,
},
};
const wl_message zxdg_toplevel_v6_interface_events_server[2] = {
{
"configure",
"iia",
zxdg_toplevel_v6_interface_configure_event_server,
},
{
"close",
"",
zxdg_toplevel_v6_interface_close_event_server,
},
};
const wl_interface wayland::server::detail::zxdg_toplevel_v6_interface =
{
"zxdg_toplevel_v6",
1,
14,
zxdg_toplevel_v6_interface_requests_server,
2,
zxdg_toplevel_v6_interface_events_server,
};
const wl_interface* zxdg_popup_v6_interface_destroy_request_server[0] = {
};
const wl_interface* zxdg_popup_v6_interface_grab_request_server[2] = {
&seat_interface,
nullptr,
};
const wl_interface* zxdg_popup_v6_interface_configure_event_server[4] = {
nullptr,
nullptr,
nullptr,
nullptr,
};
const wl_interface* zxdg_popup_v6_interface_popup_done_event_server[0] = {
};
const wl_message zxdg_popup_v6_interface_requests_server[2] = {
{
"destroy",
"",
zxdg_popup_v6_interface_destroy_request_server,
},
{
"grab",
"ou",
zxdg_popup_v6_interface_grab_request_server,
},
};
const wl_message zxdg_popup_v6_interface_events_server[2] = {
{
"configure",
"iiii",
zxdg_popup_v6_interface_configure_event_server,
},
{
"popup_done",
"",
zxdg_popup_v6_interface_popup_done_event_server,
},
};
const wl_interface wayland::server::detail::zxdg_popup_v6_interface =
{
"zxdg_popup_v6",
1,
2,
zxdg_popup_v6_interface_requests_server,
2,
zxdg_popup_v6_interface_events_server,
};
const wl_interface* zwp_xwayland_keyboard_grab_manager_v1_interface_destroy_request_server[0] = {
};
const wl_interface* zwp_xwayland_keyboard_grab_manager_v1_interface_grab_keyboard_request_server[3] = {
&zwp_xwayland_keyboard_grab_v1_interface,
&surface_interface,
&seat_interface,
};
const wl_message zwp_xwayland_keyboard_grab_manager_v1_interface_requests_server[2] = {
{
"destroy",
"",
zwp_xwayland_keyboard_grab_manager_v1_interface_destroy_request_server,
},
{
"grab_keyboard",
"noo",
zwp_xwayland_keyboard_grab_manager_v1_interface_grab_keyboard_request_server,
},
};
const wl_message zwp_xwayland_keyboard_grab_manager_v1_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zwp_xwayland_keyboard_grab_manager_v1_interface =
{
"zwp_xwayland_keyboard_grab_manager_v1",
1,
2,
zwp_xwayland_keyboard_grab_manager_v1_interface_requests_server,
0,
zwp_xwayland_keyboard_grab_manager_v1_interface_events_server,
};
const wl_interface* zwp_xwayland_keyboard_grab_v1_interface_destroy_request_server[0] = {
};
const wl_message zwp_xwayland_keyboard_grab_v1_interface_requests_server[1] = {
{
"destroy",
"",
zwp_xwayland_keyboard_grab_v1_interface_destroy_request_server,
},
};
const wl_message zwp_xwayland_keyboard_grab_v1_interface_events_server[0] = {
};
const wl_interface wayland::server::detail::zwp_xwayland_keyboard_grab_v1_interface =
{
"zwp_xwayland_keyboard_grab_v1",
1,
1,
zwp_xwayland_keyboard_grab_v1_interface_requests_server,
0,
zwp_xwayland_keyboard_grab_v1_interface_events_server,
};
zwp_fullscreen_shell_v1_t::zwp_fullscreen_shell_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_fullscreen_shell_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_fullscreen_shell_v1_t::zwp_fullscreen_shell_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_fullscreen_shell_v1_t::interface_name = "zwp_fullscreen_shell_v1";
zwp_fullscreen_shell_v1_t::operator zwp_fullscreen_shell_v1*() const
{
return reinterpret_cast<zwp_fullscreen_shell_v1*> (c_ptr());
}
std::function<void()> &zwp_fullscreen_shell_v1_t::on_release()
{
return std::static_pointer_cast<events_t>(get_events())->release;
}
std::function<void(surface_t, zwp_fullscreen_shell_v1_present_method, output_t)> &zwp_fullscreen_shell_v1_t::on_present_surface()
{
return std::static_pointer_cast<events_t>(get_events())->present_surface;
}
std::function<void(surface_t, output_t, int32_t, zwp_fullscreen_shell_mode_feedback_v1_t)> &zwp_fullscreen_shell_v1_t::on_present_surface_for_mode()
{
return std::static_pointer_cast<events_t>(get_events())->present_surface_for_mode;
}
void zwp_fullscreen_shell_v1_t::capability(zwp_fullscreen_shell_v1_capability const& capability, bool post)
{
send_event(post, 0, static_cast<uint32_t>(capability));
}
void zwp_fullscreen_shell_v1_t::post_invalid_method(std::string const& msg)
{
post_error(static_cast<uint32_t>(zwp_fullscreen_shell_v1_error::invalid_method), msg);
}
void zwp_fullscreen_shell_v1_t::post_role(std::string const& msg)
{
post_error(static_cast<uint32_t>(zwp_fullscreen_shell_v1_error::role), msg);
}
int zwp_fullscreen_shell_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->release) events->release();
break;
case 1:
if(events->present_surface) events->present_surface(surface_t(args[0].get<resource_t>()), zwp_fullscreen_shell_v1_present_method(args[1].get<uint32_t>()), output_t(args[2].get<resource_t>()));
break;
case 2:
if(events->present_surface_for_mode) events->present_surface_for_mode(surface_t(args[0].get<resource_t>()), output_t(args[1].get<resource_t>()), args[2].get<int32_t>(), zwp_fullscreen_shell_mode_feedback_v1_t(args[3].get<resource_t>()));
break;
}
return 0;
}
zwp_fullscreen_shell_mode_feedback_v1_t::zwp_fullscreen_shell_mode_feedback_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_fullscreen_shell_mode_feedback_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_fullscreen_shell_mode_feedback_v1_t::zwp_fullscreen_shell_mode_feedback_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_fullscreen_shell_mode_feedback_v1_t::interface_name = "zwp_fullscreen_shell_mode_feedback_v1";
zwp_fullscreen_shell_mode_feedback_v1_t::operator zwp_fullscreen_shell_mode_feedback_v1*() const
{
return reinterpret_cast<zwp_fullscreen_shell_mode_feedback_v1*> (c_ptr());
}
void zwp_fullscreen_shell_mode_feedback_v1_t::mode_successful(bool post)
{
send_event(post, 0);
}
void zwp_fullscreen_shell_mode_feedback_v1_t::mode_failed(bool post)
{
send_event(post, 1);
}
void zwp_fullscreen_shell_mode_feedback_v1_t::present_cancelled(bool post)
{
send_event(post, 2);
}
int zwp_fullscreen_shell_mode_feedback_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
return 0;
}
zwp_idle_inhibit_manager_v1_t::zwp_idle_inhibit_manager_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_idle_inhibit_manager_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_idle_inhibit_manager_v1_t::zwp_idle_inhibit_manager_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_idle_inhibit_manager_v1_t::interface_name = "zwp_idle_inhibit_manager_v1";
zwp_idle_inhibit_manager_v1_t::operator zwp_idle_inhibit_manager_v1*() const
{
return reinterpret_cast<zwp_idle_inhibit_manager_v1*> (c_ptr());
}
std::function<void()> &zwp_idle_inhibit_manager_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(zwp_idle_inhibitor_v1_t, surface_t)> &zwp_idle_inhibit_manager_v1_t::on_create_inhibitor()
{
return std::static_pointer_cast<events_t>(get_events())->create_inhibitor;
}
int zwp_idle_inhibit_manager_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->create_inhibitor) events->create_inhibitor(zwp_idle_inhibitor_v1_t(args[0].get<resource_t>()), surface_t(args[1].get<resource_t>()));
break;
}
return 0;
}
zwp_idle_inhibitor_v1_t::zwp_idle_inhibitor_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_idle_inhibitor_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_idle_inhibitor_v1_t::zwp_idle_inhibitor_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_idle_inhibitor_v1_t::interface_name = "zwp_idle_inhibitor_v1";
zwp_idle_inhibitor_v1_t::operator zwp_idle_inhibitor_v1*() const
{
return reinterpret_cast<zwp_idle_inhibitor_v1*> (c_ptr());
}
std::function<void()> &zwp_idle_inhibitor_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
int zwp_idle_inhibitor_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_input_method_context_v1_t::zwp_input_method_context_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_input_method_context_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_input_method_context_v1_t::zwp_input_method_context_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_input_method_context_v1_t::interface_name = "zwp_input_method_context_v1";
zwp_input_method_context_v1_t::operator zwp_input_method_context_v1*() const
{
return reinterpret_cast<zwp_input_method_context_v1*> (c_ptr());
}
std::function<void()> &zwp_input_method_context_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(uint32_t, std::string)> &zwp_input_method_context_v1_t::on_commit_string()
{
return std::static_pointer_cast<events_t>(get_events())->commit_string;
}
std::function<void(uint32_t, std::string, std::string)> &zwp_input_method_context_v1_t::on_preedit_string()
{
return std::static_pointer_cast<events_t>(get_events())->preedit_string;
}
std::function<void(uint32_t, uint32_t, zwp_text_input_v1_preedit_style)> &zwp_input_method_context_v1_t::on_preedit_styling()
{
return std::static_pointer_cast<events_t>(get_events())->preedit_styling;
}
std::function<void(int32_t)> &zwp_input_method_context_v1_t::on_preedit_cursor()
{
return std::static_pointer_cast<events_t>(get_events())->preedit_cursor;
}
std::function<void(int32_t, uint32_t)> &zwp_input_method_context_v1_t::on_delete_surrounding_text()
{
return std::static_pointer_cast<events_t>(get_events())->delete_surrounding_text;
}
std::function<void(int32_t, int32_t)> &zwp_input_method_context_v1_t::on_cursor_position()
{
return std::static_pointer_cast<events_t>(get_events())->cursor_position;
}
std::function<void(array_t)> &zwp_input_method_context_v1_t::on_modifiers_map()
{
return std::static_pointer_cast<events_t>(get_events())->modifiers_map;
}
std::function<void(uint32_t, uint32_t, uint32_t, keyboard_key_state, uint32_t)> &zwp_input_method_context_v1_t::on_keysym()
{
return std::static_pointer_cast<events_t>(get_events())->keysym;
}
std::function<void(keyboard_t)> &zwp_input_method_context_v1_t::on_grab_keyboard()
{
return std::static_pointer_cast<events_t>(get_events())->grab_keyboard;
}
std::function<void(uint32_t, uint32_t, uint32_t, keyboard_key_state)> &zwp_input_method_context_v1_t::on_key()
{
return std::static_pointer_cast<events_t>(get_events())->key;
}
std::function<void(uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)> &zwp_input_method_context_v1_t::on_modifiers()
{
return std::static_pointer_cast<events_t>(get_events())->modifiers;
}
std::function<void(uint32_t, std::string)> &zwp_input_method_context_v1_t::on_language()
{
return std::static_pointer_cast<events_t>(get_events())->language;
}
std::function<void(uint32_t, uint32_t)> &zwp_input_method_context_v1_t::on_text_direction()
{
return std::static_pointer_cast<events_t>(get_events())->text_direction;
}
void zwp_input_method_context_v1_t::surrounding_text(std::string const& text, uint32_t cursor, uint32_t anchor, bool post)
{
send_event(post, 0, text, cursor, anchor);
}
void zwp_input_method_context_v1_t::reset(bool post)
{
send_event(post, 1);
}
void zwp_input_method_context_v1_t::content_type(zwp_text_input_v1_content_hint const& hint, zwp_text_input_v1_content_purpose const& purpose, bool post)
{
send_event(post, 2, static_cast<uint32_t>(hint), static_cast<uint32_t>(purpose));
}
void zwp_input_method_context_v1_t::invoke_action(uint32_t button, uint32_t index, bool post)
{
send_event(post, 3, button, index);
}
void zwp_input_method_context_v1_t::commit_state(uint32_t serial, bool post)
{
send_event(post, 4, serial);
}
void zwp_input_method_context_v1_t::preferred_language(std::string const& language, bool post)
{
send_event(post, 5, language);
}
int zwp_input_method_context_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->commit_string) events->commit_string(args[0].get<uint32_t>(), args[1].get<std::string>());
break;
case 2:
if(events->preedit_string) events->preedit_string(args[0].get<uint32_t>(), args[1].get<std::string>(), args[2].get<std::string>());
break;
case 3:
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>()));
break;
case 4:
if(events->preedit_cursor) events->preedit_cursor(args[0].get<int32_t>());
break;
case 5:
if(events->delete_surrounding_text) events->delete_surrounding_text(args[0].get<int32_t>(), args[1].get<uint32_t>());
break;
case 6:
if(events->cursor_position) events->cursor_position(args[0].get<int32_t>(), args[1].get<int32_t>());
break;
case 7:
if(events->modifiers_map) events->modifiers_map(args[0].get<array_t>());
break;
case 8:
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>());
break;
case 9:
if(events->grab_keyboard) events->grab_keyboard(keyboard_t(args[0].get<resource_t>()));
break;
case 10:
if(events->key) events->key(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<uint32_t>(), keyboard_key_state(args[3].get<uint32_t>()));
break;
case 11:
if(events->modifiers) events->modifiers(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<uint32_t>(), args[3].get<uint32_t>(), args[4].get<uint32_t>());
break;
case 12:
if(events->language) events->language(args[0].get<uint32_t>(), args[1].get<std::string>());
break;
case 13:
if(events->text_direction) events->text_direction(args[0].get<uint32_t>(), args[1].get<uint32_t>());
break;
}
return 0;
}
zwp_input_method_v1_t::zwp_input_method_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_input_method_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_input_method_v1_t::zwp_input_method_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_input_method_v1_t::interface_name = "zwp_input_method_v1";
zwp_input_method_v1_t::operator zwp_input_method_v1*() const
{
return reinterpret_cast<zwp_input_method_v1*> (c_ptr());
}
void zwp_input_method_v1_t::activate(bool post)
{
send_event(post, 0, nullptr);
}
void zwp_input_method_v1_t::deactivate(zwp_input_method_context_v1_t const& context, bool post)
{
send_event(post, 1, context.proxy_has_object() ? reinterpret_cast<wl_object*>(context.c_ptr()) : nullptr);
}
int zwp_input_method_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
return 0;
}
zwp_input_panel_v1_t::zwp_input_panel_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_input_panel_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_input_panel_v1_t::zwp_input_panel_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_input_panel_v1_t::interface_name = "zwp_input_panel_v1";
zwp_input_panel_v1_t::operator zwp_input_panel_v1*() const
{
return reinterpret_cast<zwp_input_panel_v1*> (c_ptr());
}
std::function<void(zwp_input_panel_surface_v1_t, surface_t)> &zwp_input_panel_v1_t::on_get_input_panel_surface()
{
return std::static_pointer_cast<events_t>(get_events())->get_input_panel_surface;
}
int zwp_input_panel_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->get_input_panel_surface) events->get_input_panel_surface(zwp_input_panel_surface_v1_t(args[0].get<resource_t>()), surface_t(args[1].get<resource_t>()));
break;
}
return 0;
}
zwp_input_panel_surface_v1_t::zwp_input_panel_surface_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_input_panel_surface_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_input_panel_surface_v1_t::zwp_input_panel_surface_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_input_panel_surface_v1_t::interface_name = "zwp_input_panel_surface_v1";
zwp_input_panel_surface_v1_t::operator zwp_input_panel_surface_v1*() const
{
return reinterpret_cast<zwp_input_panel_surface_v1*> (c_ptr());
}
std::function<void(output_t, zwp_input_panel_surface_v1_position)> &zwp_input_panel_surface_v1_t::on_set_toplevel()
{
return std::static_pointer_cast<events_t>(get_events())->set_toplevel;
}
std::function<void()> &zwp_input_panel_surface_v1_t::on_set_overlay_panel()
{
return std::static_pointer_cast<events_t>(get_events())->set_overlay_panel;
}
int zwp_input_panel_surface_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->set_toplevel) events->set_toplevel(output_t(args[0].get<resource_t>()), zwp_input_panel_surface_v1_position(args[1].get<uint32_t>()));
break;
case 1:
if(events->set_overlay_panel) events->set_overlay_panel();
break;
}
return 0;
}
zwp_input_timestamps_manager_v1_t::zwp_input_timestamps_manager_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_input_timestamps_manager_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_input_timestamps_manager_v1_t::zwp_input_timestamps_manager_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_input_timestamps_manager_v1_t::interface_name = "zwp_input_timestamps_manager_v1";
zwp_input_timestamps_manager_v1_t::operator zwp_input_timestamps_manager_v1*() const
{
return reinterpret_cast<zwp_input_timestamps_manager_v1*> (c_ptr());
}
std::function<void()> &zwp_input_timestamps_manager_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(zwp_input_timestamps_v1_t, keyboard_t)> &zwp_input_timestamps_manager_v1_t::on_get_keyboard_timestamps()
{
return std::static_pointer_cast<events_t>(get_events())->get_keyboard_timestamps;
}
std::function<void(zwp_input_timestamps_v1_t, pointer_t)> &zwp_input_timestamps_manager_v1_t::on_get_pointer_timestamps()
{
return std::static_pointer_cast<events_t>(get_events())->get_pointer_timestamps;
}
std::function<void(zwp_input_timestamps_v1_t, touch_t)> &zwp_input_timestamps_manager_v1_t::on_get_touch_timestamps()
{
return std::static_pointer_cast<events_t>(get_events())->get_touch_timestamps;
}
int zwp_input_timestamps_manager_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->get_keyboard_timestamps) events->get_keyboard_timestamps(zwp_input_timestamps_v1_t(args[0].get<resource_t>()), keyboard_t(args[1].get<resource_t>()));
break;
case 2:
if(events->get_pointer_timestamps) events->get_pointer_timestamps(zwp_input_timestamps_v1_t(args[0].get<resource_t>()), pointer_t(args[1].get<resource_t>()));
break;
case 3:
if(events->get_touch_timestamps) events->get_touch_timestamps(zwp_input_timestamps_v1_t(args[0].get<resource_t>()), touch_t(args[1].get<resource_t>()));
break;
}
return 0;
}
zwp_input_timestamps_v1_t::zwp_input_timestamps_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_input_timestamps_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_input_timestamps_v1_t::zwp_input_timestamps_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_input_timestamps_v1_t::interface_name = "zwp_input_timestamps_v1";
zwp_input_timestamps_v1_t::operator zwp_input_timestamps_v1*() const
{
return reinterpret_cast<zwp_input_timestamps_v1*> (c_ptr());
}
std::function<void()> &zwp_input_timestamps_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zwp_input_timestamps_v1_t::timestamp(uint32_t tv_sec_hi, uint32_t tv_sec_lo, uint32_t tv_nsec, bool post)
{
send_event(post, 0, tv_sec_hi, tv_sec_lo, tv_nsec);
}
int zwp_input_timestamps_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_keyboard_shortcuts_inhibit_manager_v1_t::zwp_keyboard_shortcuts_inhibit_manager_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_keyboard_shortcuts_inhibit_manager_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_keyboard_shortcuts_inhibit_manager_v1_t::zwp_keyboard_shortcuts_inhibit_manager_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_keyboard_shortcuts_inhibit_manager_v1_t::interface_name = "zwp_keyboard_shortcuts_inhibit_manager_v1";
zwp_keyboard_shortcuts_inhibit_manager_v1_t::operator zwp_keyboard_shortcuts_inhibit_manager_v1*() const
{
return reinterpret_cast<zwp_keyboard_shortcuts_inhibit_manager_v1*> (c_ptr());
}
std::function<void()> &zwp_keyboard_shortcuts_inhibit_manager_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(zwp_keyboard_shortcuts_inhibitor_v1_t, surface_t, seat_t)> &zwp_keyboard_shortcuts_inhibit_manager_v1_t::on_inhibit_shortcuts()
{
return std::static_pointer_cast<events_t>(get_events())->inhibit_shortcuts;
}
void zwp_keyboard_shortcuts_inhibit_manager_v1_t::post_already_inhibited(std::string const& msg)
{
post_error(static_cast<uint32_t>(zwp_keyboard_shortcuts_inhibit_manager_v1_error::already_inhibited), msg);
}
int zwp_keyboard_shortcuts_inhibit_manager_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->inhibit_shortcuts) events->inhibit_shortcuts(zwp_keyboard_shortcuts_inhibitor_v1_t(args[0].get<resource_t>()), surface_t(args[1].get<resource_t>()), seat_t(args[2].get<resource_t>()));
break;
}
return 0;
}
zwp_keyboard_shortcuts_inhibitor_v1_t::zwp_keyboard_shortcuts_inhibitor_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_keyboard_shortcuts_inhibitor_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_keyboard_shortcuts_inhibitor_v1_t::zwp_keyboard_shortcuts_inhibitor_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_keyboard_shortcuts_inhibitor_v1_t::interface_name = "zwp_keyboard_shortcuts_inhibitor_v1";
zwp_keyboard_shortcuts_inhibitor_v1_t::operator zwp_keyboard_shortcuts_inhibitor_v1*() const
{
return reinterpret_cast<zwp_keyboard_shortcuts_inhibitor_v1*> (c_ptr());
}
std::function<void()> &zwp_keyboard_shortcuts_inhibitor_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zwp_keyboard_shortcuts_inhibitor_v1_t::active(bool post)
{
send_event(post, 0);
}
void zwp_keyboard_shortcuts_inhibitor_v1_t::inactive(bool post)
{
send_event(post, 1);
}
int zwp_keyboard_shortcuts_inhibitor_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_linux_dmabuf_v1_t::zwp_linux_dmabuf_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_linux_dmabuf_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_linux_dmabuf_v1_t::zwp_linux_dmabuf_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_linux_dmabuf_v1_t::interface_name = "zwp_linux_dmabuf_v1";
zwp_linux_dmabuf_v1_t::operator zwp_linux_dmabuf_v1*() const
{
return reinterpret_cast<zwp_linux_dmabuf_v1*> (c_ptr());
}
std::function<void()> &zwp_linux_dmabuf_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(zwp_linux_buffer_params_v1_t)> &zwp_linux_dmabuf_v1_t::on_create_params()
{
return std::static_pointer_cast<events_t>(get_events())->create_params;
}
std::function<void(zwp_linux_dmabuf_feedback_v1_t)> &zwp_linux_dmabuf_v1_t::on_get_default_feedback()
{
return std::static_pointer_cast<events_t>(get_events())->get_default_feedback;
}
std::function<void(zwp_linux_dmabuf_feedback_v1_t, surface_t)> &zwp_linux_dmabuf_v1_t::on_get_surface_feedback()
{
return std::static_pointer_cast<events_t>(get_events())->get_surface_feedback;
}
void zwp_linux_dmabuf_v1_t::format(uint32_t format, bool post)
{
send_event(post, 0, format);
}
void zwp_linux_dmabuf_v1_t::modifier(uint32_t format, uint32_t modifier_hi, uint32_t modifier_lo, bool post)
{
send_event(post, 1, format, modifier_hi, modifier_lo);
}
bool zwp_linux_dmabuf_v1_t::can_modifier() const
{
return (get_version() >= modifier_since_version);
}
int zwp_linux_dmabuf_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->create_params) events->create_params(zwp_linux_buffer_params_v1_t(args[0].get<resource_t>()));
break;
case 2:
if(events->get_default_feedback) events->get_default_feedback(zwp_linux_dmabuf_feedback_v1_t(args[0].get<resource_t>()));
break;
case 3:
if(events->get_surface_feedback) events->get_surface_feedback(zwp_linux_dmabuf_feedback_v1_t(args[0].get<resource_t>()), surface_t(args[1].get<resource_t>()));
break;
}
return 0;
}
zwp_linux_buffer_params_v1_t::zwp_linux_buffer_params_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_linux_buffer_params_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_linux_buffer_params_v1_t::zwp_linux_buffer_params_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_linux_buffer_params_v1_t::interface_name = "zwp_linux_buffer_params_v1";
zwp_linux_buffer_params_v1_t::operator zwp_linux_buffer_params_v1*() const
{
return reinterpret_cast<zwp_linux_buffer_params_v1*> (c_ptr());
}
std::function<void()> &zwp_linux_buffer_params_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(int, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)> &zwp_linux_buffer_params_v1_t::on_add()
{
return std::static_pointer_cast<events_t>(get_events())->add;
}
std::function<void(int32_t, int32_t, uint32_t, zwp_linux_buffer_params_v1_flags)> &zwp_linux_buffer_params_v1_t::on_create()
{
return std::static_pointer_cast<events_t>(get_events())->create;
}
std::function<void(buffer_t, int32_t, int32_t, uint32_t, zwp_linux_buffer_params_v1_flags)> &zwp_linux_buffer_params_v1_t::on_create_immed()
{
return std::static_pointer_cast<events_t>(get_events())->create_immed;
}
void zwp_linux_buffer_params_v1_t::created(bool post)
{
send_event(post, 0, nullptr);
}
void zwp_linux_buffer_params_v1_t::failed(bool post)
{
send_event(post, 1);
}
void zwp_linux_buffer_params_v1_t::post_already_used(std::string const& msg)
{
post_error(static_cast<uint32_t>(zwp_linux_buffer_params_v1_error::already_used), msg);
}
void zwp_linux_buffer_params_v1_t::post_plane_idx(std::string const& msg)
{
post_error(static_cast<uint32_t>(zwp_linux_buffer_params_v1_error::plane_idx), msg);
}
void zwp_linux_buffer_params_v1_t::post_plane_set(std::string const& msg)
{
post_error(static_cast<uint32_t>(zwp_linux_buffer_params_v1_error::plane_set), msg);
}
void zwp_linux_buffer_params_v1_t::post_incomplete(std::string const& msg)
{
post_error(static_cast<uint32_t>(zwp_linux_buffer_params_v1_error::incomplete), msg);
}
void zwp_linux_buffer_params_v1_t::post_invalid_format(std::string const& msg)
{
post_error(static_cast<uint32_t>(zwp_linux_buffer_params_v1_error::invalid_format), msg);
}
void zwp_linux_buffer_params_v1_t::post_invalid_dimensions(std::string const& msg)
{
post_error(static_cast<uint32_t>(zwp_linux_buffer_params_v1_error::invalid_dimensions), msg);
}
void zwp_linux_buffer_params_v1_t::post_out_of_bounds(std::string const& msg)
{
post_error(static_cast<uint32_t>(zwp_linux_buffer_params_v1_error::out_of_bounds), msg);
}
void zwp_linux_buffer_params_v1_t::post_invalid_wl_buffer(std::string const& msg)
{
post_error(static_cast<uint32_t>(zwp_linux_buffer_params_v1_error::invalid_wl_buffer), msg);
}
int zwp_linux_buffer_params_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->add) events->add(args[0].get<int>(), args[1].get<uint32_t>(), args[2].get<uint32_t>(), args[3].get<uint32_t>(), args[4].get<uint32_t>(), args[5].get<uint32_t>());
break;
case 2:
if(events->create) events->create(args[0].get<int32_t>(), args[1].get<int32_t>(), args[2].get<uint32_t>(), zwp_linux_buffer_params_v1_flags(args[3].get<uint32_t>()));
break;
case 3:
if(events->create_immed) events->create_immed(buffer_t(args[0].get<resource_t>()), args[1].get<int32_t>(), args[2].get<int32_t>(), args[3].get<uint32_t>(), zwp_linux_buffer_params_v1_flags(args[4].get<uint32_t>()));
break;
}
return 0;
}
const bitfield<3, 6> zwp_linux_buffer_params_v1_flags::y_invert{1};
const bitfield<3, 6> zwp_linux_buffer_params_v1_flags::interlaced{2};
const bitfield<3, 6> zwp_linux_buffer_params_v1_flags::bottom_first{4};
zwp_linux_dmabuf_feedback_v1_t::zwp_linux_dmabuf_feedback_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_linux_dmabuf_feedback_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_linux_dmabuf_feedback_v1_t::zwp_linux_dmabuf_feedback_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_linux_dmabuf_feedback_v1_t::interface_name = "zwp_linux_dmabuf_feedback_v1";
zwp_linux_dmabuf_feedback_v1_t::operator zwp_linux_dmabuf_feedback_v1*() const
{
return reinterpret_cast<zwp_linux_dmabuf_feedback_v1*> (c_ptr());
}
std::function<void()> &zwp_linux_dmabuf_feedback_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zwp_linux_dmabuf_feedback_v1_t::done(bool post)
{
send_event(post, 0);
}
void zwp_linux_dmabuf_feedback_v1_t::format_table(int fd, uint32_t size, bool post)
{
send_event(post, 1, argument_t::fd(fd), size);
}
void zwp_linux_dmabuf_feedback_v1_t::main_device(array_t const& device, bool post)
{
send_event(post, 2, device);
}
void zwp_linux_dmabuf_feedback_v1_t::tranche_done(bool post)
{
send_event(post, 3);
}
void zwp_linux_dmabuf_feedback_v1_t::tranche_target_device(array_t const& device, bool post)
{
send_event(post, 4, device);
}
void zwp_linux_dmabuf_feedback_v1_t::tranche_formats(array_t const& indices, bool post)
{
send_event(post, 5, indices);
}
void zwp_linux_dmabuf_feedback_v1_t::tranche_flags(zwp_linux_dmabuf_feedback_v1_tranche_flags const& flags, bool post)
{
send_event(post, 6, static_cast<uint32_t>(flags));
}
int zwp_linux_dmabuf_feedback_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
}
return 0;
}
const bitfield<1, 7> zwp_linux_dmabuf_feedback_v1_tranche_flags::scanout{1};
zwp_linux_explicit_synchronization_v1_t::zwp_linux_explicit_synchronization_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_linux_explicit_synchronization_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_linux_explicit_synchronization_v1_t::zwp_linux_explicit_synchronization_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_linux_explicit_synchronization_v1_t::interface_name = "zwp_linux_explicit_synchronization_v1";
zwp_linux_explicit_synchronization_v1_t::operator zwp_linux_explicit_synchronization_v1*() const
{
return reinterpret_cast<zwp_linux_explicit_synchronization_v1*> (c_ptr());
}
std::function<void()> &zwp_linux_explicit_synchronization_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(zwp_linux_surface_synchronization_v1_t, surface_t)> &zwp_linux_explicit_synchronization_v1_t::on_get_synchronization()
{
return std::static_pointer_cast<events_t>(get_events())->get_synchronization;
}
void zwp_linux_explicit_synchronization_v1_t::post_synchronization_exists(std::string const& msg)
{
post_error(static_cast<uint32_t>(zwp_linux_explicit_synchronization_v1_error::synchronization_exists), msg);
}
int zwp_linux_explicit_synchronization_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->get_synchronization) events->get_synchronization(zwp_linux_surface_synchronization_v1_t(args[0].get<resource_t>()), surface_t(args[1].get<resource_t>()));
break;
}
return 0;
}
zwp_linux_surface_synchronization_v1_t::zwp_linux_surface_synchronization_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_linux_surface_synchronization_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_linux_surface_synchronization_v1_t::zwp_linux_surface_synchronization_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_linux_surface_synchronization_v1_t::interface_name = "zwp_linux_surface_synchronization_v1";
zwp_linux_surface_synchronization_v1_t::operator zwp_linux_surface_synchronization_v1*() const
{
return reinterpret_cast<zwp_linux_surface_synchronization_v1*> (c_ptr());
}
std::function<void()> &zwp_linux_surface_synchronization_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(int)> &zwp_linux_surface_synchronization_v1_t::on_set_acquire_fence()
{
return std::static_pointer_cast<events_t>(get_events())->set_acquire_fence;
}
std::function<void(zwp_linux_buffer_release_v1_t)> &zwp_linux_surface_synchronization_v1_t::on_get_release()
{
return std::static_pointer_cast<events_t>(get_events())->get_release;
}
void zwp_linux_surface_synchronization_v1_t::post_invalid_fence(std::string const& msg)
{
post_error(static_cast<uint32_t>(zwp_linux_surface_synchronization_v1_error::invalid_fence), msg);
}
void zwp_linux_surface_synchronization_v1_t::post_duplicate_fence(std::string const& msg)
{
post_error(static_cast<uint32_t>(zwp_linux_surface_synchronization_v1_error::duplicate_fence), msg);
}
void zwp_linux_surface_synchronization_v1_t::post_duplicate_release(std::string const& msg)
{
post_error(static_cast<uint32_t>(zwp_linux_surface_synchronization_v1_error::duplicate_release), msg);
}
void zwp_linux_surface_synchronization_v1_t::post_no_surface(std::string const& msg)
{
post_error(static_cast<uint32_t>(zwp_linux_surface_synchronization_v1_error::no_surface), msg);
}
void zwp_linux_surface_synchronization_v1_t::post_unsupported_buffer(std::string const& msg)
{
post_error(static_cast<uint32_t>(zwp_linux_surface_synchronization_v1_error::unsupported_buffer), msg);
}
void zwp_linux_surface_synchronization_v1_t::post_no_buffer(std::string const& msg)
{
post_error(static_cast<uint32_t>(zwp_linux_surface_synchronization_v1_error::no_buffer), msg);
}
int zwp_linux_surface_synchronization_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->set_acquire_fence) events->set_acquire_fence(args[0].get<int>());
break;
case 2:
if(events->get_release) events->get_release(zwp_linux_buffer_release_v1_t(args[0].get<resource_t>()));
break;
}
return 0;
}
zwp_linux_buffer_release_v1_t::zwp_linux_buffer_release_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_linux_buffer_release_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_linux_buffer_release_v1_t::zwp_linux_buffer_release_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_linux_buffer_release_v1_t::interface_name = "zwp_linux_buffer_release_v1";
zwp_linux_buffer_release_v1_t::operator zwp_linux_buffer_release_v1*() const
{
return reinterpret_cast<zwp_linux_buffer_release_v1*> (c_ptr());
}
void zwp_linux_buffer_release_v1_t::fenced_release(int fence, bool post)
{
send_event(post, 0, argument_t::fd(fence));
}
void zwp_linux_buffer_release_v1_t::immediate_release(bool post)
{
send_event(post, 1);
}
int zwp_linux_buffer_release_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
return 0;
}
zwp_pointer_constraints_v1_t::zwp_pointer_constraints_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_pointer_constraints_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_pointer_constraints_v1_t::zwp_pointer_constraints_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_pointer_constraints_v1_t::interface_name = "zwp_pointer_constraints_v1";
zwp_pointer_constraints_v1_t::operator zwp_pointer_constraints_v1*() const
{
return reinterpret_cast<zwp_pointer_constraints_v1*> (c_ptr());
}
std::function<void()> &zwp_pointer_constraints_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(zwp_locked_pointer_v1_t, surface_t, pointer_t, region_t, zwp_pointer_constraints_v1_lifetime)> &zwp_pointer_constraints_v1_t::on_lock_pointer()
{
return std::static_pointer_cast<events_t>(get_events())->lock_pointer;
}
std::function<void(zwp_confined_pointer_v1_t, surface_t, pointer_t, region_t, zwp_pointer_constraints_v1_lifetime)> &zwp_pointer_constraints_v1_t::on_confine_pointer()
{
return std::static_pointer_cast<events_t>(get_events())->confine_pointer;
}
void zwp_pointer_constraints_v1_t::post_already_constrained(std::string const& msg)
{
post_error(static_cast<uint32_t>(zwp_pointer_constraints_v1_error::already_constrained), msg);
}
int zwp_pointer_constraints_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->lock_pointer) events->lock_pointer(zwp_locked_pointer_v1_t(args[0].get<resource_t>()), surface_t(args[1].get<resource_t>()), pointer_t(args[2].get<resource_t>()), region_t(args[3].get<resource_t>()), zwp_pointer_constraints_v1_lifetime(args[4].get<uint32_t>()));
break;
case 2:
if(events->confine_pointer) events->confine_pointer(zwp_confined_pointer_v1_t(args[0].get<resource_t>()), surface_t(args[1].get<resource_t>()), pointer_t(args[2].get<resource_t>()), region_t(args[3].get<resource_t>()), zwp_pointer_constraints_v1_lifetime(args[4].get<uint32_t>()));
break;
}
return 0;
}
zwp_locked_pointer_v1_t::zwp_locked_pointer_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_locked_pointer_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_locked_pointer_v1_t::zwp_locked_pointer_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_locked_pointer_v1_t::interface_name = "zwp_locked_pointer_v1";
zwp_locked_pointer_v1_t::operator zwp_locked_pointer_v1*() const
{
return reinterpret_cast<zwp_locked_pointer_v1*> (c_ptr());
}
std::function<void()> &zwp_locked_pointer_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(double, double)> &zwp_locked_pointer_v1_t::on_set_cursor_position_hint()
{
return std::static_pointer_cast<events_t>(get_events())->set_cursor_position_hint;
}
std::function<void(region_t)> &zwp_locked_pointer_v1_t::on_set_region()
{
return std::static_pointer_cast<events_t>(get_events())->set_region;
}
void zwp_locked_pointer_v1_t::locked(bool post)
{
send_event(post, 0);
}
void zwp_locked_pointer_v1_t::unlocked(bool post)
{
send_event(post, 1);
}
int zwp_locked_pointer_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->set_cursor_position_hint) events->set_cursor_position_hint(args[0].get<double>(), args[1].get<double>());
break;
case 2:
if(events->set_region) events->set_region(region_t(args[0].get<resource_t>()));
break;
}
return 0;
}
zwp_confined_pointer_v1_t::zwp_confined_pointer_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_confined_pointer_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_confined_pointer_v1_t::zwp_confined_pointer_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_confined_pointer_v1_t::interface_name = "zwp_confined_pointer_v1";
zwp_confined_pointer_v1_t::operator zwp_confined_pointer_v1*() const
{
return reinterpret_cast<zwp_confined_pointer_v1*> (c_ptr());
}
std::function<void()> &zwp_confined_pointer_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(region_t)> &zwp_confined_pointer_v1_t::on_set_region()
{
return std::static_pointer_cast<events_t>(get_events())->set_region;
}
void zwp_confined_pointer_v1_t::confined(bool post)
{
send_event(post, 0);
}
void zwp_confined_pointer_v1_t::unconfined(bool post)
{
send_event(post, 1);
}
int zwp_confined_pointer_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->set_region) events->set_region(region_t(args[0].get<resource_t>()));
break;
}
return 0;
}
zwp_pointer_gestures_v1_t::zwp_pointer_gestures_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_pointer_gestures_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_pointer_gestures_v1_t::zwp_pointer_gestures_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_pointer_gestures_v1_t::interface_name = "zwp_pointer_gestures_v1";
zwp_pointer_gestures_v1_t::operator zwp_pointer_gestures_v1*() const
{
return reinterpret_cast<zwp_pointer_gestures_v1*> (c_ptr());
}
std::function<void(zwp_pointer_gesture_swipe_v1_t, pointer_t)> &zwp_pointer_gestures_v1_t::on_get_swipe_gesture()
{
return std::static_pointer_cast<events_t>(get_events())->get_swipe_gesture;
}
std::function<void(zwp_pointer_gesture_pinch_v1_t, pointer_t)> &zwp_pointer_gestures_v1_t::on_get_pinch_gesture()
{
return std::static_pointer_cast<events_t>(get_events())->get_pinch_gesture;
}
std::function<void()> &zwp_pointer_gestures_v1_t::on_release()
{
return std::static_pointer_cast<events_t>(get_events())->release;
}
std::function<void(zwp_pointer_gesture_hold_v1_t, pointer_t)> &zwp_pointer_gestures_v1_t::on_get_hold_gesture()
{
return std::static_pointer_cast<events_t>(get_events())->get_hold_gesture;
}
int zwp_pointer_gestures_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->get_swipe_gesture) events->get_swipe_gesture(zwp_pointer_gesture_swipe_v1_t(args[0].get<resource_t>()), pointer_t(args[1].get<resource_t>()));
break;
case 1:
if(events->get_pinch_gesture) events->get_pinch_gesture(zwp_pointer_gesture_pinch_v1_t(args[0].get<resource_t>()), pointer_t(args[1].get<resource_t>()));
break;
case 2:
if(events->release) events->release();
break;
case 3:
if(events->get_hold_gesture) events->get_hold_gesture(zwp_pointer_gesture_hold_v1_t(args[0].get<resource_t>()), pointer_t(args[1].get<resource_t>()));
break;
}
return 0;
}
zwp_pointer_gesture_swipe_v1_t::zwp_pointer_gesture_swipe_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_pointer_gesture_swipe_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_pointer_gesture_swipe_v1_t::zwp_pointer_gesture_swipe_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_pointer_gesture_swipe_v1_t::interface_name = "zwp_pointer_gesture_swipe_v1";
zwp_pointer_gesture_swipe_v1_t::operator zwp_pointer_gesture_swipe_v1*() const
{
return reinterpret_cast<zwp_pointer_gesture_swipe_v1*> (c_ptr());
}
std::function<void()> &zwp_pointer_gesture_swipe_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zwp_pointer_gesture_swipe_v1_t::begin(uint32_t serial, uint32_t time, surface_t const& surface, uint32_t fingers, bool post)
{
send_event(post, 0, serial, time, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr, fingers);
}
void zwp_pointer_gesture_swipe_v1_t::update(uint32_t time, double dx, double dy, bool post)
{
send_event(post, 1, time, dx, dy);
}
void zwp_pointer_gesture_swipe_v1_t::end(uint32_t serial, uint32_t time, int32_t cancelled, bool post)
{
send_event(post, 2, serial, time, cancelled);
}
int zwp_pointer_gesture_swipe_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_pointer_gesture_pinch_v1_t::zwp_pointer_gesture_pinch_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_pointer_gesture_pinch_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_pointer_gesture_pinch_v1_t::zwp_pointer_gesture_pinch_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_pointer_gesture_pinch_v1_t::interface_name = "zwp_pointer_gesture_pinch_v1";
zwp_pointer_gesture_pinch_v1_t::operator zwp_pointer_gesture_pinch_v1*() const
{
return reinterpret_cast<zwp_pointer_gesture_pinch_v1*> (c_ptr());
}
std::function<void()> &zwp_pointer_gesture_pinch_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zwp_pointer_gesture_pinch_v1_t::begin(uint32_t serial, uint32_t time, surface_t const& surface, uint32_t fingers, bool post)
{
send_event(post, 0, serial, time, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr, fingers);
}
void zwp_pointer_gesture_pinch_v1_t::update(uint32_t time, double dx, double dy, double scale, double rotation, bool post)
{
send_event(post, 1, time, dx, dy, scale, rotation);
}
void zwp_pointer_gesture_pinch_v1_t::end(uint32_t serial, uint32_t time, int32_t cancelled, bool post)
{
send_event(post, 2, serial, time, cancelled);
}
int zwp_pointer_gesture_pinch_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_pointer_gesture_hold_v1_t::zwp_pointer_gesture_hold_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_pointer_gesture_hold_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_pointer_gesture_hold_v1_t::zwp_pointer_gesture_hold_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_pointer_gesture_hold_v1_t::interface_name = "zwp_pointer_gesture_hold_v1";
zwp_pointer_gesture_hold_v1_t::operator zwp_pointer_gesture_hold_v1*() const
{
return reinterpret_cast<zwp_pointer_gesture_hold_v1*> (c_ptr());
}
std::function<void()> &zwp_pointer_gesture_hold_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zwp_pointer_gesture_hold_v1_t::begin(uint32_t serial, uint32_t time, surface_t const& surface, uint32_t fingers, bool post)
{
send_event(post, 0, serial, time, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr, fingers);
}
bool zwp_pointer_gesture_hold_v1_t::can_begin() const
{
return (get_version() >= begin_since_version);
}
void zwp_pointer_gesture_hold_v1_t::end(uint32_t serial, uint32_t time, int32_t cancelled, bool post)
{
send_event(post, 1, serial, time, cancelled);
}
bool zwp_pointer_gesture_hold_v1_t::can_end() const
{
return (get_version() >= end_since_version);
}
int zwp_pointer_gesture_hold_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_primary_selection_device_manager_v1_t::zwp_primary_selection_device_manager_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_primary_selection_device_manager_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_primary_selection_device_manager_v1_t::zwp_primary_selection_device_manager_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_primary_selection_device_manager_v1_t::interface_name = "zwp_primary_selection_device_manager_v1";
zwp_primary_selection_device_manager_v1_t::operator zwp_primary_selection_device_manager_v1*() const
{
return reinterpret_cast<zwp_primary_selection_device_manager_v1*> (c_ptr());
}
std::function<void(zwp_primary_selection_source_v1_t)> &zwp_primary_selection_device_manager_v1_t::on_create_source()
{
return std::static_pointer_cast<events_t>(get_events())->create_source;
}
std::function<void(zwp_primary_selection_device_v1_t, seat_t)> &zwp_primary_selection_device_manager_v1_t::on_get_device()
{
return std::static_pointer_cast<events_t>(get_events())->get_device;
}
std::function<void()> &zwp_primary_selection_device_manager_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
int zwp_primary_selection_device_manager_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->create_source) events->create_source(zwp_primary_selection_source_v1_t(args[0].get<resource_t>()));
break;
case 1:
if(events->get_device) events->get_device(zwp_primary_selection_device_v1_t(args[0].get<resource_t>()), seat_t(args[1].get<resource_t>()));
break;
case 2:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_primary_selection_device_v1_t::zwp_primary_selection_device_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_primary_selection_device_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_primary_selection_device_v1_t::zwp_primary_selection_device_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_primary_selection_device_v1_t::interface_name = "zwp_primary_selection_device_v1";
zwp_primary_selection_device_v1_t::operator zwp_primary_selection_device_v1*() const
{
return reinterpret_cast<zwp_primary_selection_device_v1*> (c_ptr());
}
std::function<void(zwp_primary_selection_source_v1_t, uint32_t)> &zwp_primary_selection_device_v1_t::on_set_selection()
{
return std::static_pointer_cast<events_t>(get_events())->set_selection;
}
std::function<void()> &zwp_primary_selection_device_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zwp_primary_selection_device_v1_t::data_offer(bool post)
{
send_event(post, 0, nullptr);
}
void zwp_primary_selection_device_v1_t::selection(zwp_primary_selection_offer_v1_t const& id, bool post)
{
send_event(post, 1, id.proxy_has_object() ? reinterpret_cast<wl_object*>(id.c_ptr()) : nullptr);
}
int zwp_primary_selection_device_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->set_selection) events->set_selection(zwp_primary_selection_source_v1_t(args[0].get<resource_t>()), args[1].get<uint32_t>());
break;
case 1:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_primary_selection_offer_v1_t::zwp_primary_selection_offer_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_primary_selection_offer_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_primary_selection_offer_v1_t::zwp_primary_selection_offer_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_primary_selection_offer_v1_t::interface_name = "zwp_primary_selection_offer_v1";
zwp_primary_selection_offer_v1_t::operator zwp_primary_selection_offer_v1*() const
{
return reinterpret_cast<zwp_primary_selection_offer_v1*> (c_ptr());
}
std::function<void(std::string, int)> &zwp_primary_selection_offer_v1_t::on_receive()
{
return std::static_pointer_cast<events_t>(get_events())->receive;
}
std::function<void()> &zwp_primary_selection_offer_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zwp_primary_selection_offer_v1_t::offer(std::string const& mime_type, bool post)
{
send_event(post, 0, mime_type);
}
int zwp_primary_selection_offer_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->receive) events->receive(args[0].get<std::string>(), args[1].get<int>());
break;
case 1:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_primary_selection_source_v1_t::zwp_primary_selection_source_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_primary_selection_source_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_primary_selection_source_v1_t::zwp_primary_selection_source_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_primary_selection_source_v1_t::interface_name = "zwp_primary_selection_source_v1";
zwp_primary_selection_source_v1_t::operator zwp_primary_selection_source_v1*() const
{
return reinterpret_cast<zwp_primary_selection_source_v1*> (c_ptr());
}
std::function<void(std::string)> &zwp_primary_selection_source_v1_t::on_offer()
{
return std::static_pointer_cast<events_t>(get_events())->offer;
}
std::function<void()> &zwp_primary_selection_source_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zwp_primary_selection_source_v1_t::send(std::string const& mime_type, int fd, bool post)
{
send_event(post, 0, mime_type, argument_t::fd(fd));
}
void zwp_primary_selection_source_v1_t::cancelled(bool post)
{
send_event(post, 1);
}
int zwp_primary_selection_source_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->offer) events->offer(args[0].get<std::string>());
break;
case 1:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_relative_pointer_manager_v1_t::zwp_relative_pointer_manager_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_relative_pointer_manager_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_relative_pointer_manager_v1_t::zwp_relative_pointer_manager_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_relative_pointer_manager_v1_t::interface_name = "zwp_relative_pointer_manager_v1";
zwp_relative_pointer_manager_v1_t::operator zwp_relative_pointer_manager_v1*() const
{
return reinterpret_cast<zwp_relative_pointer_manager_v1*> (c_ptr());
}
std::function<void()> &zwp_relative_pointer_manager_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(zwp_relative_pointer_v1_t, pointer_t)> &zwp_relative_pointer_manager_v1_t::on_get_relative_pointer()
{
return std::static_pointer_cast<events_t>(get_events())->get_relative_pointer;
}
int zwp_relative_pointer_manager_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->get_relative_pointer) events->get_relative_pointer(zwp_relative_pointer_v1_t(args[0].get<resource_t>()), pointer_t(args[1].get<resource_t>()));
break;
}
return 0;
}
zwp_relative_pointer_v1_t::zwp_relative_pointer_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_relative_pointer_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_relative_pointer_v1_t::zwp_relative_pointer_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_relative_pointer_v1_t::interface_name = "zwp_relative_pointer_v1";
zwp_relative_pointer_v1_t::operator zwp_relative_pointer_v1*() const
{
return reinterpret_cast<zwp_relative_pointer_v1*> (c_ptr());
}
std::function<void()> &zwp_relative_pointer_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zwp_relative_pointer_v1_t::relative_motion(uint32_t utime_hi, uint32_t utime_lo, double dx, double dy, double dx_unaccel, double dy_unaccel, bool post)
{
send_event(post, 0, utime_hi, utime_lo, dx, dy, dx_unaccel, dy_unaccel);
}
int zwp_relative_pointer_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_tablet_manager_v1_t::zwp_tablet_manager_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_tablet_manager_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_tablet_manager_v1_t::zwp_tablet_manager_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_tablet_manager_v1_t::interface_name = "zwp_tablet_manager_v1";
zwp_tablet_manager_v1_t::operator zwp_tablet_manager_v1*() const
{
return reinterpret_cast<zwp_tablet_manager_v1*> (c_ptr());
}
std::function<void(zwp_tablet_seat_v1_t, seat_t)> &zwp_tablet_manager_v1_t::on_get_tablet_seat()
{
return std::static_pointer_cast<events_t>(get_events())->get_tablet_seat;
}
std::function<void()> &zwp_tablet_manager_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
int zwp_tablet_manager_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->get_tablet_seat) events->get_tablet_seat(zwp_tablet_seat_v1_t(args[0].get<resource_t>()), seat_t(args[1].get<resource_t>()));
break;
case 1:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_tablet_seat_v1_t::zwp_tablet_seat_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_tablet_seat_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_tablet_seat_v1_t::zwp_tablet_seat_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_tablet_seat_v1_t::interface_name = "zwp_tablet_seat_v1";
zwp_tablet_seat_v1_t::operator zwp_tablet_seat_v1*() const
{
return reinterpret_cast<zwp_tablet_seat_v1*> (c_ptr());
}
std::function<void()> &zwp_tablet_seat_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zwp_tablet_seat_v1_t::tablet_added(bool post)
{
send_event(post, 0, nullptr);
}
void zwp_tablet_seat_v1_t::tool_added(bool post)
{
send_event(post, 1, nullptr);
}
int zwp_tablet_seat_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_tablet_tool_v1_t::zwp_tablet_tool_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_tablet_tool_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_tablet_tool_v1_t::zwp_tablet_tool_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_tablet_tool_v1_t::interface_name = "zwp_tablet_tool_v1";
zwp_tablet_tool_v1_t::operator zwp_tablet_tool_v1*() const
{
return reinterpret_cast<zwp_tablet_tool_v1*> (c_ptr());
}
std::function<void(uint32_t, surface_t, int32_t, int32_t)> &zwp_tablet_tool_v1_t::on_set_cursor()
{
return std::static_pointer_cast<events_t>(get_events())->set_cursor;
}
std::function<void()> &zwp_tablet_tool_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zwp_tablet_tool_v1_t::type(zwp_tablet_tool_v1_type const& tool_type, bool post)
{
send_event(post, 0, static_cast<uint32_t>(tool_type));
}
void zwp_tablet_tool_v1_t::hardware_serial(uint32_t hardware_serial_hi, uint32_t hardware_serial_lo, bool post)
{
send_event(post, 1, hardware_serial_hi, hardware_serial_lo);
}
void zwp_tablet_tool_v1_t::hardware_id_wacom(uint32_t hardware_id_hi, uint32_t hardware_id_lo, bool post)
{
send_event(post, 2, hardware_id_hi, hardware_id_lo);
}
void zwp_tablet_tool_v1_t::capability(zwp_tablet_tool_v1_capability const& capability, bool post)
{
send_event(post, 3, static_cast<uint32_t>(capability));
}
void zwp_tablet_tool_v1_t::done(bool post)
{
send_event(post, 4);
}
void zwp_tablet_tool_v1_t::removed(bool post)
{
send_event(post, 5);
}
void zwp_tablet_tool_v1_t::proximity_in(uint32_t serial, zwp_tablet_v1_t const& tablet, surface_t const& surface, bool post)
{
send_event(post, 6, serial, tablet.proxy_has_object() ? reinterpret_cast<wl_object*>(tablet.c_ptr()) : nullptr, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr);
}
void zwp_tablet_tool_v1_t::proximity_out(bool post)
{
send_event(post, 7);
}
void zwp_tablet_tool_v1_t::down(uint32_t serial, bool post)
{
send_event(post, 8, serial);
}
void zwp_tablet_tool_v1_t::up(bool post)
{
send_event(post, 9);
}
void zwp_tablet_tool_v1_t::motion(double x, double y, bool post)
{
send_event(post, 10, x, y);
}
void zwp_tablet_tool_v1_t::pressure(uint32_t pressure, bool post)
{
send_event(post, 11, pressure);
}
void zwp_tablet_tool_v1_t::distance(uint32_t distance, bool post)
{
send_event(post, 12, distance);
}
void zwp_tablet_tool_v1_t::tilt(int32_t tilt_x, int32_t tilt_y, bool post)
{
send_event(post, 13, tilt_x, tilt_y);
}
void zwp_tablet_tool_v1_t::rotation(int32_t degrees, bool post)
{
send_event(post, 14, degrees);
}
void zwp_tablet_tool_v1_t::slider(int32_t position, bool post)
{
send_event(post, 15, position);
}
void zwp_tablet_tool_v1_t::wheel(int32_t degrees, int32_t clicks, bool post)
{
send_event(post, 16, degrees, clicks);
}
void zwp_tablet_tool_v1_t::button(uint32_t serial, uint32_t button, zwp_tablet_tool_v1_button_state const& state, bool post)
{
send_event(post, 17, serial, button, static_cast<uint32_t>(state));
}
void zwp_tablet_tool_v1_t::frame(uint32_t time, bool post)
{
send_event(post, 18, time);
}
void zwp_tablet_tool_v1_t::post_role(std::string const& msg)
{
post_error(static_cast<uint32_t>(zwp_tablet_tool_v1_error::role), msg);
}
int zwp_tablet_tool_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->set_cursor) events->set_cursor(args[0].get<uint32_t>(), surface_t(args[1].get<resource_t>()), args[2].get<int32_t>(), args[3].get<int32_t>());
break;
case 1:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_tablet_v1_t::zwp_tablet_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_tablet_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_tablet_v1_t::zwp_tablet_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_tablet_v1_t::interface_name = "zwp_tablet_v1";
zwp_tablet_v1_t::operator zwp_tablet_v1*() const
{
return reinterpret_cast<zwp_tablet_v1*> (c_ptr());
}
std::function<void()> &zwp_tablet_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zwp_tablet_v1_t::name(std::string const& name, bool post)
{
send_event(post, 0, name);
}
void zwp_tablet_v1_t::id(uint32_t vid, uint32_t pid, bool post)
{
send_event(post, 1, vid, pid);
}
void zwp_tablet_v1_t::path(std::string const& path, bool post)
{
send_event(post, 2, path);
}
void zwp_tablet_v1_t::done(bool post)
{
send_event(post, 3);
}
void zwp_tablet_v1_t::removed(bool post)
{
send_event(post, 4);
}
int zwp_tablet_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_tablet_manager_v2_t::zwp_tablet_manager_v2_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_tablet_manager_v2_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_tablet_manager_v2_t::zwp_tablet_manager_v2_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_tablet_manager_v2_t::interface_name = "zwp_tablet_manager_v2";
zwp_tablet_manager_v2_t::operator zwp_tablet_manager_v2*() const
{
return reinterpret_cast<zwp_tablet_manager_v2*> (c_ptr());
}
std::function<void(zwp_tablet_seat_v2_t, seat_t)> &zwp_tablet_manager_v2_t::on_get_tablet_seat()
{
return std::static_pointer_cast<events_t>(get_events())->get_tablet_seat;
}
std::function<void()> &zwp_tablet_manager_v2_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
int zwp_tablet_manager_v2_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->get_tablet_seat) events->get_tablet_seat(zwp_tablet_seat_v2_t(args[0].get<resource_t>()), seat_t(args[1].get<resource_t>()));
break;
case 1:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_tablet_seat_v2_t::zwp_tablet_seat_v2_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_tablet_seat_v2_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_tablet_seat_v2_t::zwp_tablet_seat_v2_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_tablet_seat_v2_t::interface_name = "zwp_tablet_seat_v2";
zwp_tablet_seat_v2_t::operator zwp_tablet_seat_v2*() const
{
return reinterpret_cast<zwp_tablet_seat_v2*> (c_ptr());
}
std::function<void()> &zwp_tablet_seat_v2_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zwp_tablet_seat_v2_t::tablet_added(bool post)
{
send_event(post, 0, nullptr);
}
void zwp_tablet_seat_v2_t::tool_added(bool post)
{
send_event(post, 1, nullptr);
}
void zwp_tablet_seat_v2_t::pad_added(bool post)
{
send_event(post, 2, nullptr);
}
int zwp_tablet_seat_v2_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_tablet_tool_v2_t::zwp_tablet_tool_v2_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_tablet_tool_v2_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_tablet_tool_v2_t::zwp_tablet_tool_v2_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_tablet_tool_v2_t::interface_name = "zwp_tablet_tool_v2";
zwp_tablet_tool_v2_t::operator zwp_tablet_tool_v2*() const
{
return reinterpret_cast<zwp_tablet_tool_v2*> (c_ptr());
}
std::function<void(uint32_t, surface_t, int32_t, int32_t)> &zwp_tablet_tool_v2_t::on_set_cursor()
{
return std::static_pointer_cast<events_t>(get_events())->set_cursor;
}
std::function<void()> &zwp_tablet_tool_v2_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zwp_tablet_tool_v2_t::type(zwp_tablet_tool_v2_type const& tool_type, bool post)
{
send_event(post, 0, static_cast<uint32_t>(tool_type));
}
void zwp_tablet_tool_v2_t::hardware_serial(uint32_t hardware_serial_hi, uint32_t hardware_serial_lo, bool post)
{
send_event(post, 1, hardware_serial_hi, hardware_serial_lo);
}
void zwp_tablet_tool_v2_t::hardware_id_wacom(uint32_t hardware_id_hi, uint32_t hardware_id_lo, bool post)
{
send_event(post, 2, hardware_id_hi, hardware_id_lo);
}
void zwp_tablet_tool_v2_t::capability(zwp_tablet_tool_v2_capability const& capability, bool post)
{
send_event(post, 3, static_cast<uint32_t>(capability));
}
void zwp_tablet_tool_v2_t::done(bool post)
{
send_event(post, 4);
}
void zwp_tablet_tool_v2_t::removed(bool post)
{
send_event(post, 5);
}
void zwp_tablet_tool_v2_t::proximity_in(uint32_t serial, zwp_tablet_v2_t const& tablet, surface_t const& surface, bool post)
{
send_event(post, 6, serial, tablet.proxy_has_object() ? reinterpret_cast<wl_object*>(tablet.c_ptr()) : nullptr, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr);
}
void zwp_tablet_tool_v2_t::proximity_out(bool post)
{
send_event(post, 7);
}
void zwp_tablet_tool_v2_t::down(uint32_t serial, bool post)
{
send_event(post, 8, serial);
}
void zwp_tablet_tool_v2_t::up(bool post)
{
send_event(post, 9);
}
void zwp_tablet_tool_v2_t::motion(double x, double y, bool post)
{
send_event(post, 10, x, y);
}
void zwp_tablet_tool_v2_t::pressure(uint32_t pressure, bool post)
{
send_event(post, 11, pressure);
}
void zwp_tablet_tool_v2_t::distance(uint32_t distance, bool post)
{
send_event(post, 12, distance);
}
void zwp_tablet_tool_v2_t::tilt(double tilt_x, double tilt_y, bool post)
{
send_event(post, 13, tilt_x, tilt_y);
}
void zwp_tablet_tool_v2_t::rotation(double degrees, bool post)
{
send_event(post, 14, degrees);
}
void zwp_tablet_tool_v2_t::slider(int32_t position, bool post)
{
send_event(post, 15, position);
}
void zwp_tablet_tool_v2_t::wheel(double degrees, int32_t clicks, bool post)
{
send_event(post, 16, degrees, clicks);
}
void zwp_tablet_tool_v2_t::button(uint32_t serial, uint32_t button, zwp_tablet_tool_v2_button_state const& state, bool post)
{
send_event(post, 17, serial, button, static_cast<uint32_t>(state));
}
void zwp_tablet_tool_v2_t::frame(uint32_t time, bool post)
{
send_event(post, 18, time);
}
void zwp_tablet_tool_v2_t::post_role(std::string const& msg)
{
post_error(static_cast<uint32_t>(zwp_tablet_tool_v2_error::role), msg);
}
int zwp_tablet_tool_v2_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->set_cursor) events->set_cursor(args[0].get<uint32_t>(), surface_t(args[1].get<resource_t>()), args[2].get<int32_t>(), args[3].get<int32_t>());
break;
case 1:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_tablet_v2_t::zwp_tablet_v2_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_tablet_v2_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_tablet_v2_t::zwp_tablet_v2_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_tablet_v2_t::interface_name = "zwp_tablet_v2";
zwp_tablet_v2_t::operator zwp_tablet_v2*() const
{
return reinterpret_cast<zwp_tablet_v2*> (c_ptr());
}
std::function<void()> &zwp_tablet_v2_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zwp_tablet_v2_t::name(std::string const& name, bool post)
{
send_event(post, 0, name);
}
void zwp_tablet_v2_t::id(uint32_t vid, uint32_t pid, bool post)
{
send_event(post, 1, vid, pid);
}
void zwp_tablet_v2_t::path(std::string const& path, bool post)
{
send_event(post, 2, path);
}
void zwp_tablet_v2_t::done(bool post)
{
send_event(post, 3);
}
void zwp_tablet_v2_t::removed(bool post)
{
send_event(post, 4);
}
int zwp_tablet_v2_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_tablet_pad_ring_v2_t::zwp_tablet_pad_ring_v2_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_tablet_pad_ring_v2_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_tablet_pad_ring_v2_t::zwp_tablet_pad_ring_v2_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_tablet_pad_ring_v2_t::interface_name = "zwp_tablet_pad_ring_v2";
zwp_tablet_pad_ring_v2_t::operator zwp_tablet_pad_ring_v2*() const
{
return reinterpret_cast<zwp_tablet_pad_ring_v2*> (c_ptr());
}
std::function<void(std::string, uint32_t)> &zwp_tablet_pad_ring_v2_t::on_set_feedback()
{
return std::static_pointer_cast<events_t>(get_events())->set_feedback;
}
std::function<void()> &zwp_tablet_pad_ring_v2_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zwp_tablet_pad_ring_v2_t::source(zwp_tablet_pad_ring_v2_source const& source, bool post)
{
send_event(post, 0, static_cast<uint32_t>(source));
}
void zwp_tablet_pad_ring_v2_t::angle(double degrees, bool post)
{
send_event(post, 1, degrees);
}
void zwp_tablet_pad_ring_v2_t::stop(bool post)
{
send_event(post, 2);
}
void zwp_tablet_pad_ring_v2_t::frame(uint32_t time, bool post)
{
send_event(post, 3, time);
}
int zwp_tablet_pad_ring_v2_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->set_feedback) events->set_feedback(args[0].get<std::string>(), args[1].get<uint32_t>());
break;
case 1:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_tablet_pad_strip_v2_t::zwp_tablet_pad_strip_v2_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_tablet_pad_strip_v2_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_tablet_pad_strip_v2_t::zwp_tablet_pad_strip_v2_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_tablet_pad_strip_v2_t::interface_name = "zwp_tablet_pad_strip_v2";
zwp_tablet_pad_strip_v2_t::operator zwp_tablet_pad_strip_v2*() const
{
return reinterpret_cast<zwp_tablet_pad_strip_v2*> (c_ptr());
}
std::function<void(std::string, uint32_t)> &zwp_tablet_pad_strip_v2_t::on_set_feedback()
{
return std::static_pointer_cast<events_t>(get_events())->set_feedback;
}
std::function<void()> &zwp_tablet_pad_strip_v2_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zwp_tablet_pad_strip_v2_t::source(zwp_tablet_pad_strip_v2_source const& source, bool post)
{
send_event(post, 0, static_cast<uint32_t>(source));
}
void zwp_tablet_pad_strip_v2_t::position(uint32_t position, bool post)
{
send_event(post, 1, position);
}
void zwp_tablet_pad_strip_v2_t::stop(bool post)
{
send_event(post, 2);
}
void zwp_tablet_pad_strip_v2_t::frame(uint32_t time, bool post)
{
send_event(post, 3, time);
}
int zwp_tablet_pad_strip_v2_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->set_feedback) events->set_feedback(args[0].get<std::string>(), args[1].get<uint32_t>());
break;
case 1:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_tablet_pad_group_v2_t::zwp_tablet_pad_group_v2_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_tablet_pad_group_v2_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_tablet_pad_group_v2_t::zwp_tablet_pad_group_v2_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_tablet_pad_group_v2_t::interface_name = "zwp_tablet_pad_group_v2";
zwp_tablet_pad_group_v2_t::operator zwp_tablet_pad_group_v2*() const
{
return reinterpret_cast<zwp_tablet_pad_group_v2*> (c_ptr());
}
std::function<void()> &zwp_tablet_pad_group_v2_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zwp_tablet_pad_group_v2_t::buttons(array_t const& buttons, bool post)
{
send_event(post, 0, buttons);
}
void zwp_tablet_pad_group_v2_t::ring(bool post)
{
send_event(post, 1, nullptr);
}
void zwp_tablet_pad_group_v2_t::strip(bool post)
{
send_event(post, 2, nullptr);
}
void zwp_tablet_pad_group_v2_t::modes(uint32_t modes, bool post)
{
send_event(post, 3, modes);
}
void zwp_tablet_pad_group_v2_t::done(bool post)
{
send_event(post, 4);
}
void zwp_tablet_pad_group_v2_t::mode_switch(uint32_t time, uint32_t serial, uint32_t mode, bool post)
{
send_event(post, 5, time, serial, mode);
}
int zwp_tablet_pad_group_v2_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_tablet_pad_v2_t::zwp_tablet_pad_v2_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_tablet_pad_v2_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_tablet_pad_v2_t::zwp_tablet_pad_v2_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_tablet_pad_v2_t::interface_name = "zwp_tablet_pad_v2";
zwp_tablet_pad_v2_t::operator zwp_tablet_pad_v2*() const
{
return reinterpret_cast<zwp_tablet_pad_v2*> (c_ptr());
}
std::function<void(uint32_t, std::string, uint32_t)> &zwp_tablet_pad_v2_t::on_set_feedback()
{
return std::static_pointer_cast<events_t>(get_events())->set_feedback;
}
std::function<void()> &zwp_tablet_pad_v2_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zwp_tablet_pad_v2_t::group(bool post)
{
send_event(post, 0, nullptr);
}
void zwp_tablet_pad_v2_t::path(std::string const& path, bool post)
{
send_event(post, 1, path);
}
void zwp_tablet_pad_v2_t::buttons(uint32_t buttons, bool post)
{
send_event(post, 2, buttons);
}
void zwp_tablet_pad_v2_t::done(bool post)
{
send_event(post, 3);
}
void zwp_tablet_pad_v2_t::button(uint32_t time, uint32_t button, zwp_tablet_pad_v2_button_state const& state, bool post)
{
send_event(post, 4, time, button, static_cast<uint32_t>(state));
}
void zwp_tablet_pad_v2_t::enter(uint32_t serial, zwp_tablet_v2_t const& tablet, surface_t const& surface, bool post)
{
send_event(post, 5, serial, tablet.proxy_has_object() ? reinterpret_cast<wl_object*>(tablet.c_ptr()) : nullptr, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr);
}
void zwp_tablet_pad_v2_t::leave(uint32_t serial, surface_t const& surface, bool post)
{
send_event(post, 6, serial, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr);
}
void zwp_tablet_pad_v2_t::removed(bool post)
{
send_event(post, 7);
}
int zwp_tablet_pad_v2_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->set_feedback) events->set_feedback(args[0].get<uint32_t>(), args[1].get<std::string>(), args[2].get<uint32_t>());
break;
case 1:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zwp_text_input_v1_t::zwp_text_input_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_text_input_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_text_input_v1_t::zwp_text_input_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_text_input_v1_t::interface_name = "zwp_text_input_v1";
zwp_text_input_v1_t::operator zwp_text_input_v1*() const
{
return reinterpret_cast<zwp_text_input_v1*> (c_ptr());
}
std::function<void(seat_t, surface_t)> &zwp_text_input_v1_t::on_activate()
{
return std::static_pointer_cast<events_t>(get_events())->activate;
}
std::function<void(seat_t)> &zwp_text_input_v1_t::on_deactivate()
{
return std::static_pointer_cast<events_t>(get_events())->deactivate;
}
std::function<void()> &zwp_text_input_v1_t::on_show_input_panel()
{
return std::static_pointer_cast<events_t>(get_events())->show_input_panel;
}
std::function<void()> &zwp_text_input_v1_t::on_hide_input_panel()
{
return std::static_pointer_cast<events_t>(get_events())->hide_input_panel;
}
std::function<void()> &zwp_text_input_v1_t::on_reset()
{
return std::static_pointer_cast<events_t>(get_events())->reset;
}
std::function<void(std::string, uint32_t, uint32_t)> &zwp_text_input_v1_t::on_set_surrounding_text()
{
return std::static_pointer_cast<events_t>(get_events())->set_surrounding_text;
}
std::function<void(zwp_text_input_v1_content_hint, zwp_text_input_v1_content_purpose)> &zwp_text_input_v1_t::on_set_content_type()
{
return std::static_pointer_cast<events_t>(get_events())->set_content_type;
}
std::function<void(int32_t, int32_t, int32_t, int32_t)> &zwp_text_input_v1_t::on_set_cursor_rectangle()
{
return std::static_pointer_cast<events_t>(get_events())->set_cursor_rectangle;
}
std::function<void(std::string)> &zwp_text_input_v1_t::on_set_preferred_language()
{
return std::static_pointer_cast<events_t>(get_events())->set_preferred_language;
}
std::function<void(uint32_t)> &zwp_text_input_v1_t::on_commit_state()
{
return std::static_pointer_cast<events_t>(get_events())->commit_state;
}
std::function<void(uint32_t, uint32_t)> &zwp_text_input_v1_t::on_invoke_action()
{
return std::static_pointer_cast<events_t>(get_events())->invoke_action;
}
void zwp_text_input_v1_t::enter(surface_t const& surface, bool post)
{
send_event(post, 0, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr);
}
void zwp_text_input_v1_t::leave(bool post)
{
send_event(post, 1);
}
void zwp_text_input_v1_t::modifiers_map(array_t const& map, bool post)
{
send_event(post, 2, map);
}
void zwp_text_input_v1_t::input_panel_state(uint32_t state, bool post)
{
send_event(post, 3, state);
}
void zwp_text_input_v1_t::preedit_string(uint32_t serial, std::string const& text, std::string const& commit, bool post)
{
send_event(post, 4, serial, text, commit);
}
void zwp_text_input_v1_t::preedit_styling(uint32_t index, uint32_t length, zwp_text_input_v1_preedit_style const& style, bool post)
{
send_event(post, 5, index, length, static_cast<uint32_t>(style));
}
void zwp_text_input_v1_t::preedit_cursor(int32_t index, bool post)
{
send_event(post, 6, index);
}
void zwp_text_input_v1_t::commit_string(uint32_t serial, std::string const& text, bool post)
{
send_event(post, 7, serial, text);
}
void zwp_text_input_v1_t::cursor_position(int32_t index, int32_t anchor, bool post)
{
send_event(post, 8, index, anchor);
}
void zwp_text_input_v1_t::delete_surrounding_text(int32_t index, uint32_t length, bool post)
{
send_event(post, 9, index, length);
}
void zwp_text_input_v1_t::keysym(uint32_t serial, uint32_t time, uint32_t sym, keyboard_key_state const& state, uint32_t modifiers, bool post)
{
send_event(post, 10, serial, time, sym, static_cast<uint32_t>(state), modifiers);
}
void zwp_text_input_v1_t::language(uint32_t serial, std::string const& language, bool post)
{
send_event(post, 11, serial, language);
}
void zwp_text_input_v1_t::text_direction(uint32_t serial, zwp_text_input_v1_text_direction const& direction, bool post)
{
send_event(post, 12, serial, static_cast<uint32_t>(direction));
}
int zwp_text_input_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->activate) events->activate(seat_t(args[0].get<resource_t>()), surface_t(args[1].get<resource_t>()));
break;
case 1:
if(events->deactivate) events->deactivate(seat_t(args[0].get<resource_t>()));
break;
case 2:
if(events->show_input_panel) events->show_input_panel();
break;
case 3:
if(events->hide_input_panel) events->hide_input_panel();
break;
case 4:
if(events->reset) events->reset();
break;
case 5:
if(events->set_surrounding_text) events->set_surrounding_text(args[0].get<std::string>(), args[1].get<uint32_t>(), args[2].get<uint32_t>());
break;
case 6:
if(events->set_content_type) events->set_content_type(zwp_text_input_v1_content_hint(args[0].get<uint32_t>()), zwp_text_input_v1_content_purpose(args[1].get<uint32_t>()));
break;
case 7:
if(events->set_cursor_rectangle) events->set_cursor_rectangle(args[0].get<int32_t>(), args[1].get<int32_t>(), args[2].get<int32_t>(), args[3].get<int32_t>());
break;
case 8:
if(events->set_preferred_language) events->set_preferred_language(args[0].get<std::string>());
break;
case 9:
if(events->commit_state) events->commit_state(args[0].get<uint32_t>());
break;
case 10:
if(events->invoke_action) events->invoke_action(args[0].get<uint32_t>(), args[1].get<uint32_t>());
break;
}
return 0;
}
const bitfield<10, 23> zwp_text_input_v1_content_hint::none{0x0};
const bitfield<10, 23> zwp_text_input_v1_content_hint::_default{0x7};
const bitfield<10, 23> zwp_text_input_v1_content_hint::password{0xc0};
const bitfield<10, 23> zwp_text_input_v1_content_hint::auto_completion{0x1};
const bitfield<10, 23> zwp_text_input_v1_content_hint::auto_correction{0x2};
const bitfield<10, 23> zwp_text_input_v1_content_hint::auto_capitalization{0x4};
const bitfield<10, 23> zwp_text_input_v1_content_hint::lowercase{0x8};
const bitfield<10, 23> zwp_text_input_v1_content_hint::uppercase{0x10};
const bitfield<10, 23> zwp_text_input_v1_content_hint::titlecase{0x20};
const bitfield<10, 23> zwp_text_input_v1_content_hint::hidden_text{0x40};
const bitfield<10, 23> zwp_text_input_v1_content_hint::sensitive_data{0x80};
const bitfield<10, 23> zwp_text_input_v1_content_hint::latin{0x100};
const bitfield<10, 23> zwp_text_input_v1_content_hint::multiline{0x200};
zwp_text_input_manager_v1_t::zwp_text_input_manager_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_text_input_manager_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_text_input_manager_v1_t::zwp_text_input_manager_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_text_input_manager_v1_t::interface_name = "zwp_text_input_manager_v1";
zwp_text_input_manager_v1_t::operator zwp_text_input_manager_v1*() const
{
return reinterpret_cast<zwp_text_input_manager_v1*> (c_ptr());
}
std::function<void(zwp_text_input_v1_t)> &zwp_text_input_manager_v1_t::on_create_text_input()
{
return std::static_pointer_cast<events_t>(get_events())->create_text_input;
}
int zwp_text_input_manager_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->create_text_input) events->create_text_input(zwp_text_input_v1_t(args[0].get<resource_t>()));
break;
}
return 0;
}
zwp_text_input_v3_t::zwp_text_input_v3_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_text_input_v3_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_text_input_v3_t::zwp_text_input_v3_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_text_input_v3_t::interface_name = "zwp_text_input_v3";
zwp_text_input_v3_t::operator zwp_text_input_v3*() const
{
return reinterpret_cast<zwp_text_input_v3*> (c_ptr());
}
std::function<void()> &zwp_text_input_v3_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void()> &zwp_text_input_v3_t::on_enable()
{
return std::static_pointer_cast<events_t>(get_events())->enable;
}
std::function<void()> &zwp_text_input_v3_t::on_disable()
{
return std::static_pointer_cast<events_t>(get_events())->disable;
}
std::function<void(std::string, int32_t, int32_t)> &zwp_text_input_v3_t::on_set_surrounding_text()
{
return std::static_pointer_cast<events_t>(get_events())->set_surrounding_text;
}
std::function<void(zwp_text_input_v3_change_cause)> &zwp_text_input_v3_t::on_set_text_change_cause()
{
return std::static_pointer_cast<events_t>(get_events())->set_text_change_cause;
}
std::function<void(zwp_text_input_v3_content_hint, zwp_text_input_v3_content_purpose)> &zwp_text_input_v3_t::on_set_content_type()
{
return std::static_pointer_cast<events_t>(get_events())->set_content_type;
}
std::function<void(int32_t, int32_t, int32_t, int32_t)> &zwp_text_input_v3_t::on_set_cursor_rectangle()
{
return std::static_pointer_cast<events_t>(get_events())->set_cursor_rectangle;
}
std::function<void()> &zwp_text_input_v3_t::on_commit()
{
return std::static_pointer_cast<events_t>(get_events())->commit;
}
void zwp_text_input_v3_t::enter(surface_t const& surface, bool post)
{
send_event(post, 0, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr);
}
void zwp_text_input_v3_t::leave(surface_t const& surface, bool post)
{
send_event(post, 1, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr);
}
void zwp_text_input_v3_t::preedit_string(std::string const& text, int32_t cursor_begin, int32_t cursor_end, bool post)
{
send_event(post, 2, text, cursor_begin, cursor_end);
}
void zwp_text_input_v3_t::commit_string(std::string const& text, bool post)
{
send_event(post, 3, text);
}
void zwp_text_input_v3_t::delete_surrounding_text(uint32_t before_length, uint32_t after_length, bool post)
{
send_event(post, 4, before_length, after_length);
}
void zwp_text_input_v3_t::done(uint32_t serial, bool post)
{
send_event(post, 5, serial);
}
int zwp_text_input_v3_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->enable) events->enable();
break;
case 2:
if(events->disable) events->disable();
break;
case 3:
if(events->set_surrounding_text) events->set_surrounding_text(args[0].get<std::string>(), args[1].get<int32_t>(), args[2].get<int32_t>());
break;
case 4:
if(events->set_text_change_cause) events->set_text_change_cause(zwp_text_input_v3_change_cause(args[0].get<uint32_t>()));
break;
case 5:
if(events->set_content_type) events->set_content_type(zwp_text_input_v3_content_hint(args[0].get<uint32_t>()), zwp_text_input_v3_content_purpose(args[1].get<uint32_t>()));
break;
case 6:
if(events->set_cursor_rectangle) events->set_cursor_rectangle(args[0].get<int32_t>(), args[1].get<int32_t>(), args[2].get<int32_t>(), args[3].get<int32_t>());
break;
case 7:
if(events->commit) events->commit();
break;
}
return 0;
}
const bitfield<10, 28> zwp_text_input_v3_content_hint::none{0x0};
const bitfield<10, 28> zwp_text_input_v3_content_hint::completion{0x1};
const bitfield<10, 28> zwp_text_input_v3_content_hint::spellcheck{0x2};
const bitfield<10, 28> zwp_text_input_v3_content_hint::auto_capitalization{0x4};
const bitfield<10, 28> zwp_text_input_v3_content_hint::lowercase{0x8};
const bitfield<10, 28> zwp_text_input_v3_content_hint::uppercase{0x10};
const bitfield<10, 28> zwp_text_input_v3_content_hint::titlecase{0x20};
const bitfield<10, 28> zwp_text_input_v3_content_hint::hidden_text{0x40};
const bitfield<10, 28> zwp_text_input_v3_content_hint::sensitive_data{0x80};
const bitfield<10, 28> zwp_text_input_v3_content_hint::latin{0x100};
const bitfield<10, 28> zwp_text_input_v3_content_hint::multiline{0x200};
zwp_text_input_manager_v3_t::zwp_text_input_manager_v3_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_text_input_manager_v3_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_text_input_manager_v3_t::zwp_text_input_manager_v3_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_text_input_manager_v3_t::interface_name = "zwp_text_input_manager_v3";
zwp_text_input_manager_v3_t::operator zwp_text_input_manager_v3*() const
{
return reinterpret_cast<zwp_text_input_manager_v3*> (c_ptr());
}
std::function<void()> &zwp_text_input_manager_v3_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(zwp_text_input_v3_t, seat_t)> &zwp_text_input_manager_v3_t::on_get_text_input()
{
return std::static_pointer_cast<events_t>(get_events())->get_text_input;
}
int zwp_text_input_manager_v3_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->get_text_input) events->get_text_input(zwp_text_input_v3_t(args[0].get<resource_t>()), seat_t(args[1].get<resource_t>()));
break;
}
return 0;
}
xdg_activation_v1_t::xdg_activation_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::xdg_activation_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
xdg_activation_v1_t::xdg_activation_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string xdg_activation_v1_t::interface_name = "xdg_activation_v1";
xdg_activation_v1_t::operator xdg_activation_v1*() const
{
return reinterpret_cast<xdg_activation_v1*> (c_ptr());
}
std::function<void()> &xdg_activation_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(xdg_activation_token_v1_t)> &xdg_activation_v1_t::on_get_activation_token()
{
return std::static_pointer_cast<events_t>(get_events())->get_activation_token;
}
std::function<void(std::string, surface_t)> &xdg_activation_v1_t::on_activate()
{
return std::static_pointer_cast<events_t>(get_events())->activate;
}
int xdg_activation_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->get_activation_token) events->get_activation_token(xdg_activation_token_v1_t(args[0].get<resource_t>()));
break;
case 2:
if(events->activate) events->activate(args[0].get<std::string>(), surface_t(args[1].get<resource_t>()));
break;
}
return 0;
}
xdg_activation_token_v1_t::xdg_activation_token_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::xdg_activation_token_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
xdg_activation_token_v1_t::xdg_activation_token_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string xdg_activation_token_v1_t::interface_name = "xdg_activation_token_v1";
xdg_activation_token_v1_t::operator xdg_activation_token_v1*() const
{
return reinterpret_cast<xdg_activation_token_v1*> (c_ptr());
}
std::function<void(uint32_t, seat_t)> &xdg_activation_token_v1_t::on_set_serial()
{
return std::static_pointer_cast<events_t>(get_events())->set_serial;
}
std::function<void(std::string)> &xdg_activation_token_v1_t::on_set_app_id()
{
return std::static_pointer_cast<events_t>(get_events())->set_app_id;
}
std::function<void(surface_t)> &xdg_activation_token_v1_t::on_set_surface()
{
return std::static_pointer_cast<events_t>(get_events())->set_surface;
}
std::function<void()> &xdg_activation_token_v1_t::on_commit()
{
return std::static_pointer_cast<events_t>(get_events())->commit;
}
std::function<void()> &xdg_activation_token_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void xdg_activation_token_v1_t::done(std::string const& token, bool post)
{
send_event(post, 0, token);
}
void xdg_activation_token_v1_t::post_already_used(std::string const& msg)
{
post_error(static_cast<uint32_t>(xdg_activation_token_v1_error::already_used), msg);
}
int xdg_activation_token_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->set_serial) events->set_serial(args[0].get<uint32_t>(), seat_t(args[1].get<resource_t>()));
break;
case 1:
if(events->set_app_id) events->set_app_id(args[0].get<std::string>());
break;
case 2:
if(events->set_surface) events->set_surface(surface_t(args[0].get<resource_t>()));
break;
case 3:
if(events->commit) events->commit();
break;
case 4:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zxdg_decoration_manager_v1_t::zxdg_decoration_manager_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zxdg_decoration_manager_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zxdg_decoration_manager_v1_t::zxdg_decoration_manager_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zxdg_decoration_manager_v1_t::interface_name = "zxdg_decoration_manager_v1";
zxdg_decoration_manager_v1_t::operator zxdg_decoration_manager_v1*() const
{
return reinterpret_cast<zxdg_decoration_manager_v1*> (c_ptr());
}
std::function<void()> &zxdg_decoration_manager_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(zxdg_toplevel_decoration_v1_t, xdg_toplevel_t)> &zxdg_decoration_manager_v1_t::on_get_toplevel_decoration()
{
return std::static_pointer_cast<events_t>(get_events())->get_toplevel_decoration;
}
int zxdg_decoration_manager_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->get_toplevel_decoration) events->get_toplevel_decoration(zxdg_toplevel_decoration_v1_t(args[0].get<resource_t>()), xdg_toplevel_t(args[1].get<resource_t>()));
break;
}
return 0;
}
zxdg_toplevel_decoration_v1_t::zxdg_toplevel_decoration_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zxdg_toplevel_decoration_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zxdg_toplevel_decoration_v1_t::zxdg_toplevel_decoration_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zxdg_toplevel_decoration_v1_t::interface_name = "zxdg_toplevel_decoration_v1";
zxdg_toplevel_decoration_v1_t::operator zxdg_toplevel_decoration_v1*() const
{
return reinterpret_cast<zxdg_toplevel_decoration_v1*> (c_ptr());
}
std::function<void()> &zxdg_toplevel_decoration_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(zxdg_toplevel_decoration_v1_mode)> &zxdg_toplevel_decoration_v1_t::on_set_mode()
{
return std::static_pointer_cast<events_t>(get_events())->set_mode;
}
std::function<void()> &zxdg_toplevel_decoration_v1_t::on_unset_mode()
{
return std::static_pointer_cast<events_t>(get_events())->unset_mode;
}
void zxdg_toplevel_decoration_v1_t::configure(zxdg_toplevel_decoration_v1_mode const& mode, bool post)
{
send_event(post, 0, static_cast<uint32_t>(mode));
}
void zxdg_toplevel_decoration_v1_t::post_unconfigured_buffer(std::string const& msg)
{
post_error(static_cast<uint32_t>(zxdg_toplevel_decoration_v1_error::unconfigured_buffer), msg);
}
void zxdg_toplevel_decoration_v1_t::post_already_constructed(std::string const& msg)
{
post_error(static_cast<uint32_t>(zxdg_toplevel_decoration_v1_error::already_constructed), msg);
}
void zxdg_toplevel_decoration_v1_t::post_orphaned(std::string const& msg)
{
post_error(static_cast<uint32_t>(zxdg_toplevel_decoration_v1_error::orphaned), msg);
}
int zxdg_toplevel_decoration_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->set_mode) events->set_mode(zxdg_toplevel_decoration_v1_mode(args[0].get<uint32_t>()));
break;
case 2:
if(events->unset_mode) events->unset_mode();
break;
}
return 0;
}
zxdg_exporter_v1_t::zxdg_exporter_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zxdg_exporter_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zxdg_exporter_v1_t::zxdg_exporter_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zxdg_exporter_v1_t::interface_name = "zxdg_exporter_v1";
zxdg_exporter_v1_t::operator zxdg_exporter_v1*() const
{
return reinterpret_cast<zxdg_exporter_v1*> (c_ptr());
}
std::function<void()> &zxdg_exporter_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(zxdg_exported_v1_t, surface_t)> &zxdg_exporter_v1_t::on_export()
{
return std::static_pointer_cast<events_t>(get_events())->_export;
}
int zxdg_exporter_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->_export) events->_export(zxdg_exported_v1_t(args[0].get<resource_t>()), surface_t(args[1].get<resource_t>()));
break;
}
return 0;
}
zxdg_importer_v1_t::zxdg_importer_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zxdg_importer_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zxdg_importer_v1_t::zxdg_importer_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zxdg_importer_v1_t::interface_name = "zxdg_importer_v1";
zxdg_importer_v1_t::operator zxdg_importer_v1*() const
{
return reinterpret_cast<zxdg_importer_v1*> (c_ptr());
}
std::function<void()> &zxdg_importer_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(zxdg_imported_v1_t, std::string)> &zxdg_importer_v1_t::on_import()
{
return std::static_pointer_cast<events_t>(get_events())->import;
}
int zxdg_importer_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->import) events->import(zxdg_imported_v1_t(args[0].get<resource_t>()), args[1].get<std::string>());
break;
}
return 0;
}
zxdg_exported_v1_t::zxdg_exported_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zxdg_exported_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zxdg_exported_v1_t::zxdg_exported_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zxdg_exported_v1_t::interface_name = "zxdg_exported_v1";
zxdg_exported_v1_t::operator zxdg_exported_v1*() const
{
return reinterpret_cast<zxdg_exported_v1*> (c_ptr());
}
std::function<void()> &zxdg_exported_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zxdg_exported_v1_t::handle(std::string const& handle, bool post)
{
send_event(post, 0, handle);
}
int zxdg_exported_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zxdg_imported_v1_t::zxdg_imported_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zxdg_imported_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zxdg_imported_v1_t::zxdg_imported_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zxdg_imported_v1_t::interface_name = "zxdg_imported_v1";
zxdg_imported_v1_t::operator zxdg_imported_v1*() const
{
return reinterpret_cast<zxdg_imported_v1*> (c_ptr());
}
std::function<void()> &zxdg_imported_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(surface_t)> &zxdg_imported_v1_t::on_set_parent_of()
{
return std::static_pointer_cast<events_t>(get_events())->set_parent_of;
}
void zxdg_imported_v1_t::destroyed(bool post)
{
send_event(post, 0);
}
int zxdg_imported_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->set_parent_of) events->set_parent_of(surface_t(args[0].get<resource_t>()));
break;
}
return 0;
}
zxdg_exporter_v2_t::zxdg_exporter_v2_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zxdg_exporter_v2_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zxdg_exporter_v2_t::zxdg_exporter_v2_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zxdg_exporter_v2_t::interface_name = "zxdg_exporter_v2";
zxdg_exporter_v2_t::operator zxdg_exporter_v2*() const
{
return reinterpret_cast<zxdg_exporter_v2*> (c_ptr());
}
std::function<void()> &zxdg_exporter_v2_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(zxdg_exported_v2_t, surface_t)> &zxdg_exporter_v2_t::on_export_toplevel()
{
return std::static_pointer_cast<events_t>(get_events())->export_toplevel;
}
void zxdg_exporter_v2_t::post_invalid_surface(std::string const& msg)
{
post_error(static_cast<uint32_t>(zxdg_exporter_v2_error::invalid_surface), msg);
}
int zxdg_exporter_v2_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->export_toplevel) events->export_toplevel(zxdg_exported_v2_t(args[0].get<resource_t>()), surface_t(args[1].get<resource_t>()));
break;
}
return 0;
}
zxdg_importer_v2_t::zxdg_importer_v2_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zxdg_importer_v2_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zxdg_importer_v2_t::zxdg_importer_v2_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zxdg_importer_v2_t::interface_name = "zxdg_importer_v2";
zxdg_importer_v2_t::operator zxdg_importer_v2*() const
{
return reinterpret_cast<zxdg_importer_v2*> (c_ptr());
}
std::function<void()> &zxdg_importer_v2_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(zxdg_imported_v2_t, std::string)> &zxdg_importer_v2_t::on_import_toplevel()
{
return std::static_pointer_cast<events_t>(get_events())->import_toplevel;
}
int zxdg_importer_v2_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->import_toplevel) events->import_toplevel(zxdg_imported_v2_t(args[0].get<resource_t>()), args[1].get<std::string>());
break;
}
return 0;
}
zxdg_exported_v2_t::zxdg_exported_v2_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zxdg_exported_v2_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zxdg_exported_v2_t::zxdg_exported_v2_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zxdg_exported_v2_t::interface_name = "zxdg_exported_v2";
zxdg_exported_v2_t::operator zxdg_exported_v2*() const
{
return reinterpret_cast<zxdg_exported_v2*> (c_ptr());
}
std::function<void()> &zxdg_exported_v2_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zxdg_exported_v2_t::handle(std::string const& handle, bool post)
{
send_event(post, 0, handle);
}
int zxdg_exported_v2_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zxdg_imported_v2_t::zxdg_imported_v2_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zxdg_imported_v2_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zxdg_imported_v2_t::zxdg_imported_v2_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zxdg_imported_v2_t::interface_name = "zxdg_imported_v2";
zxdg_imported_v2_t::operator zxdg_imported_v2*() const
{
return reinterpret_cast<zxdg_imported_v2*> (c_ptr());
}
std::function<void()> &zxdg_imported_v2_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(surface_t)> &zxdg_imported_v2_t::on_set_parent_of()
{
return std::static_pointer_cast<events_t>(get_events())->set_parent_of;
}
void zxdg_imported_v2_t::destroyed(bool post)
{
send_event(post, 0);
}
void zxdg_imported_v2_t::post_invalid_surface(std::string const& msg)
{
post_error(static_cast<uint32_t>(zxdg_imported_v2_error::invalid_surface), msg);
}
int zxdg_imported_v2_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->set_parent_of) events->set_parent_of(surface_t(args[0].get<resource_t>()));
break;
}
return 0;
}
zxdg_output_manager_v1_t::zxdg_output_manager_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zxdg_output_manager_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zxdg_output_manager_v1_t::zxdg_output_manager_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zxdg_output_manager_v1_t::interface_name = "zxdg_output_manager_v1";
zxdg_output_manager_v1_t::operator zxdg_output_manager_v1*() const
{
return reinterpret_cast<zxdg_output_manager_v1*> (c_ptr());
}
std::function<void()> &zxdg_output_manager_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(zxdg_output_v1_t, output_t)> &zxdg_output_manager_v1_t::on_get_xdg_output()
{
return std::static_pointer_cast<events_t>(get_events())->get_xdg_output;
}
int zxdg_output_manager_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->get_xdg_output) events->get_xdg_output(zxdg_output_v1_t(args[0].get<resource_t>()), output_t(args[1].get<resource_t>()));
break;
}
return 0;
}
zxdg_output_v1_t::zxdg_output_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zxdg_output_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zxdg_output_v1_t::zxdg_output_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zxdg_output_v1_t::interface_name = "zxdg_output_v1";
zxdg_output_v1_t::operator zxdg_output_v1*() const
{
return reinterpret_cast<zxdg_output_v1*> (c_ptr());
}
std::function<void()> &zxdg_output_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
void zxdg_output_v1_t::logical_position(int32_t x, int32_t y, bool post)
{
send_event(post, 0, x, y);
}
void zxdg_output_v1_t::logical_size(int32_t width, int32_t height, bool post)
{
send_event(post, 1, width, height);
}
void zxdg_output_v1_t::done(bool post)
{
send_event(post, 2);
}
void zxdg_output_v1_t::name(std::string const& name, bool post)
{
send_event(post, 3, name);
}
bool zxdg_output_v1_t::can_name() const
{
return (get_version() >= name_since_version);
}
void zxdg_output_v1_t::description(std::string const& description, bool post)
{
send_event(post, 4, description);
}
bool zxdg_output_v1_t::can_description() const
{
return (get_version() >= description_since_version);
}
int zxdg_output_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
}
return 0;
}
zxdg_shell_v6_t::zxdg_shell_v6_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zxdg_shell_v6_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zxdg_shell_v6_t::zxdg_shell_v6_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zxdg_shell_v6_t::interface_name = "zxdg_shell_v6";
zxdg_shell_v6_t::operator zxdg_shell_v6*() const
{
return reinterpret_cast<zxdg_shell_v6*> (c_ptr());
}
std::function<void()> &zxdg_shell_v6_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(zxdg_positioner_v6_t)> &zxdg_shell_v6_t::on_create_positioner()
{
return std::static_pointer_cast<events_t>(get_events())->create_positioner;
}
std::function<void(zxdg_surface_v6_t, surface_t)> &zxdg_shell_v6_t::on_get_xdg_surface()
{
return std::static_pointer_cast<events_t>(get_events())->get_xdg_surface;
}
std::function<void(uint32_t)> &zxdg_shell_v6_t::on_pong()
{
return std::static_pointer_cast<events_t>(get_events())->pong;
}
void zxdg_shell_v6_t::ping(uint32_t serial, bool post)
{
send_event(post, 0, serial);
}
void zxdg_shell_v6_t::post_role(std::string const& msg)
{
post_error(static_cast<uint32_t>(zxdg_shell_v6_error::role), msg);
}
void zxdg_shell_v6_t::post_defunct_surfaces(std::string const& msg)
{
post_error(static_cast<uint32_t>(zxdg_shell_v6_error::defunct_surfaces), msg);
}
void zxdg_shell_v6_t::post_not_the_topmost_popup(std::string const& msg)
{
post_error(static_cast<uint32_t>(zxdg_shell_v6_error::not_the_topmost_popup), msg);
}
void zxdg_shell_v6_t::post_invalid_popup_parent(std::string const& msg)
{
post_error(static_cast<uint32_t>(zxdg_shell_v6_error::invalid_popup_parent), msg);
}
void zxdg_shell_v6_t::post_invalid_surface_state(std::string const& msg)
{
post_error(static_cast<uint32_t>(zxdg_shell_v6_error::invalid_surface_state), msg);
}
void zxdg_shell_v6_t::post_invalid_positioner(std::string const& msg)
{
post_error(static_cast<uint32_t>(zxdg_shell_v6_error::invalid_positioner), msg);
}
int zxdg_shell_v6_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->create_positioner) events->create_positioner(zxdg_positioner_v6_t(args[0].get<resource_t>()));
break;
case 2:
if(events->get_xdg_surface) events->get_xdg_surface(zxdg_surface_v6_t(args[0].get<resource_t>()), surface_t(args[1].get<resource_t>()));
break;
case 3:
if(events->pong) events->pong(args[0].get<uint32_t>());
break;
}
return 0;
}
zxdg_positioner_v6_t::zxdg_positioner_v6_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zxdg_positioner_v6_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zxdg_positioner_v6_t::zxdg_positioner_v6_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zxdg_positioner_v6_t::interface_name = "zxdg_positioner_v6";
zxdg_positioner_v6_t::operator zxdg_positioner_v6*() const
{
return reinterpret_cast<zxdg_positioner_v6*> (c_ptr());
}
std::function<void()> &zxdg_positioner_v6_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(int32_t, int32_t)> &zxdg_positioner_v6_t::on_set_size()
{
return std::static_pointer_cast<events_t>(get_events())->set_size;
}
std::function<void(int32_t, int32_t, int32_t, int32_t)> &zxdg_positioner_v6_t::on_set_anchor_rect()
{
return std::static_pointer_cast<events_t>(get_events())->set_anchor_rect;
}
std::function<void(zxdg_positioner_v6_anchor)> &zxdg_positioner_v6_t::on_set_anchor()
{
return std::static_pointer_cast<events_t>(get_events())->set_anchor;
}
std::function<void(zxdg_positioner_v6_gravity)> &zxdg_positioner_v6_t::on_set_gravity()
{
return std::static_pointer_cast<events_t>(get_events())->set_gravity;
}
std::function<void(zxdg_positioner_v6_constraint_adjustment)> &zxdg_positioner_v6_t::on_set_constraint_adjustment()
{
return std::static_pointer_cast<events_t>(get_events())->set_constraint_adjustment;
}
std::function<void(int32_t, int32_t)> &zxdg_positioner_v6_t::on_set_offset()
{
return std::static_pointer_cast<events_t>(get_events())->set_offset;
}
void zxdg_positioner_v6_t::post_invalid_input(std::string const& msg)
{
post_error(static_cast<uint32_t>(zxdg_positioner_v6_error::invalid_input), msg);
}
int zxdg_positioner_v6_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->set_size) events->set_size(args[0].get<int32_t>(), args[1].get<int32_t>());
break;
case 2:
if(events->set_anchor_rect) events->set_anchor_rect(args[0].get<int32_t>(), args[1].get<int32_t>(), args[2].get<int32_t>(), args[3].get<int32_t>());
break;
case 3:
if(events->set_anchor) events->set_anchor(zxdg_positioner_v6_anchor(args[0].get<uint32_t>()));
break;
case 4:
if(events->set_gravity) events->set_gravity(zxdg_positioner_v6_gravity(args[0].get<uint32_t>()));
break;
case 5:
if(events->set_constraint_adjustment) events->set_constraint_adjustment(zxdg_positioner_v6_constraint_adjustment(args[0].get<uint32_t>()));
break;
case 6:
if(events->set_offset) events->set_offset(args[0].get<int32_t>(), args[1].get<int32_t>());
break;
}
return 0;
}
const bitfield<4, 37> zxdg_positioner_v6_anchor::none{0};
const bitfield<4, 37> zxdg_positioner_v6_anchor::top{1};
const bitfield<4, 37> zxdg_positioner_v6_anchor::bottom{2};
const bitfield<4, 37> zxdg_positioner_v6_anchor::left{4};
const bitfield<4, 37> zxdg_positioner_v6_anchor::right{8};
const bitfield<4, 38> zxdg_positioner_v6_gravity::none{0};
const bitfield<4, 38> zxdg_positioner_v6_gravity::top{1};
const bitfield<4, 38> zxdg_positioner_v6_gravity::bottom{2};
const bitfield<4, 38> zxdg_positioner_v6_gravity::left{4};
const bitfield<4, 38> zxdg_positioner_v6_gravity::right{8};
const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::none{0};
const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::slide_x{1};
const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::slide_y{2};
const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::flip_x{4};
const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::flip_y{8};
const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::resize_x{16};
const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::resize_y{32};
zxdg_surface_v6_t::zxdg_surface_v6_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zxdg_surface_v6_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zxdg_surface_v6_t::zxdg_surface_v6_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zxdg_surface_v6_t::interface_name = "zxdg_surface_v6";
zxdg_surface_v6_t::operator zxdg_surface_v6*() const
{
return reinterpret_cast<zxdg_surface_v6*> (c_ptr());
}
std::function<void()> &zxdg_surface_v6_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(zxdg_toplevel_v6_t)> &zxdg_surface_v6_t::on_get_toplevel()
{
return std::static_pointer_cast<events_t>(get_events())->get_toplevel;
}
std::function<void(zxdg_popup_v6_t, zxdg_surface_v6_t, zxdg_positioner_v6_t)> &zxdg_surface_v6_t::on_get_popup()
{
return std::static_pointer_cast<events_t>(get_events())->get_popup;
}
std::function<void(int32_t, int32_t, int32_t, int32_t)> &zxdg_surface_v6_t::on_set_window_geometry()
{
return std::static_pointer_cast<events_t>(get_events())->set_window_geometry;
}
std::function<void(uint32_t)> &zxdg_surface_v6_t::on_ack_configure()
{
return std::static_pointer_cast<events_t>(get_events())->ack_configure;
}
void zxdg_surface_v6_t::configure(uint32_t serial, bool post)
{
send_event(post, 0, serial);
}
void zxdg_surface_v6_t::post_not_constructed(std::string const& msg)
{
post_error(static_cast<uint32_t>(zxdg_surface_v6_error::not_constructed), msg);
}
void zxdg_surface_v6_t::post_already_constructed(std::string const& msg)
{
post_error(static_cast<uint32_t>(zxdg_surface_v6_error::already_constructed), msg);
}
void zxdg_surface_v6_t::post_unconfigured_buffer(std::string const& msg)
{
post_error(static_cast<uint32_t>(zxdg_surface_v6_error::unconfigured_buffer), msg);
}
int zxdg_surface_v6_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->get_toplevel) events->get_toplevel(zxdg_toplevel_v6_t(args[0].get<resource_t>()));
break;
case 2:
if(events->get_popup) events->get_popup(zxdg_popup_v6_t(args[0].get<resource_t>()), zxdg_surface_v6_t(args[1].get<resource_t>()), zxdg_positioner_v6_t(args[2].get<resource_t>()));
break;
case 3:
if(events->set_window_geometry) events->set_window_geometry(args[0].get<int32_t>(), args[1].get<int32_t>(), args[2].get<int32_t>(), args[3].get<int32_t>());
break;
case 4:
if(events->ack_configure) events->ack_configure(args[0].get<uint32_t>());
break;
}
return 0;
}
zxdg_toplevel_v6_t::zxdg_toplevel_v6_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zxdg_toplevel_v6_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zxdg_toplevel_v6_t::zxdg_toplevel_v6_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zxdg_toplevel_v6_t::interface_name = "zxdg_toplevel_v6";
zxdg_toplevel_v6_t::operator zxdg_toplevel_v6*() const
{
return reinterpret_cast<zxdg_toplevel_v6*> (c_ptr());
}
std::function<void()> &zxdg_toplevel_v6_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(zxdg_toplevel_v6_t)> &zxdg_toplevel_v6_t::on_set_parent()
{
return std::static_pointer_cast<events_t>(get_events())->set_parent;
}
std::function<void(std::string)> &zxdg_toplevel_v6_t::on_set_title()
{
return std::static_pointer_cast<events_t>(get_events())->set_title;
}
std::function<void(std::string)> &zxdg_toplevel_v6_t::on_set_app_id()
{
return std::static_pointer_cast<events_t>(get_events())->set_app_id;
}
std::function<void(seat_t, uint32_t, int32_t, int32_t)> &zxdg_toplevel_v6_t::on_show_window_menu()
{
return std::static_pointer_cast<events_t>(get_events())->show_window_menu;
}
std::function<void(seat_t, uint32_t)> &zxdg_toplevel_v6_t::on_move()
{
return std::static_pointer_cast<events_t>(get_events())->move;
}
std::function<void(seat_t, uint32_t, zxdg_toplevel_v6_resize_edge)> &zxdg_toplevel_v6_t::on_resize()
{
return std::static_pointer_cast<events_t>(get_events())->resize;
}
std::function<void(int32_t, int32_t)> &zxdg_toplevel_v6_t::on_set_max_size()
{
return std::static_pointer_cast<events_t>(get_events())->set_max_size;
}
std::function<void(int32_t, int32_t)> &zxdg_toplevel_v6_t::on_set_min_size()
{
return std::static_pointer_cast<events_t>(get_events())->set_min_size;
}
std::function<void()> &zxdg_toplevel_v6_t::on_set_maximized()
{
return std::static_pointer_cast<events_t>(get_events())->set_maximized;
}
std::function<void()> &zxdg_toplevel_v6_t::on_unset_maximized()
{
return std::static_pointer_cast<events_t>(get_events())->unset_maximized;
}
std::function<void(output_t)> &zxdg_toplevel_v6_t::on_set_fullscreen()
{
return std::static_pointer_cast<events_t>(get_events())->set_fullscreen;
}
std::function<void()> &zxdg_toplevel_v6_t::on_unset_fullscreen()
{
return std::static_pointer_cast<events_t>(get_events())->unset_fullscreen;
}
std::function<void()> &zxdg_toplevel_v6_t::on_set_minimized()
{
return std::static_pointer_cast<events_t>(get_events())->set_minimized;
}
void zxdg_toplevel_v6_t::configure(int32_t width, int32_t height, array_t const& states, bool post)
{
send_event(post, 0, width, height, states);
}
void zxdg_toplevel_v6_t::close(bool post)
{
send_event(post, 1);
}
int zxdg_toplevel_v6_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->set_parent) events->set_parent(zxdg_toplevel_v6_t(args[0].get<resource_t>()));
break;
case 2:
if(events->set_title) events->set_title(args[0].get<std::string>());
break;
case 3:
if(events->set_app_id) events->set_app_id(args[0].get<std::string>());
break;
case 4:
if(events->show_window_menu) events->show_window_menu(seat_t(args[0].get<resource_t>()), args[1].get<uint32_t>(), args[2].get<int32_t>(), args[3].get<int32_t>());
break;
case 5:
if(events->move) events->move(seat_t(args[0].get<resource_t>()), args[1].get<uint32_t>());
break;
case 6:
if(events->resize) events->resize(seat_t(args[0].get<resource_t>()), args[1].get<uint32_t>(), zxdg_toplevel_v6_resize_edge(args[2].get<uint32_t>()));
break;
case 7:
if(events->set_max_size) events->set_max_size(args[0].get<int32_t>(), args[1].get<int32_t>());
break;
case 8:
if(events->set_min_size) events->set_min_size(args[0].get<int32_t>(), args[1].get<int32_t>());
break;
case 9:
if(events->set_maximized) events->set_maximized();
break;
case 10:
if(events->unset_maximized) events->unset_maximized();
break;
case 11:
if(events->set_fullscreen) events->set_fullscreen(output_t(args[0].get<resource_t>()));
break;
case 12:
if(events->unset_fullscreen) events->unset_fullscreen();
break;
case 13:
if(events->set_minimized) events->set_minimized();
break;
}
return 0;
}
const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::none{0};
const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::top{1};
const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::bottom{2};
const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::left{4};
const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::top_left{5};
const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::bottom_left{6};
const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::right{8};
const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::top_right{9};
const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::bottom_right{10};
zxdg_popup_v6_t::zxdg_popup_v6_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zxdg_popup_v6_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zxdg_popup_v6_t::zxdg_popup_v6_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zxdg_popup_v6_t::interface_name = "zxdg_popup_v6";
zxdg_popup_v6_t::operator zxdg_popup_v6*() const
{
return reinterpret_cast<zxdg_popup_v6*> (c_ptr());
}
std::function<void()> &zxdg_popup_v6_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(seat_t, uint32_t)> &zxdg_popup_v6_t::on_grab()
{
return std::static_pointer_cast<events_t>(get_events())->grab;
}
void zxdg_popup_v6_t::configure(int32_t x, int32_t y, int32_t width, int32_t height, bool post)
{
send_event(post, 0, x, y, width, height);
}
void zxdg_popup_v6_t::popup_done(bool post)
{
send_event(post, 1);
}
void zxdg_popup_v6_t::post_invalid_grab(std::string const& msg)
{
post_error(static_cast<uint32_t>(zxdg_popup_v6_error::invalid_grab), msg);
}
int zxdg_popup_v6_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->grab) events->grab(seat_t(args[0].get<resource_t>()), args[1].get<uint32_t>());
break;
}
return 0;
}
zwp_xwayland_keyboard_grab_manager_v1_t::zwp_xwayland_keyboard_grab_manager_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_xwayland_keyboard_grab_manager_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_xwayland_keyboard_grab_manager_v1_t::zwp_xwayland_keyboard_grab_manager_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_xwayland_keyboard_grab_manager_v1_t::interface_name = "zwp_xwayland_keyboard_grab_manager_v1";
zwp_xwayland_keyboard_grab_manager_v1_t::operator zwp_xwayland_keyboard_grab_manager_v1*() const
{
return reinterpret_cast<zwp_xwayland_keyboard_grab_manager_v1*> (c_ptr());
}
std::function<void()> &zwp_xwayland_keyboard_grab_manager_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
std::function<void(zwp_xwayland_keyboard_grab_v1_t, surface_t, seat_t)> &zwp_xwayland_keyboard_grab_manager_v1_t::on_grab_keyboard()
{
return std::static_pointer_cast<events_t>(get_events())->grab_keyboard;
}
int zwp_xwayland_keyboard_grab_manager_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
case 1:
if(events->grab_keyboard) events->grab_keyboard(zwp_xwayland_keyboard_grab_v1_t(args[0].get<resource_t>()), surface_t(args[1].get<resource_t>()), seat_t(args[2].get<resource_t>()));
break;
}
return 0;
}
zwp_xwayland_keyboard_grab_v1_t::zwp_xwayland_keyboard_grab_v1_t(const client_t& client, uint32_t id, int version)
: resource_t(client, &server::detail::zwp_xwayland_keyboard_grab_v1_interface, id, version)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
zwp_xwayland_keyboard_grab_v1_t::zwp_xwayland_keyboard_grab_v1_t(const resource_t &resource)
: resource_t(resource)
{
set_events(std::shared_ptr<resource_t::events_base_t>(new events_t), dispatcher);
}
const std::string zwp_xwayland_keyboard_grab_v1_t::interface_name = "zwp_xwayland_keyboard_grab_v1";
zwp_xwayland_keyboard_grab_v1_t::operator zwp_xwayland_keyboard_grab_v1*() const
{
return reinterpret_cast<zwp_xwayland_keyboard_grab_v1*> (c_ptr());
}
std::function<void()> &zwp_xwayland_keyboard_grab_v1_t::on_destroy()
{
return std::static_pointer_cast<events_t>(get_events())->destroy;
}
int zwp_xwayland_keyboard_grab_v1_t::dispatcher(int opcode, const std::vector<any>& args, const std::shared_ptr<resource_t::events_base_t>& e)
{
std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
switch(opcode)
{
case 0:
if(events->destroy) events->destroy();
break;
}
return 0;
}
wayland::output_t
compositor output region
Definition wayland-client-protocol.hpp:3485
wayland::server::buffer_t
content for a wl_surface
Definition wayland-server-protocol.hpp:750
wayland::server::keyboard_t
keyboard input device
Definition wayland-server-protocol.hpp:3292
wayland::server::output_t
compositor output region
Definition wayland-server-protocol.hpp:3707
wayland::server::pointer_t
pointer input device
Definition wayland-server-protocol.hpp:2811
wayland::server::region_t
region interface
Definition wayland-server-protocol.hpp:4044
wayland::server::seat_t
group of input devices
Definition wayland-server-protocol.hpp:2610
wayland::server::surface_t
an onscreen surface
Definition wayland-server-protocol.hpp:2139
wayland::server::touch_t
touchscreen input device
Definition wayland-server-protocol.hpp:3493
wayland::server::xdg_activation_token_v1_t
an exported activation handle
Definition wayland-server-protocol-unstable.hpp:7600
wayland::server::xdg_activation_token_v1_t::post_already_used
void post_already_used(std::string const &msg)
Post error: The token has already been used previously.
Definition wayland-server-protocol-unstable.cpp:7513
wayland::server::xdg_activation_token_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_activation_token_v1 object
Definition wayland-server-protocol-unstable.cpp:7502
wayland::server::xdg_activation_token_v1_t::on_commit
std::function< void()> & on_commit()
issues the token request
Definition wayland-server-protocol-unstable.cpp:7496
wayland::server::xdg_activation_token_v1_t::done
void done(std::string const &token, bool post=true)
the exported activation token
Definition wayland-server-protocol-unstable.cpp:7508
wayland::server::xdg_activation_token_v1_t::on_set_surface
std::function< void(surface_t)> & on_set_surface()
specifies the application being activated
Definition wayland-server-protocol-unstable.cpp:7490
wayland::server::xdg_activation_token_v1_t::on_set_app_id
std::function< void(std::string)> & on_set_app_id()
specifies the application being activated
Definition wayland-server-protocol-unstable.cpp:7484
wayland::server::xdg_activation_token_v1_t::on_set_serial
std::function< void(uint32_t, seat_t)> & on_set_serial()
specifies the seat and serial of the activating event
Definition wayland-server-protocol-unstable.cpp:7478
wayland::server::xdg_activation_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_activation object
Definition wayland-server-protocol-unstable.cpp:7423
wayland::server::xdg_activation_v1_t::on_activate
std::function< void(std::string, surface_t)> & on_activate()
notify new interaction being available
Definition wayland-server-protocol-unstable.cpp:7435
wayland::server::xdg_activation_v1_t::on_get_activation_token
std::function< void(xdg_activation_token_v1_t)> & on_get_activation_token()
requests a token
Definition wayland-server-protocol-unstable.cpp:7429
wayland::server::xdg_toplevel_t
toplevel surface
Definition wayland-server-protocol-extra.hpp:1302
wayland::server::zwp_confined_pointer_v1_t
confined pointer object
Definition wayland-server-protocol-unstable.hpp:3003
wayland::server::zwp_confined_pointer_v1_t::unconfined
void unconfined(bool post=true)
pointer unconfined
Definition wayland-server-protocol-unstable.cpp:5514
wayland::server::zwp_confined_pointer_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the confined pointer object
Definition wayland-server-protocol-unstable.cpp:5497
wayland::server::zwp_confined_pointer_v1_t::on_set_region
std::function< void(region_t)> & on_set_region()
set a new confine region
Definition wayland-server-protocol-unstable.cpp:5503
wayland::server::zwp_confined_pointer_v1_t::confined
void confined(bool post=true)
pointer confined
Definition wayland-server-protocol-unstable.cpp:5509
wayland::server::zwp_fullscreen_shell_v1_t::post_role
void post_role(std::string const &msg)
Post error: given wl_surface has another role.
Definition wayland-server-protocol-unstable.cpp:4252
wayland::server::zwp_fullscreen_shell_v1_t::on_present_surface
std::function< void(surface_t, zwp_fullscreen_shell_v1_present_method, output_t)> & on_present_surface()
present surface for display
Definition wayland-server-protocol-unstable.cpp:4230
wayland::server::zwp_fullscreen_shell_v1_t::capability
void capability(zwp_fullscreen_shell_v1_capability const &capability, bool post=true)
advertises a capability of the compositor
Definition wayland-server-protocol-unstable.cpp:4242
wayland::server::zwp_fullscreen_shell_v1_t::post_invalid_method
void post_invalid_method(std::string const &msg)
Post error: present_method is not known.
Definition wayland-server-protocol-unstable.cpp:4247
wayland::server::zwp_fullscreen_shell_v1_t::on_release
std::function< void()> & on_release()
release the wl_fullscreen_shell interface
Definition wayland-server-protocol-unstable.cpp:4224
wayland::server::zwp_fullscreen_shell_v1_t::on_present_surface_for_mode
std::function< void(surface_t, output_t, int32_t, zwp_fullscreen_shell_mode_feedback_v1_t)> & on_present_surface_for_mode()
present surface for display at a particular mode
Definition wayland-server-protocol-unstable.cpp:4236
wayland::server::zwp_idle_inhibit_manager_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the idle inhibitor object
Definition wayland-server-protocol-unstable.cpp:4336
wayland::server::zwp_idle_inhibit_manager_v1_t::on_create_inhibitor
std::function< void(zwp_idle_inhibitor_v1_t, surface_t)> & on_create_inhibitor()
create a new inhibitor object
Definition wayland-server-protocol-unstable.cpp:4342
wayland::server::zwp_idle_inhibitor_v1_t
context object for inhibiting idle behavior
Definition wayland-server-protocol-unstable.hpp:689
wayland::server::zwp_idle_inhibitor_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the idle inhibitor object
Definition wayland-server-protocol-unstable.cpp:4382
wayland::server::zwp_input_method_context_v1_t
input method context
Definition wayland-server-protocol-unstable.hpp:754
wayland::server::zwp_input_method_context_v1_t::invoke_action
void invoke_action(uint32_t button, uint32_t index, bool post=true)
Definition wayland-server-protocol-unstable.cpp:4518
wayland::server::zwp_input_method_context_v1_t::surrounding_text
void surrounding_text(std::string const &text, uint32_t cursor, uint32_t anchor, bool post=true)
surrounding text event
Definition wayland-server-protocol-unstable.cpp:4503
wayland::server::zwp_input_method_context_v1_t::on_modifiers_map
std::function< void(array_t)> & on_modifiers_map()
Definition wayland-server-protocol-unstable.cpp:4461
wayland::server::zwp_input_method_context_v1_t::on_keysym
std::function< void(uint32_t, uint32_t, uint32_t, keyboard_key_state, uint32_t)> & on_keysym()
keysym
Definition wayland-server-protocol-unstable.cpp:4467
wayland::server::zwp_input_method_context_v1_t::on_preedit_cursor
std::function< void(int32_t)> & on_preedit_cursor()
pre-edit cursor
Definition wayland-server-protocol-unstable.cpp:4443
wayland::server::zwp_input_method_context_v1_t::on_modifiers
std::function< void(uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)> & on_modifiers()
forward modifiers event
Definition wayland-server-protocol-unstable.cpp:4485
wayland::server::zwp_input_method_context_v1_t::on_cursor_position
std::function< void(int32_t, int32_t)> & on_cursor_position()
set cursor to a new position
Definition wayland-server-protocol-unstable.cpp:4455
wayland::server::zwp_input_method_context_v1_t::commit_state
void commit_state(uint32_t serial, bool post=true)
Definition wayland-server-protocol-unstable.cpp:4523
wayland::server::zwp_input_method_context_v1_t::on_text_direction
std::function< void(uint32_t, uint32_t)> & on_text_direction()
Definition wayland-server-protocol-unstable.cpp:4497
wayland::server::zwp_input_method_context_v1_t::on_commit_string
std::function< void(uint32_t, std::string)> & on_commit_string()
commit string
Definition wayland-server-protocol-unstable.cpp:4425
wayland::server::zwp_input_method_context_v1_t::on_preedit_styling
std::function< void(uint32_t, uint32_t, zwp_text_input_v1_preedit_style)> & on_preedit_styling()
pre-edit styling
Definition wayland-server-protocol-unstable.cpp:4437
wayland::server::zwp_input_method_context_v1_t::on_preedit_string
std::function< void(uint32_t, std::string, std::string)> & on_preedit_string()
pre-edit string
Definition wayland-server-protocol-unstable.cpp:4431
wayland::server::zwp_input_method_context_v1_t::on_key
std::function< void(uint32_t, uint32_t, uint32_t, keyboard_key_state)> & on_key()
forward key event
Definition wayland-server-protocol-unstable.cpp:4479
wayland::server::zwp_input_method_context_v1_t::on_delete_surrounding_text
std::function< void(int32_t, uint32_t)> & on_delete_surrounding_text()
delete text
Definition wayland-server-protocol-unstable.cpp:4449
wayland::server::zwp_input_method_context_v1_t::preferred_language
void preferred_language(std::string const &language, bool post=true)
Definition wayland-server-protocol-unstable.cpp:4528
wayland::server::zwp_input_method_context_v1_t::on_language
std::function< void(uint32_t, std::string)> & on_language()
Definition wayland-server-protocol-unstable.cpp:4491
wayland::server::zwp_input_method_context_v1_t::content_type
void content_type(zwp_text_input_v1_content_hint const &hint, zwp_text_input_v1_content_purpose const &purpose, bool post=true)
Definition wayland-server-protocol-unstable.cpp:4513
wayland::server::zwp_input_method_context_v1_t::on_grab_keyboard
std::function< void(keyboard_t)> & on_grab_keyboard()
grab hardware keyboard
Definition wayland-server-protocol-unstable.cpp:4473
wayland::server::zwp_input_method_v1_t::activate
void activate(bool post=true)
activate event
Definition wayland-server-protocol-unstable.cpp:4603
wayland::server::zwp_input_method_v1_t::deactivate
void deactivate(zwp_input_method_context_v1_t const &context, bool post=true)
deactivate event
Definition wayland-server-protocol-unstable.cpp:4608
wayland::server::zwp_input_panel_v1_t::on_get_input_panel_surface
std::function< void(zwp_input_panel_surface_v1_t, surface_t)> & on_get_input_panel_surface()
Definition wayland-server-protocol-unstable.cpp:4637
wayland::server::zwp_input_timestamps_manager_v1_t::on_get_keyboard_timestamps
std::function< void(zwp_input_timestamps_v1_t, keyboard_t)> & on_get_keyboard_timestamps()
subscribe to high-resolution keyboard timestamp events
Definition wayland-server-protocol-unstable.cpp:4727
wayland::server::zwp_input_timestamps_manager_v1_t::on_get_touch_timestamps
std::function< void(zwp_input_timestamps_v1_t, touch_t)> & on_get_touch_timestamps()
subscribe to high-resolution touch timestamp events
Definition wayland-server-protocol-unstable.cpp:4739
wayland::server::zwp_input_timestamps_manager_v1_t::on_get_pointer_timestamps
std::function< void(zwp_input_timestamps_v1_t, pointer_t)> & on_get_pointer_timestamps()
subscribe to high-resolution pointer timestamp events
Definition wayland-server-protocol-unstable.cpp:4733
wayland::server::zwp_input_timestamps_manager_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the input timestamps manager object
Definition wayland-server-protocol-unstable.cpp:4721
wayland::server::zwp_input_timestamps_v1_t
context object for input timestamps
Definition wayland-server-protocol-unstable.hpp:1315
wayland::server::zwp_input_timestamps_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the input timestamps object
Definition wayland-server-protocol-unstable.cpp:4785
wayland::server::zwp_input_timestamps_v1_t::timestamp
void timestamp(uint32_t tv_sec_hi, uint32_t tv_sec_lo, uint32_t tv_nsec, bool post=true)
high-resolution timestamp event
Definition wayland-server-protocol-unstable.cpp:4791
wayland::server::zwp_keyboard_shortcuts_inhibit_manager_v1_t::on_inhibit_shortcuts
std::function< void(zwp_keyboard_shortcuts_inhibitor_v1_t, surface_t, seat_t)> & on_inhibit_shortcuts()
create a new keyboard shortcuts inhibitor object
Definition wayland-server-protocol-unstable.cpp:4833
wayland::server::zwp_keyboard_shortcuts_inhibit_manager_v1_t::post_already_inhibited
void post_already_inhibited(std::string const &msg)
Post error: the shortcuts are already inhibited for this surface.
Definition wayland-server-protocol-unstable.cpp:4839
wayland::server::zwp_keyboard_shortcuts_inhibit_manager_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the keyboard shortcuts inhibitor object
Definition wayland-server-protocol-unstable.cpp:4827
wayland::server::zwp_keyboard_shortcuts_inhibitor_v1_t
context object for keyboard shortcuts inhibitor
Definition wayland-server-protocol-unstable.hpp:1490
wayland::server::zwp_keyboard_shortcuts_inhibitor_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the keyboard shortcuts inhibitor object
Definition wayland-server-protocol-unstable.cpp:4879
wayland::server::zwp_keyboard_shortcuts_inhibitor_v1_t::inactive
void inactive(bool post=true)
shortcuts are restored
Definition wayland-server-protocol-unstable.cpp:4890
wayland::server::zwp_keyboard_shortcuts_inhibitor_v1_t::active
void active(bool post=true)
shortcuts are inhibited
Definition wayland-server-protocol-unstable.cpp:4885
wayland::server::zwp_linux_buffer_params_v1_t
parameters for creating a dmabuf-based wl_buffer
Definition wayland-server-protocol-unstable.hpp:1792
wayland::server::zwp_linux_buffer_params_v1_t::failed
void failed(bool post=true)
buffer creation failed
Definition wayland-server-protocol-unstable.cpp:5034
wayland::server::zwp_linux_buffer_params_v1_t::post_incomplete
void post_incomplete(std::string const &msg)
Post error: missing or too many planes to create a buffer.
Definition wayland-server-protocol-unstable.cpp:5054
wayland::server::zwp_linux_buffer_params_v1_t::post_already_used
void post_already_used(std::string const &msg)
Post error: the dmabuf_batch object has already been used to create a wl_buffer.
Definition wayland-server-protocol-unstable.cpp:5039
wayland::server::zwp_linux_buffer_params_v1_t::created
void created(bool post=true)
buffer creation succeeded
Definition wayland-server-protocol-unstable.cpp:5029
wayland::server::zwp_linux_buffer_params_v1_t::post_out_of_bounds
void post_out_of_bounds(std::string const &msg)
Post error: offset + stride * height goes out of dmabuf bounds.
Definition wayland-server-protocol-unstable.cpp:5069
wayland::server::zwp_linux_buffer_params_v1_t::post_invalid_format
void post_invalid_format(std::string const &msg)
Post error: format not supported.
Definition wayland-server-protocol-unstable.cpp:5059
wayland::server::zwp_linux_buffer_params_v1_t::on_add
std::function< void(int, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)> & on_add()
add a dmabuf to the temporary set
Definition wayland-server-protocol-unstable.cpp:5011
wayland::server::zwp_linux_buffer_params_v1_t::post_invalid_wl_buffer
void post_invalid_wl_buffer(std::string const &msg)
Post error: invalid wl_buffer resulted from importing dmabufs via the create_immed request on given b...
Definition wayland-server-protocol-unstable.cpp:5074
wayland::server::zwp_linux_buffer_params_v1_t::on_create
std::function< void(int32_t, int32_t, uint32_t, zwp_linux_buffer_params_v1_flags)> & on_create()
create a wl_buffer from the given dmabufs
Definition wayland-server-protocol-unstable.cpp:5017
wayland::server::zwp_linux_buffer_params_v1_t::post_plane_idx
void post_plane_idx(std::string const &msg)
Post error: plane index out of bounds.
Definition wayland-server-protocol-unstable.cpp:5044
wayland::server::zwp_linux_buffer_params_v1_t::post_invalid_dimensions
void post_invalid_dimensions(std::string const &msg)
Post error: invalid width or height.
Definition wayland-server-protocol-unstable.cpp:5064
wayland::server::zwp_linux_buffer_params_v1_t::on_destroy
std::function< void()> & on_destroy()
delete this object, used or not
Definition wayland-server-protocol-unstable.cpp:5005
wayland::server::zwp_linux_buffer_params_v1_t::post_plane_set
void post_plane_set(std::string const &msg)
Post error: the plane index was already set.
Definition wayland-server-protocol-unstable.cpp:5049
wayland::server::zwp_linux_buffer_params_v1_t::on_create_immed
std::function< void(buffer_t, int32_t, int32_t, uint32_t, zwp_linux_buffer_params_v1_flags)> & on_create_immed()
immediately create a wl_buffer from the given dmabufs
Definition wayland-server-protocol-unstable.cpp:5023
wayland::server::zwp_linux_buffer_release_v1_t
buffer release explicit synchronization
Definition wayland-server-protocol-unstable.hpp:2622
wayland::server::zwp_linux_buffer_release_v1_t::immediate_release
void immediate_release(bool post=true)
release buffer immediately
Definition wayland-server-protocol-unstable.cpp:5341
wayland::server::zwp_linux_buffer_release_v1_t::fenced_release
void fenced_release(int fence, bool post=true)
release buffer with fence
Definition wayland-server-protocol-unstable.cpp:5336
wayland::server::zwp_linux_dmabuf_feedback_v1_t
dmabuf feedback
Definition wayland-server-protocol-unstable.hpp:2098
wayland::server::zwp_linux_dmabuf_feedback_v1_t::tranche_formats
void tranche_formats(array_t const &indices, bool post=true)
supported buffer format modifier
Definition wayland-server-protocol-unstable.cpp:5155
wayland::server::zwp_linux_dmabuf_feedback_v1_t::tranche_target_device
void tranche_target_device(array_t const &device, bool post=true)
target device
Definition wayland-server-protocol-unstable.cpp:5150
wayland::server::zwp_linux_dmabuf_feedback_v1_t::tranche_flags
void tranche_flags(zwp_linux_dmabuf_feedback_v1_tranche_flags const &flags, bool post=true)
tranche flags
Definition wayland-server-protocol-unstable.cpp:5160
wayland::server::zwp_linux_dmabuf_feedback_v1_t::main_device
void main_device(array_t const &device, bool post=true)
preferred main device
Definition wayland-server-protocol-unstable.cpp:5140
wayland::server::zwp_linux_dmabuf_feedback_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the feedback object
Definition wayland-server-protocol-unstable.cpp:5124
wayland::server::zwp_linux_dmabuf_feedback_v1_t::format_table
void format_table(int fd, uint32_t size, bool post=true)
format and modifier table
Definition wayland-server-protocol-unstable.cpp:5135
wayland::server::zwp_linux_dmabuf_feedback_v1_t::done
void done(bool post=true)
all feedback has been sent
Definition wayland-server-protocol-unstable.cpp:5130
wayland::server::zwp_linux_dmabuf_feedback_v1_t::tranche_done
void tranche_done(bool post=true)
a preference tranche has been sent
Definition wayland-server-protocol-unstable.cpp:5145
wayland::server::zwp_linux_dmabuf_v1_t::on_get_surface_feedback
std::function< void(zwp_linux_dmabuf_feedback_v1_t, surface_t)> & on_get_surface_feedback()
get feedback for a surface
Definition wayland-server-protocol-unstable.cpp:4944
wayland::server::zwp_linux_dmabuf_v1_t::on_destroy
std::function< void()> & on_destroy()
unbind the factory
Definition wayland-server-protocol-unstable.cpp:4926
wayland::server::zwp_linux_dmabuf_v1_t::can_modifier
bool can_modifier() const
Check whether the modifier function is available with the currently bound version of the protocol.
Definition wayland-server-protocol-unstable.cpp:4960
wayland::server::zwp_linux_dmabuf_v1_t::modifier_since_version
static constexpr std::uint32_t modifier_since_version
Minimum protocol version required for the modifier function.
Definition wayland-server-protocol-unstable.hpp:1761
wayland::server::zwp_linux_dmabuf_v1_t::on_get_default_feedback
std::function< void(zwp_linux_dmabuf_feedback_v1_t)> & on_get_default_feedback()
get default feedback
Definition wayland-server-protocol-unstable.cpp:4938
wayland::server::zwp_linux_dmabuf_v1_t::on_create_params
std::function< void(zwp_linux_buffer_params_v1_t)> & on_create_params()
create a temporary object for buffer parameters
Definition wayland-server-protocol-unstable.cpp:4932
wayland::server::zwp_linux_dmabuf_v1_t::modifier
void modifier(uint32_t format, uint32_t modifier_hi, uint32_t modifier_lo, bool post=true)
supported buffer format modifier
Definition wayland-server-protocol-unstable.cpp:4955
wayland::server::zwp_linux_dmabuf_v1_t::format
void format(uint32_t format, bool post=true)
supported buffer format
Definition wayland-server-protocol-unstable.cpp:4950
wayland::server::zwp_linux_explicit_synchronization_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy explicit synchronization factory object
Definition wayland-server-protocol-unstable.cpp:5198
wayland::server::zwp_linux_explicit_synchronization_v1_t::on_get_synchronization
std::function< void(zwp_linux_surface_synchronization_v1_t, surface_t)> & on_get_synchronization()
extend surface interface for explicit synchronization
Definition wayland-server-protocol-unstable.cpp:5204
wayland::server::zwp_linux_explicit_synchronization_v1_t::post_synchronization_exists
void post_synchronization_exists(std::string const &msg)
Post error: the surface already has a synchronization object associated.
Definition wayland-server-protocol-unstable.cpp:5210
wayland::server::zwp_linux_surface_synchronization_v1_t
per-surface explicit synchronization support
Definition wayland-server-protocol-unstable.hpp:2457
wayland::server::zwp_linux_surface_synchronization_v1_t::on_set_acquire_fence
std::function< void(int)> & on_set_acquire_fence()
set the acquire fence
Definition wayland-server-protocol-unstable.cpp:5256
wayland::server::zwp_linux_surface_synchronization_v1_t::post_duplicate_release
void post_duplicate_release(std::string const &msg)
Post error: multiple releases added for a single surface commit.
Definition wayland-server-protocol-unstable.cpp:5278
wayland::server::zwp_linux_surface_synchronization_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy synchronization object
Definition wayland-server-protocol-unstable.cpp:5250
wayland::server::zwp_linux_surface_synchronization_v1_t::post_unsupported_buffer
void post_unsupported_buffer(std::string const &msg)
Post error: the buffer does not support explicit synchronization.
Definition wayland-server-protocol-unstable.cpp:5288
wayland::server::zwp_linux_surface_synchronization_v1_t::post_no_buffer
void post_no_buffer(std::string const &msg)
Post error: no buffer was attached.
Definition wayland-server-protocol-unstable.cpp:5293
wayland::server::zwp_linux_surface_synchronization_v1_t::post_duplicate_fence
void post_duplicate_fence(std::string const &msg)
Post error: multiple fences added for a single surface commit.
Definition wayland-server-protocol-unstable.cpp:5273
wayland::server::zwp_linux_surface_synchronization_v1_t::post_invalid_fence
void post_invalid_fence(std::string const &msg)
Post error: the fence specified by the client could not be imported.
Definition wayland-server-protocol-unstable.cpp:5268
wayland::server::zwp_linux_surface_synchronization_v1_t::on_get_release
std::function< void(zwp_linux_buffer_release_v1_t)> & on_get_release()
release fence for last-attached buffer
Definition wayland-server-protocol-unstable.cpp:5262
wayland::server::zwp_linux_surface_synchronization_v1_t::post_no_surface
void post_no_surface(std::string const &msg)
Post error: the associated wl_surface was destroyed.
Definition wayland-server-protocol-unstable.cpp:5283
wayland::server::zwp_locked_pointer_v1_t
receive relative pointer motion events
Definition wayland-server-protocol-unstable.hpp:2882
wayland::server::zwp_locked_pointer_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the locked pointer object
Definition wayland-server-protocol-unstable.cpp:5432
wayland::server::zwp_locked_pointer_v1_t::on_set_cursor_position_hint
std::function< void(double, double)> & on_set_cursor_position_hint()
set the pointer cursor position hint
Definition wayland-server-protocol-unstable.cpp:5438
wayland::server::zwp_locked_pointer_v1_t::unlocked
void unlocked(bool post=true)
lock deactivation event
Definition wayland-server-protocol-unstable.cpp:5455
wayland::server::zwp_locked_pointer_v1_t::locked
void locked(bool post=true)
lock activation event
Definition wayland-server-protocol-unstable.cpp:5450
wayland::server::zwp_locked_pointer_v1_t::on_set_region
std::function< void(region_t)> & on_set_region()
set a new lock region
Definition wayland-server-protocol-unstable.cpp:5444
wayland::server::zwp_pointer_constraints_v1_t::on_confine_pointer
std::function< void(zwp_confined_pointer_v1_t, surface_t, pointer_t, region_t, zwp_pointer_constraints_v1_lifetime)> & on_confine_pointer()
confine pointer to a region
Definition wayland-server-protocol-unstable.cpp:5382
wayland::server::zwp_pointer_constraints_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the pointer constraints manager object
Definition wayland-server-protocol-unstable.cpp:5370
wayland::server::zwp_pointer_constraints_v1_t::post_already_constrained
void post_already_constrained(std::string const &msg)
Post error: pointer constraint already requested on that surface.
Definition wayland-server-protocol-unstable.cpp:5388
wayland::server::zwp_pointer_constraints_v1_t::on_lock_pointer
std::function< void(zwp_locked_pointer_v1_t, surface_t, pointer_t, region_t, zwp_pointer_constraints_v1_lifetime)> & on_lock_pointer()
lock pointer to a position
Definition wayland-server-protocol-unstable.cpp:5376
wayland::server::zwp_pointer_gesture_hold_v1_t
a hold gesture object
Definition wayland-server-protocol-unstable.hpp:3434
wayland::server::zwp_pointer_gesture_hold_v1_t::can_end
bool can_end() const
Check whether the end function is available with the currently bound version of the protocol.
Definition wayland-server-protocol-unstable.cpp:5742
wayland::server::zwp_pointer_gesture_hold_v1_t::end_since_version
static constexpr std::uint32_t end_since_version
Minimum protocol version required for the end function.
Definition wayland-server-protocol-unstable.hpp:3504
wayland::server::zwp_pointer_gesture_hold_v1_t::end
void end(uint32_t serial, uint32_t time, int32_t cancelled, bool post=true)
multi-finger hold end
Definition wayland-server-protocol-unstable.cpp:5737
wayland::server::zwp_pointer_gesture_hold_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the hold gesture object
Definition wayland-server-protocol-unstable.cpp:5721
wayland::server::zwp_pointer_gesture_hold_v1_t::begin
void begin(uint32_t serial, uint32_t time, surface_t const &surface, uint32_t fingers, bool post=true)
multi-finger hold begin
Definition wayland-server-protocol-unstable.cpp:5727
wayland::server::zwp_pointer_gesture_hold_v1_t::can_begin
bool can_begin() const
Check whether the begin function is available with the currently bound version of the protocol.
Definition wayland-server-protocol-unstable.cpp:5732
wayland::server::zwp_pointer_gesture_hold_v1_t::begin_since_version
static constexpr std::uint32_t begin_since_version
Minimum protocol version required for the begin function.
Definition wayland-server-protocol-unstable.hpp:3477
wayland::server::zwp_pointer_gesture_pinch_v1_t
a pinch gesture object
Definition wayland-server-protocol-unstable.hpp:3314
wayland::server::zwp_pointer_gesture_pinch_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the pinch gesture object
Definition wayland-server-protocol-unstable.cpp:5669
wayland::server::zwp_pointer_gesture_pinch_v1_t::begin
void begin(uint32_t serial, uint32_t time, surface_t const &surface, uint32_t fingers, bool post=true)
multi-finger pinch begin
Definition wayland-server-protocol-unstable.cpp:5675
wayland::server::zwp_pointer_gesture_pinch_v1_t::end
void end(uint32_t serial, uint32_t time, int32_t cancelled, bool post=true)
multi-finger pinch end
Definition wayland-server-protocol-unstable.cpp:5685
wayland::server::zwp_pointer_gesture_pinch_v1_t::update
void update(uint32_t time, double dx, double dy, double scale, double rotation, bool post=true)
multi-finger pinch motion
Definition wayland-server-protocol-unstable.cpp:5680
wayland::server::zwp_pointer_gesture_swipe_v1_t
a swipe gesture object
Definition wayland-server-protocol-unstable.hpp:3205
wayland::server::zwp_pointer_gesture_swipe_v1_t::end
void end(uint32_t serial, uint32_t time, int32_t cancelled, bool post=true)
multi-finger swipe end
Definition wayland-server-protocol-unstable.cpp:5633
wayland::server::zwp_pointer_gesture_swipe_v1_t::update
void update(uint32_t time, double dx, double dy, bool post=true)
multi-finger swipe motion
Definition wayland-server-protocol-unstable.cpp:5628
wayland::server::zwp_pointer_gesture_swipe_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the pointer swipe gesture object
Definition wayland-server-protocol-unstable.cpp:5617
wayland::server::zwp_pointer_gesture_swipe_v1_t::begin
void begin(uint32_t serial, uint32_t time, surface_t const &surface, uint32_t fingers, bool post=true)
multi-finger swipe begin
Definition wayland-server-protocol-unstable.cpp:5623
wayland::server::zwp_pointer_gestures_v1_t::on_get_swipe_gesture
std::function< void(zwp_pointer_gesture_swipe_v1_t, pointer_t)> & on_get_swipe_gesture()
get swipe gesture
Definition wayland-server-protocol-unstable.cpp:5553
wayland::server::zwp_pointer_gestures_v1_t::on_get_hold_gesture
std::function< void(zwp_pointer_gesture_hold_v1_t, pointer_t)> & on_get_hold_gesture()
get hold gesture
Definition wayland-server-protocol-unstable.cpp:5571
wayland::server::zwp_pointer_gestures_v1_t::on_get_pinch_gesture
std::function< void(zwp_pointer_gesture_pinch_v1_t, pointer_t)> & on_get_pinch_gesture()
get pinch gesture
Definition wayland-server-protocol-unstable.cpp:5559
wayland::server::zwp_pointer_gestures_v1_t::on_release
std::function< void()> & on_release()
destroy the pointer gesture object
Definition wayland-server-protocol-unstable.cpp:5565
wayland::server::zwp_primary_selection_device_manager_v1_t::on_create_source
std::function< void(zwp_primary_selection_source_v1_t)> & on_create_source()
create a new primary selection source
Definition wayland-server-protocol-unstable.cpp:5778
wayland::server::zwp_primary_selection_device_manager_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the primary selection device manager
Definition wayland-server-protocol-unstable.cpp:5790
wayland::server::zwp_primary_selection_device_manager_v1_t::on_get_device
std::function< void(zwp_primary_selection_device_v1_t, seat_t)> & on_get_device()
create a new primary selection device
Definition wayland-server-protocol-unstable.cpp:5784
wayland::server::zwp_primary_selection_offer_v1_t::offer
void offer(std::string const &mime_type, bool post=true)
advertise offered mime type
Definition wayland-server-protocol-unstable.cpp:5901
wayland::server::zwp_primary_selection_offer_v1_t::on_receive
std::function< void(std::string, int)> & on_receive()
request that the data is transferred
Definition wayland-server-protocol-unstable.cpp:5889
wayland::server::zwp_primary_selection_offer_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the primary selection offer
Definition wayland-server-protocol-unstable.cpp:5895
wayland::server::zwp_primary_selection_source_v1_t
offer to replace the contents of the primary selection
Definition wayland-server-protocol-unstable.hpp:3758
wayland::server::zwp_primary_selection_source_v1_t::send
void send(std::string const &mime_type, int fd, bool post=true)
send the primary selection contents
Definition wayland-server-protocol-unstable.cpp:5952
wayland::server::zwp_primary_selection_source_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the primary selection source
Definition wayland-server-protocol-unstable.cpp:5946
wayland::server::zwp_primary_selection_source_v1_t::on_offer
std::function< void(std::string)> & on_offer()
add an offered mime type
Definition wayland-server-protocol-unstable.cpp:5940
wayland::server::zwp_primary_selection_source_v1_t::cancelled
void cancelled(bool post=true)
request for primary selection contents was canceled
Definition wayland-server-protocol-unstable.cpp:5957
wayland::server::zwp_relative_pointer_manager_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the relative pointer manager object
Definition wayland-server-protocol-unstable.cpp:5996
wayland::server::zwp_relative_pointer_manager_v1_t::on_get_relative_pointer
std::function< void(zwp_relative_pointer_v1_t, pointer_t)> & on_get_relative_pointer()
get a relative pointer object
Definition wayland-server-protocol-unstable.cpp:6002
wayland::server::zwp_relative_pointer_v1_t
relative pointer object
Definition wayland-server-protocol-unstable.hpp:3897
wayland::server::zwp_relative_pointer_v1_t::on_destroy
std::function< void()> & on_destroy()
release the relative pointer object
Definition wayland-server-protocol-unstable.cpp:6042
wayland::server::zwp_relative_pointer_v1_t::relative_motion
void relative_motion(uint32_t utime_hi, uint32_t utime_lo, double dx, double dy, double dx_unaccel, double dy_unaccel, bool post=true)
relative pointer motion
Definition wayland-server-protocol-unstable.cpp:6048
wayland::server::zwp_tablet_manager_v1_t::on_destroy
std::function< void()> & on_destroy()
release the memory for the tablet manager object
Definition wayland-server-protocol-unstable.cpp:6090
wayland::server::zwp_tablet_manager_v1_t::on_get_tablet_seat
std::function< void(zwp_tablet_seat_v1_t, seat_t)> & on_get_tablet_seat()
get the tablet seat
Definition wayland-server-protocol-unstable.cpp:6084
wayland::server::zwp_tablet_manager_v2_t::on_destroy
std::function< void()> & on_destroy()
release the memory for the tablet manager object
Definition wayland-server-protocol-unstable.cpp:6395
wayland::server::zwp_tablet_manager_v2_t::on_get_tablet_seat
std::function< void(zwp_tablet_seat_v2_t, seat_t)> & on_get_tablet_seat()
get the tablet seat
Definition wayland-server-protocol-unstable.cpp:6389
wayland::server::zwp_tablet_pad_group_v2_t::done
void done(bool post=true)
tablet group description events sequence complete
Definition wayland-server-protocol-unstable.cpp:6859
wayland::server::zwp_tablet_pad_group_v2_t::buttons
void buttons(array_t const &buttons, bool post=true)
buttons announced
Definition wayland-server-protocol-unstable.cpp:6839
wayland::server::zwp_tablet_pad_group_v2_t::on_destroy
std::function< void()> & on_destroy()
destroy the pad object
Definition wayland-server-protocol-unstable.cpp:6833
wayland::server::zwp_tablet_pad_group_v2_t::mode_switch
void mode_switch(uint32_t time, uint32_t serial, uint32_t mode, bool post=true)
mode switch event
Definition wayland-server-protocol-unstable.cpp:6864
wayland::server::zwp_tablet_pad_group_v2_t::ring
void ring(bool post=true)
ring announced
Definition wayland-server-protocol-unstable.cpp:6844
wayland::server::zwp_tablet_pad_group_v2_t::strip
void strip(bool post=true)
strip announced
Definition wayland-server-protocol-unstable.cpp:6849
wayland::server::zwp_tablet_pad_group_v2_t::modes
void modes(uint32_t modes, bool post=true)
mode-switch ability announced
Definition wayland-server-protocol-unstable.cpp:6854
wayland::server::zwp_tablet_pad_ring_v2_t::angle
void angle(double degrees, bool post=true)
angle changed
Definition wayland-server-protocol-unstable.cpp:6716
wayland::server::zwp_tablet_pad_ring_v2_t::on_destroy
std::function< void()> & on_destroy()
destroy the ring object
Definition wayland-server-protocol-unstable.cpp:6705
wayland::server::zwp_tablet_pad_ring_v2_t::on_set_feedback
std::function< void(std::string, uint32_t)> & on_set_feedback()
set compositor feedback
Definition wayland-server-protocol-unstable.cpp:6699
wayland::server::zwp_tablet_pad_ring_v2_t::source
void source(zwp_tablet_pad_ring_v2_source const &source, bool post=true)
ring event source
Definition wayland-server-protocol-unstable.cpp:6711
wayland::server::zwp_tablet_pad_ring_v2_t::stop
void stop(bool post=true)
interaction stopped
Definition wayland-server-protocol-unstable.cpp:6721
wayland::server::zwp_tablet_pad_ring_v2_t::frame
void frame(uint32_t time, bool post=true)
end of a ring event sequence
Definition wayland-server-protocol-unstable.cpp:6726
wayland::server::zwp_tablet_pad_strip_v2_t::frame
void frame(uint32_t time, bool post=true)
end of a strip event sequence
Definition wayland-server-protocol-unstable.cpp:6793
wayland::server::zwp_tablet_pad_strip_v2_t::position
void position(uint32_t position, bool post=true)
position changed
Definition wayland-server-protocol-unstable.cpp:6783
wayland::server::zwp_tablet_pad_strip_v2_t::on_destroy
std::function< void()> & on_destroy()
destroy the strip object
Definition wayland-server-protocol-unstable.cpp:6772
wayland::server::zwp_tablet_pad_strip_v2_t::on_set_feedback
std::function< void(std::string, uint32_t)> & on_set_feedback()
set compositor feedback
Definition wayland-server-protocol-unstable.cpp:6766
wayland::server::zwp_tablet_pad_strip_v2_t::source
void source(zwp_tablet_pad_strip_v2_source const &source, bool post=true)
strip event source
Definition wayland-server-protocol-unstable.cpp:6778
wayland::server::zwp_tablet_pad_strip_v2_t::stop
void stop(bool post=true)
interaction stopped
Definition wayland-server-protocol-unstable.cpp:6788
wayland::server::zwp_tablet_pad_v2_t::on_set_feedback
std::function< void(uint32_t, std::string, uint32_t)> & on_set_feedback()
set compositor feedback
Definition wayland-server-protocol-unstable.cpp:6900
wayland::server::zwp_tablet_pad_v2_t::leave
void leave(uint32_t serial, surface_t const &surface, bool post=true)
enter event
Definition wayland-server-protocol-unstable.cpp:6942
wayland::server::zwp_tablet_pad_v2_t::path
void path(std::string const &path, bool post=true)
path to the device
Definition wayland-server-protocol-unstable.cpp:6917
wayland::server::zwp_tablet_pad_v2_t::on_destroy
std::function< void()> & on_destroy()
destroy the pad object
Definition wayland-server-protocol-unstable.cpp:6906
wayland::server::zwp_tablet_pad_v2_t::button
void button(uint32_t time, uint32_t button, zwp_tablet_pad_v2_button_state const &state, bool post=true)
physical button state
Definition wayland-server-protocol-unstable.cpp:6932
wayland::server::zwp_tablet_pad_v2_t::removed
void removed(bool post=true)
pad removed event
Definition wayland-server-protocol-unstable.cpp:6947
wayland::server::zwp_tablet_pad_v2_t::done
void done(bool post=true)
pad description event sequence complete
Definition wayland-server-protocol-unstable.cpp:6927
wayland::server::zwp_tablet_pad_v2_t::group
void group(bool post=true)
group announced
Definition wayland-server-protocol-unstable.cpp:6912
wayland::server::zwp_tablet_pad_v2_t::buttons
void buttons(uint32_t buttons, bool post=true)
buttons announced
Definition wayland-server-protocol-unstable.cpp:6922
wayland::server::zwp_tablet_pad_v2_t::enter
void enter(uint32_t serial, zwp_tablet_v2_t const &tablet, surface_t const &surface, bool post=true)
enter event
Definition wayland-server-protocol-unstable.cpp:6937
wayland::server::zwp_tablet_seat_v1_t
controller object for graphic tablet devices of a seat
Definition wayland-server-protocol-unstable.hpp:4043
wayland::server::zwp_tablet_seat_v1_t::tablet_added
void tablet_added(bool post=true)
new device notification
Definition wayland-server-protocol-unstable.cpp:6136
wayland::server::zwp_tablet_seat_v1_t::tool_added
void tool_added(bool post=true)
a new tool has been used with a tablet
Definition wayland-server-protocol-unstable.cpp:6141
wayland::server::zwp_tablet_seat_v1_t::on_destroy
std::function< void()> & on_destroy()
release the memory for the tablet seat object
Definition wayland-server-protocol-unstable.cpp:6130
wayland::server::zwp_tablet_seat_v2_t
controller object for graphic tablet devices of a seat
Definition wayland-server-protocol-unstable.hpp:4857
wayland::server::zwp_tablet_seat_v2_t::on_destroy
std::function< void()> & on_destroy()
release the memory for the tablet seat object
Definition wayland-server-protocol-unstable.cpp:6435
wayland::server::zwp_tablet_seat_v2_t::tablet_added
void tablet_added(bool post=true)
new device notification
Definition wayland-server-protocol-unstable.cpp:6441
wayland::server::zwp_tablet_seat_v2_t::pad_added
void pad_added(bool post=true)
new pad notification
Definition wayland-server-protocol-unstable.cpp:6451
wayland::server::zwp_tablet_seat_v2_t::tool_added
void tool_added(bool post=true)
a new tool has been used with a tablet
Definition wayland-server-protocol-unstable.cpp:6446
wayland::server::zwp_tablet_tool_v1_t::slider
void slider(int32_t position, bool post=true)
Slider position change event.
Definition wayland-server-protocol-unstable.cpp:6264
wayland::server::zwp_tablet_tool_v1_t::post_role
void post_role(std::string const &msg)
Post error: given wl_surface has another role.
Definition wayland-server-protocol-unstable.cpp:6284
wayland::server::zwp_tablet_tool_v1_t::hardware_id_wacom
void hardware_id_wacom(uint32_t hardware_id_hi, uint32_t hardware_id_lo, bool post=true)
hardware id notification in Wacom's format
Definition wayland-server-protocol-unstable.cpp:6199
wayland::server::zwp_tablet_tool_v1_t::done
void done(bool post=true)
tool description events sequence complete
Definition wayland-server-protocol-unstable.cpp:6209
wayland::server::zwp_tablet_tool_v1_t::button
void button(uint32_t serial, uint32_t button, zwp_tablet_tool_v1_button_state const &state, bool post=true)
button event
Definition wayland-server-protocol-unstable.cpp:6274
wayland::server::zwp_tablet_tool_v1_t::removed
void removed(bool post=true)
tool removed
Definition wayland-server-protocol-unstable.cpp:6214
wayland::server::zwp_tablet_tool_v1_t::up
void up(bool post=true)
tablet tool is no longer making contact
Definition wayland-server-protocol-unstable.cpp:6234
wayland::server::zwp_tablet_tool_v1_t::rotation
void rotation(int32_t degrees, bool post=true)
z-rotation change event
Definition wayland-server-protocol-unstable.cpp:6259
wayland::server::zwp_tablet_tool_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the tool object
Definition wayland-server-protocol-unstable.cpp:6183
wayland::server::zwp_tablet_tool_v1_t::on_set_cursor
std::function< void(uint32_t, surface_t, int32_t, int32_t)> & on_set_cursor()
set the tablet tool's surface
Definition wayland-server-protocol-unstable.cpp:6177
wayland::server::zwp_tablet_tool_v1_t::down
void down(uint32_t serial, bool post=true)
tablet tool is making contact
Definition wayland-server-protocol-unstable.cpp:6229
wayland::server::zwp_tablet_tool_v1_t::distance
void distance(uint32_t distance, bool post=true)
distance change event
Definition wayland-server-protocol-unstable.cpp:6249
wayland::server::zwp_tablet_tool_v1_t::frame
void frame(uint32_t time, bool post=true)
frame event
Definition wayland-server-protocol-unstable.cpp:6279
wayland::server::zwp_tablet_tool_v1_t::tilt
void tilt(int32_t tilt_x, int32_t tilt_y, bool post=true)
tilt change event
Definition wayland-server-protocol-unstable.cpp:6254
wayland::server::zwp_tablet_tool_v1_t::proximity_out
void proximity_out(bool post=true)
proximity out event
Definition wayland-server-protocol-unstable.cpp:6224
wayland::server::zwp_tablet_tool_v1_t::wheel
void wheel(int32_t degrees, int32_t clicks, bool post=true)
Wheel delta event.
Definition wayland-server-protocol-unstable.cpp:6269
wayland::server::zwp_tablet_tool_v1_t::pressure
void pressure(uint32_t pressure, bool post=true)
pressure change event
Definition wayland-server-protocol-unstable.cpp:6244
wayland::server::zwp_tablet_tool_v1_t::hardware_serial
void hardware_serial(uint32_t hardware_serial_hi, uint32_t hardware_serial_lo, bool post=true)
unique hardware serial number of the tool
Definition wayland-server-protocol-unstable.cpp:6194
wayland::server::zwp_tablet_tool_v1_t::motion
void motion(double x, double y, bool post=true)
motion event
Definition wayland-server-protocol-unstable.cpp:6239
wayland::server::zwp_tablet_tool_v1_t::proximity_in
void proximity_in(uint32_t serial, zwp_tablet_v1_t const &tablet, surface_t const &surface, bool post=true)
proximity in event
Definition wayland-server-protocol-unstable.cpp:6219
wayland::server::zwp_tablet_tool_v1_t::capability
void capability(zwp_tablet_tool_v1_capability const &capability, bool post=true)
tool capability notification
Definition wayland-server-protocol-unstable.cpp:6204
wayland::server::zwp_tablet_tool_v2_t::tilt
void tilt(double tilt_x, double tilt_y, bool post=true)
tilt change event
Definition wayland-server-protocol-unstable.cpp:6564
wayland::server::zwp_tablet_tool_v2_t::done
void done(bool post=true)
tool description events sequence complete
Definition wayland-server-protocol-unstable.cpp:6519
wayland::server::zwp_tablet_tool_v2_t::removed
void removed(bool post=true)
tool removed
Definition wayland-server-protocol-unstable.cpp:6524
wayland::server::zwp_tablet_tool_v2_t::proximity_out
void proximity_out(bool post=true)
proximity out event
Definition wayland-server-protocol-unstable.cpp:6534
wayland::server::zwp_tablet_tool_v2_t::wheel
void wheel(double degrees, int32_t clicks, bool post=true)
Wheel delta event.
Definition wayland-server-protocol-unstable.cpp:6579
wayland::server::zwp_tablet_tool_v2_t::rotation
void rotation(double degrees, bool post=true)
z-rotation change event
Definition wayland-server-protocol-unstable.cpp:6569
wayland::server::zwp_tablet_tool_v2_t::capability
void capability(zwp_tablet_tool_v2_capability const &capability, bool post=true)
tool capability notification
Definition wayland-server-protocol-unstable.cpp:6514
wayland::server::zwp_tablet_tool_v2_t::hardware_serial
void hardware_serial(uint32_t hardware_serial_hi, uint32_t hardware_serial_lo, bool post=true)
unique hardware serial number of the tool
Definition wayland-server-protocol-unstable.cpp:6504
wayland::server::zwp_tablet_tool_v2_t::frame
void frame(uint32_t time, bool post=true)
frame event
Definition wayland-server-protocol-unstable.cpp:6589
wayland::server::zwp_tablet_tool_v2_t::on_set_cursor
std::function< void(uint32_t, surface_t, int32_t, int32_t)> & on_set_cursor()
set the tablet tool's surface
Definition wayland-server-protocol-unstable.cpp:6487
wayland::server::zwp_tablet_tool_v2_t::hardware_id_wacom
void hardware_id_wacom(uint32_t hardware_id_hi, uint32_t hardware_id_lo, bool post=true)
hardware id notification in Wacom's format
Definition wayland-server-protocol-unstable.cpp:6509
wayland::server::zwp_tablet_tool_v2_t::button
void button(uint32_t serial, uint32_t button, zwp_tablet_tool_v2_button_state const &state, bool post=true)
button event
Definition wayland-server-protocol-unstable.cpp:6584
wayland::server::zwp_tablet_tool_v2_t::on_destroy
std::function< void()> & on_destroy()
destroy the tool object
Definition wayland-server-protocol-unstable.cpp:6493
wayland::server::zwp_tablet_tool_v2_t::motion
void motion(double x, double y, bool post=true)
motion event
Definition wayland-server-protocol-unstable.cpp:6549
wayland::server::zwp_tablet_tool_v2_t::post_role
void post_role(std::string const &msg)
Post error: given wl_surface has another role.
Definition wayland-server-protocol-unstable.cpp:6594
wayland::server::zwp_tablet_tool_v2_t::pressure
void pressure(uint32_t pressure, bool post=true)
pressure change event
Definition wayland-server-protocol-unstable.cpp:6554
wayland::server::zwp_tablet_tool_v2_t::up
void up(bool post=true)
tablet tool is no longer making contact
Definition wayland-server-protocol-unstable.cpp:6544
wayland::server::zwp_tablet_tool_v2_t::distance
void distance(uint32_t distance, bool post=true)
distance change event
Definition wayland-server-protocol-unstable.cpp:6559
wayland::server::zwp_tablet_tool_v2_t::down
void down(uint32_t serial, bool post=true)
tablet tool is making contact
Definition wayland-server-protocol-unstable.cpp:6539
wayland::server::zwp_tablet_tool_v2_t::slider
void slider(int32_t position, bool post=true)
Slider position change event.
Definition wayland-server-protocol-unstable.cpp:6574
wayland::server::zwp_tablet_tool_v2_t::proximity_in
void proximity_in(uint32_t serial, zwp_tablet_v2_t const &tablet, surface_t const &surface, bool post=true)
proximity in event
Definition wayland-server-protocol-unstable.cpp:6529
wayland::server::zwp_tablet_v1_t
graphics tablet device
Definition wayland-server-protocol-unstable.hpp:4674
wayland::server::zwp_tablet_v1_t::path
void path(std::string const &path, bool post=true)
path to the device
Definition wayland-server-protocol-unstable.cpp:6343
wayland::server::zwp_tablet_v1_t::name
void name(std::string const &name, bool post=true)
tablet device name
Definition wayland-server-protocol-unstable.cpp:6333
wayland::server::zwp_tablet_v1_t::id
void id(uint32_t vid, uint32_t pid, bool post=true)
tablet device USB vendor/product id
Definition wayland-server-protocol-unstable.cpp:6338
wayland::server::zwp_tablet_v1_t::removed
void removed(bool post=true)
tablet removed event
Definition wayland-server-protocol-unstable.cpp:6353
wayland::server::zwp_tablet_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the tablet object
Definition wayland-server-protocol-unstable.cpp:6327
wayland::server::zwp_tablet_v1_t::done
void done(bool post=true)
tablet description events sequence complete
Definition wayland-server-protocol-unstable.cpp:6348
wayland::server::zwp_tablet_v2_t
graphics tablet device
Definition wayland-server-protocol-unstable.hpp:5507
wayland::server::zwp_tablet_v2_t::removed
void removed(bool post=true)
tablet removed event
Definition wayland-server-protocol-unstable.cpp:6663
wayland::server::zwp_tablet_v2_t::id
void id(uint32_t vid, uint32_t pid, bool post=true)
tablet device USB vendor/product id
Definition wayland-server-protocol-unstable.cpp:6648
wayland::server::zwp_tablet_v2_t::path
void path(std::string const &path, bool post=true)
path to the device
Definition wayland-server-protocol-unstable.cpp:6653
wayland::server::zwp_tablet_v2_t::done
void done(bool post=true)
tablet description events sequence complete
Definition wayland-server-protocol-unstable.cpp:6658
wayland::server::zwp_tablet_v2_t::name
void name(std::string const &name, bool post=true)
tablet device name
Definition wayland-server-protocol-unstable.cpp:6643
wayland::server::zwp_tablet_v2_t::on_destroy
std::function< void()> & on_destroy()
destroy the tablet object
Definition wayland-server-protocol-unstable.cpp:6637
wayland::server::zwp_text_input_manager_v1_t::on_create_text_input
std::function< void(zwp_text_input_v1_t)> & on_create_text_input()
create text input
Definition wayland-server-protocol-unstable.cpp:7196
wayland::server::zwp_text_input_manager_v3_t::on_destroy
std::function< void()> & on_destroy()
Destroy the wp_text_input_manager.
Definition wayland-server-protocol-unstable.cpp:7377
wayland::server::zwp_text_input_manager_v3_t::on_get_text_input
std::function< void(zwp_text_input_v3_t, seat_t)> & on_get_text_input()
create a new text input object
Definition wayland-server-protocol-unstable.cpp:7383
wayland::server::zwp_text_input_v1_t
text input
Definition wayland-server-protocol-unstable.hpp:6434
wayland::server::zwp_text_input_v1_t::input_panel_state
void input_panel_state(uint32_t state, bool post=true)
state of the input panel
Definition wayland-server-protocol-unstable.cpp:7068
wayland::server::zwp_text_input_v1_t::on_set_cursor_rectangle
std::function< void(int32_t, int32_t, int32_t, int32_t)> & on_set_cursor_rectangle()
Definition wayland-server-protocol-unstable.cpp:7029
wayland::server::zwp_text_input_v1_t::language
void language(uint32_t serial, std::string const &language, bool post=true)
language
Definition wayland-server-protocol-unstable.cpp:7108
wayland::server::zwp_text_input_v1_t::preedit_styling
void preedit_styling(uint32_t index, uint32_t length, zwp_text_input_v1_preedit_style const &style, bool post=true)
pre-edit styling
Definition wayland-server-protocol-unstable.cpp:7078
wayland::server::zwp_text_input_v1_t::modifiers_map
void modifiers_map(array_t const &map, bool post=true)
modifiers map
Definition wayland-server-protocol-unstable.cpp:7063
wayland::server::zwp_text_input_v1_t::on_hide_input_panel
std::function< void()> & on_hide_input_panel()
hide input panels
Definition wayland-server-protocol-unstable.cpp:7005
wayland::server::zwp_text_input_v1_t::on_activate
std::function< void(seat_t, surface_t)> & on_activate()
request activation
Definition wayland-server-protocol-unstable.cpp:6987
wayland::server::zwp_text_input_v1_t::leave
void leave(bool post=true)
leave event
Definition wayland-server-protocol-unstable.cpp:7058
wayland::server::zwp_text_input_v1_t::on_deactivate
std::function< void(seat_t)> & on_deactivate()
request deactivation
Definition wayland-server-protocol-unstable.cpp:6993
wayland::server::zwp_text_input_v1_t::on_set_content_type
std::function< void(zwp_text_input_v1_content_hint, zwp_text_input_v1_content_purpose)> & on_set_content_type()
set content purpose and hint
Definition wayland-server-protocol-unstable.cpp:7023
wayland::server::zwp_text_input_v1_t::on_reset
std::function< void()> & on_reset()
reset
Definition wayland-server-protocol-unstable.cpp:7011
wayland::server::zwp_text_input_v1_t::keysym
void keysym(uint32_t serial, uint32_t time, uint32_t sym, keyboard_key_state const &state, uint32_t modifiers, bool post=true)
keysym
Definition wayland-server-protocol-unstable.cpp:7103
wayland::server::zwp_text_input_v1_t::cursor_position
void cursor_position(int32_t index, int32_t anchor, bool post=true)
set cursor to new position
Definition wayland-server-protocol-unstable.cpp:7093
wayland::server::zwp_text_input_v1_t::on_invoke_action
std::function< void(uint32_t, uint32_t)> & on_invoke_action()
Definition wayland-server-protocol-unstable.cpp:7047
wayland::server::zwp_text_input_v1_t::text_direction
void text_direction(uint32_t serial, zwp_text_input_v1_text_direction const &direction, bool post=true)
text direction
Definition wayland-server-protocol-unstable.cpp:7113
wayland::server::zwp_text_input_v1_t::on_commit_state
std::function< void(uint32_t)> & on_commit_state()
Definition wayland-server-protocol-unstable.cpp:7041
wayland::server::zwp_text_input_v1_t::preedit_string
void preedit_string(uint32_t serial, std::string const &text, std::string const &commit, bool post=true)
pre-edit
Definition wayland-server-protocol-unstable.cpp:7073
wayland::server::zwp_text_input_v1_t::preedit_cursor
void preedit_cursor(int32_t index, bool post=true)
pre-edit cursor
Definition wayland-server-protocol-unstable.cpp:7083
wayland::server::zwp_text_input_v1_t::delete_surrounding_text
void delete_surrounding_text(int32_t index, uint32_t length, bool post=true)
delete surrounding text
Definition wayland-server-protocol-unstable.cpp:7098
wayland::server::zwp_text_input_v1_t::on_set_preferred_language
std::function< void(std::string)> & on_set_preferred_language()
sets preferred language
Definition wayland-server-protocol-unstable.cpp:7035
wayland::server::zwp_text_input_v1_t::on_show_input_panel
std::function< void()> & on_show_input_panel()
show input panels
Definition wayland-server-protocol-unstable.cpp:6999
wayland::server::zwp_text_input_v1_t::on_set_surrounding_text
std::function< void(std::string, uint32_t, uint32_t)> & on_set_surrounding_text()
sets the surrounding text
Definition wayland-server-protocol-unstable.cpp:7017
wayland::server::zwp_text_input_v1_t::commit_string
void commit_string(uint32_t serial, std::string const &text, bool post=true)
commit
Definition wayland-server-protocol-unstable.cpp:7088
wayland::server::zwp_text_input_v1_t::enter
void enter(surface_t const &surface, bool post=true)
enter event
Definition wayland-server-protocol-unstable.cpp:7053
wayland::server::zwp_text_input_v3_t
text input
Definition wayland-server-protocol-unstable.hpp:6988
wayland::server::zwp_text_input_v3_t::enter
void enter(surface_t const &surface, bool post=true)
enter event
Definition wayland-server-protocol-unstable.cpp:7281
wayland::server::zwp_text_input_v3_t::on_destroy
std::function< void()> & on_destroy()
Destroy the wp_text_input.
Definition wayland-server-protocol-unstable.cpp:7233
wayland::server::zwp_text_input_v3_t::on_set_text_change_cause
std::function< void(zwp_text_input_v3_change_cause)> & on_set_text_change_cause()
indicates the cause of surrounding text change
Definition wayland-server-protocol-unstable.cpp:7257
wayland::server::zwp_text_input_v3_t::on_enable
std::function< void()> & on_enable()
Request text input to be enabled.
Definition wayland-server-protocol-unstable.cpp:7239
wayland::server::zwp_text_input_v3_t::on_set_surrounding_text
std::function< void(std::string, int32_t, int32_t)> & on_set_surrounding_text()
sets the surrounding text
Definition wayland-server-protocol-unstable.cpp:7251
wayland::server::zwp_text_input_v3_t::preedit_string
void preedit_string(std::string const &text, int32_t cursor_begin, int32_t cursor_end, bool post=true)
pre-edit
Definition wayland-server-protocol-unstable.cpp:7291
wayland::server::zwp_text_input_v3_t::on_commit
std::function< void()> & on_commit()
commit state
Definition wayland-server-protocol-unstable.cpp:7275
wayland::server::zwp_text_input_v3_t::commit_string
void commit_string(std::string const &text, bool post=true)
text commit
Definition wayland-server-protocol-unstable.cpp:7296
wayland::server::zwp_text_input_v3_t::done
void done(uint32_t serial, bool post=true)
apply changes
Definition wayland-server-protocol-unstable.cpp:7306
wayland::server::zwp_text_input_v3_t::on_set_content_type
std::function< void(zwp_text_input_v3_content_hint, zwp_text_input_v3_content_purpose)> & on_set_content_type()
set content purpose and hint
Definition wayland-server-protocol-unstable.cpp:7263
wayland::server::zwp_text_input_v3_t::delete_surrounding_text
void delete_surrounding_text(uint32_t before_length, uint32_t after_length, bool post=true)
delete surrounding text
Definition wayland-server-protocol-unstable.cpp:7301
wayland::server::zwp_text_input_v3_t::leave
void leave(surface_t const &surface, bool post=true)
leave event
Definition wayland-server-protocol-unstable.cpp:7286
wayland::server::zwp_text_input_v3_t::on_disable
std::function< void()> & on_disable()
Disable text input on a surface.
Definition wayland-server-protocol-unstable.cpp:7245
wayland::server::zwp_text_input_v3_t::on_set_cursor_rectangle
std::function< void(int32_t, int32_t, int32_t, int32_t)> & on_set_cursor_rectangle()
set cursor position
Definition wayland-server-protocol-unstable.cpp:7269
wayland::server::zwp_xwayland_keyboard_grab_manager_v1_t::on_grab_keyboard
std::function< void(zwp_xwayland_keyboard_grab_v1_t, surface_t, seat_t)> & on_grab_keyboard()
grab the keyboard to a surface
Definition wayland-server-protocol-unstable.cpp:8739
wayland::server::zwp_xwayland_keyboard_grab_manager_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the keyboard grab manager
Definition wayland-server-protocol-unstable.cpp:8733
wayland::server::zwp_xwayland_keyboard_grab_v1_t
interface for grabbing the keyboard
Definition wayland-server-protocol-unstable.hpp:10090
wayland::server::zwp_xwayland_keyboard_grab_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the grabbed keyboard object
Definition wayland-server-protocol-unstable.cpp:8779
wayland::server::zxdg_decoration_manager_v1_t::on_get_toplevel_decoration
std::function< void(zxdg_toplevel_decoration_v1_t, xdg_toplevel_t)> & on_get_toplevel_decoration()
create a new toplevel decoration object
Definition wayland-server-protocol-unstable.cpp:7568
wayland::server::zxdg_decoration_manager_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the decoration manager object
Definition wayland-server-protocol-unstable.cpp:7562
wayland::server::zxdg_exported_v1_t
an exported surface handle
Definition wayland-server-protocol-unstable.hpp:8075
wayland::server::zxdg_exported_v1_t::handle
void handle(std::string const &handle, bool post=true)
the exported surface handle
Definition wayland-server-protocol-unstable.cpp:7783
wayland::server::zxdg_exported_v1_t::on_destroy
std::function< void()> & on_destroy()
unexport the exported surface
Definition wayland-server-protocol-unstable.cpp:7777
wayland::server::zxdg_exported_v2_t
an exported surface handle
Definition wayland-server-protocol-unstable.hpp:8350
wayland::server::zxdg_exported_v2_t::on_destroy
std::function< void()> & on_destroy()
unexport the exported surface
Definition wayland-server-protocol-unstable.cpp:7968
wayland::server::zxdg_exported_v2_t::handle
void handle(std::string const &handle, bool post=true)
the exported surface handle
Definition wayland-server-protocol-unstable.cpp:7974
wayland::server::zxdg_exporter_v1_t::on_export
std::function< void(zxdg_exported_v1_t, surface_t)> & on_export()
export a surface
Definition wayland-server-protocol-unstable.cpp:7691
wayland::server::zxdg_exporter_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_exporter object
Definition wayland-server-protocol-unstable.cpp:7685
wayland::server::zxdg_exporter_v2_t::on_export_toplevel
std::function< void(zxdg_exported_v2_t, surface_t)> & on_export_toplevel()
export a toplevel surface
Definition wayland-server-protocol-unstable.cpp:7876
wayland::server::zxdg_exporter_v2_t::post_invalid_surface
void post_invalid_surface(std::string const &msg)
Post error: surface is not an xdg_toplevel.
Definition wayland-server-protocol-unstable.cpp:7882
wayland::server::zxdg_exporter_v2_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_exporter object
Definition wayland-server-protocol-unstable.cpp:7870
wayland::server::zxdg_imported_v1_t
an imported surface handle
Definition wayland-server-protocol-unstable.hpp:8137
wayland::server::zxdg_imported_v1_t::destroyed
void destroyed(bool post=true)
the imported surface handle has been destroyed
Definition wayland-server-protocol-unstable.cpp:7831
wayland::server::zxdg_imported_v1_t::on_set_parent_of
std::function< void(surface_t)> & on_set_parent_of()
set as the parent of some surface
Definition wayland-server-protocol-unstable.cpp:7825
wayland::server::zxdg_imported_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_imported object
Definition wayland-server-protocol-unstable.cpp:7819
wayland::server::zxdg_imported_v2_t
an imported surface handle
Definition wayland-server-protocol-unstable.hpp:8412
wayland::server::zxdg_imported_v2_t::post_invalid_surface
void post_invalid_surface(std::string const &msg)
Post error: surface is not an xdg_toplevel.
Definition wayland-server-protocol-unstable.cpp:8027
wayland::server::zxdg_imported_v2_t::destroyed
void destroyed(bool post=true)
the imported surface handle has been destroyed
Definition wayland-server-protocol-unstable.cpp:8022
wayland::server::zxdg_imported_v2_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_imported object
Definition wayland-server-protocol-unstable.cpp:8010
wayland::server::zxdg_imported_v2_t::on_set_parent_of
std::function< void(surface_t)> & on_set_parent_of()
set as the parent of some surface
Definition wayland-server-protocol-unstable.cpp:8016
wayland::server::zxdg_importer_v1_t::on_import
std::function< void(zxdg_imported_v1_t, std::string)> & on_import()
import a surface
Definition wayland-server-protocol-unstable.cpp:7737
wayland::server::zxdg_importer_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_importer object
Definition wayland-server-protocol-unstable.cpp:7731
wayland::server::zxdg_importer_v2_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_importer object
Definition wayland-server-protocol-unstable.cpp:7922
wayland::server::zxdg_importer_v2_t::on_import_toplevel
std::function< void(zxdg_imported_v2_t, std::string)> & on_import_toplevel()
import a toplevel surface
Definition wayland-server-protocol-unstable.cpp:7928
wayland::server::zxdg_output_manager_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_output_manager object
Definition wayland-server-protocol-unstable.cpp:8067
wayland::server::zxdg_output_manager_v1_t::on_get_xdg_output
std::function< void(zxdg_output_v1_t, output_t)> & on_get_xdg_output()
create an xdg output from a wl_output
Definition wayland-server-protocol-unstable.cpp:8073
wayland::server::zxdg_output_v1_t
compositor logical output region
Definition wayland-server-protocol-unstable.hpp:8564
wayland::server::zxdg_output_v1_t::can_name
bool can_name() const
Check whether the name function is available with the currently bound version of the protocol.
Definition wayland-server-protocol-unstable.cpp:8139
wayland::server::zxdg_output_v1_t::logical_position
void logical_position(int32_t x, int32_t y, bool post=true)
position of the output within the global compositor space
Definition wayland-server-protocol-unstable.cpp:8119
wayland::server::zxdg_output_v1_t::done
void done(bool post=true)
all information about the output have been sent
Definition wayland-server-protocol-unstable.cpp:8129
wayland::server::zxdg_output_v1_t::can_description
bool can_description() const
Check whether the description function is available with the currently bound version of the protocol.
Definition wayland-server-protocol-unstable.cpp:8149
wayland::server::zxdg_output_v1_t::name_since_version
static constexpr std::uint32_t name_since_version
Minimum protocol version required for the name function.
Definition wayland-server-protocol-unstable.hpp:8707
wayland::server::zxdg_output_v1_t::logical_size
void logical_size(int32_t width, int32_t height, bool post=true)
size of the output in the global compositor space
Definition wayland-server-protocol-unstable.cpp:8124
wayland::server::zxdg_output_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_output object
Definition wayland-server-protocol-unstable.cpp:8113
wayland::server::zxdg_output_v1_t::description_since_version
static constexpr std::uint32_t description_since_version
Minimum protocol version required for the description function.
Definition wayland-server-protocol-unstable.hpp:8738
wayland::server::zxdg_output_v1_t::name
void name(std::string const &name, bool post=true)
name of this output
Definition wayland-server-protocol-unstable.cpp:8134
wayland::server::zxdg_output_v1_t::description
void description(std::string const &description, bool post=true)
human-readable description of this output
Definition wayland-server-protocol-unstable.cpp:8144
wayland::server::zxdg_popup_v6_t
short-lived, popup surfaces for menus
Definition wayland-server-protocol-unstable.hpp:9874
wayland::server::zxdg_popup_v6_t::post_invalid_grab
void post_invalid_grab(std::string const &msg)
Post error: tried to grab after being mapped.
Definition wayland-server-protocol-unstable.cpp:8693
wayland::server::zxdg_popup_v6_t::popup_done
void popup_done(bool post=true)
popup interaction is done
Definition wayland-server-protocol-unstable.cpp:8688
wayland::server::zxdg_popup_v6_t::on_grab
std::function< void(seat_t, uint32_t)> & on_grab()
make the popup take an explicit grab
Definition wayland-server-protocol-unstable.cpp:8677
wayland::server::zxdg_popup_v6_t::on_destroy
std::function< void()> & on_destroy()
remove xdg_popup interface
Definition wayland-server-protocol-unstable.cpp:8671
wayland::server::zxdg_popup_v6_t::configure
void configure(int32_t x, int32_t y, int32_t width, int32_t height, bool post=true)
configure the popup surface
Definition wayland-server-protocol-unstable.cpp:8683
wayland::server::zxdg_positioner_v6_t
child surface positioner
Definition wayland-server-protocol-unstable.hpp:8930
wayland::server::zxdg_positioner_v6_t::on_set_anchor
std::function< void(zxdg_positioner_v6_anchor)> & on_set_anchor()
set anchor rectangle anchor edges
Definition wayland-server-protocol-unstable.cpp:8303
wayland::server::zxdg_positioner_v6_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_positioner object
Definition wayland-server-protocol-unstable.cpp:8285
wayland::server::zxdg_positioner_v6_t::on_set_offset
std::function< void(int32_t, int32_t)> & on_set_offset()
set surface position offset
Definition wayland-server-protocol-unstable.cpp:8321
wayland::server::zxdg_positioner_v6_t::on_set_constraint_adjustment
std::function< void(zxdg_positioner_v6_constraint_adjustment)> & on_set_constraint_adjustment()
set the adjustment to be done when constrained
Definition wayland-server-protocol-unstable.cpp:8315
wayland::server::zxdg_positioner_v6_t::on_set_gravity
std::function< void(zxdg_positioner_v6_gravity)> & on_set_gravity()
set child surface gravity
Definition wayland-server-protocol-unstable.cpp:8309
wayland::server::zxdg_positioner_v6_t::on_set_size
std::function< void(int32_t, int32_t)> & on_set_size()
set the size of the to-be positioned rectangle
Definition wayland-server-protocol-unstable.cpp:8291
wayland::server::zxdg_positioner_v6_t::post_invalid_input
void post_invalid_input(std::string const &msg)
Post error: invalid input provided.
Definition wayland-server-protocol-unstable.cpp:8327
wayland::server::zxdg_positioner_v6_t::on_set_anchor_rect
std::function< void(int32_t, int32_t, int32_t, int32_t)> & on_set_anchor_rect()
set the anchor rectangle within the parent surface
Definition wayland-server-protocol-unstable.cpp:8297
wayland::server::zxdg_shell_v6_t::post_invalid_surface_state
void post_invalid_surface_state(std::string const &msg)
Post error: the client provided an invalid surface state.
Definition wayland-server-protocol-unstable.cpp:8234
wayland::server::zxdg_shell_v6_t::post_invalid_positioner
void post_invalid_positioner(std::string const &msg)
Post error: the client provided an invalid positioner.
Definition wayland-server-protocol-unstable.cpp:8239
wayland::server::zxdg_shell_v6_t::ping
void ping(uint32_t serial, bool post=true)
check if the client is alive
Definition wayland-server-protocol-unstable.cpp:8209
wayland::server::zxdg_shell_v6_t::post_defunct_surfaces
void post_defunct_surfaces(std::string const &msg)
Post error: xdg_shell was destroyed before children.
Definition wayland-server-protocol-unstable.cpp:8219
wayland::server::zxdg_shell_v6_t::on_create_positioner
std::function< void(zxdg_positioner_v6_t)> & on_create_positioner()
create a positioner object
Definition wayland-server-protocol-unstable.cpp:8191
wayland::server::zxdg_shell_v6_t::on_pong
std::function< void(uint32_t)> & on_pong()
respond to a ping event
Definition wayland-server-protocol-unstable.cpp:8203
wayland::server::zxdg_shell_v6_t::post_role
void post_role(std::string const &msg)
Post error: given wl_surface has another role.
Definition wayland-server-protocol-unstable.cpp:8214
wayland::server::zxdg_shell_v6_t::on_get_xdg_surface
std::function< void(zxdg_surface_v6_t, surface_t)> & on_get_xdg_surface()
create a shell surface from a surface
Definition wayland-server-protocol-unstable.cpp:8197
wayland::server::zxdg_shell_v6_t::post_not_the_topmost_popup
void post_not_the_topmost_popup(std::string const &msg)
Post error: the client tried to map or destroy a non-topmost popup.
Definition wayland-server-protocol-unstable.cpp:8224
wayland::server::zxdg_shell_v6_t::post_invalid_popup_parent
void post_invalid_popup_parent(std::string const &msg)
Post error: the client specified an invalid popup parent surface.
Definition wayland-server-protocol-unstable.cpp:8229
wayland::server::zxdg_shell_v6_t::on_destroy
std::function< void()> & on_destroy()
destroy xdg_shell
Definition wayland-server-protocol-unstable.cpp:8185
wayland::server::zxdg_surface_v6_t
desktop user interface surface base interface
Definition wayland-server-protocol-unstable.hpp:9198
wayland::server::zxdg_surface_v6_t::on_ack_configure
std::function< void(uint32_t)> & on_ack_configure()
ack a configure event
Definition wayland-server-protocol-unstable.cpp:8426
wayland::server::zxdg_surface_v6_t::configure
void configure(uint32_t serial, bool post=true)
suggest a surface change
Definition wayland-server-protocol-unstable.cpp:8432
wayland::server::zxdg_surface_v6_t::on_get_toplevel
std::function< void(zxdg_toplevel_v6_t)> & on_get_toplevel()
assign the xdg_toplevel surface role
Definition wayland-server-protocol-unstable.cpp:8408
wayland::server::zxdg_surface_v6_t::on_get_popup
std::function< void(zxdg_popup_v6_t, zxdg_surface_v6_t, zxdg_positioner_v6_t)> & on_get_popup()
assign the xdg_popup surface role
Definition wayland-server-protocol-unstable.cpp:8414
wayland::server::zxdg_surface_v6_t::post_not_constructed
void post_not_constructed(std::string const &msg)
Post error:
Definition wayland-server-protocol-unstable.cpp:8437
wayland::server::zxdg_surface_v6_t::post_unconfigured_buffer
void post_unconfigured_buffer(std::string const &msg)
Post error:
Definition wayland-server-protocol-unstable.cpp:8447
wayland::server::zxdg_surface_v6_t::on_set_window_geometry
std::function< void(int32_t, int32_t, int32_t, int32_t)> & on_set_window_geometry()
set the new window geometry
Definition wayland-server-protocol-unstable.cpp:8420
wayland::server::zxdg_surface_v6_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_surface
Definition wayland-server-protocol-unstable.cpp:8402
wayland::server::zxdg_surface_v6_t::post_already_constructed
void post_already_constructed(std::string const &msg)
Post error:
Definition wayland-server-protocol-unstable.cpp:8442
wayland::server::zxdg_toplevel_decoration_v1_t
decoration object for a toplevel surface
Definition wayland-server-protocol-unstable.hpp:7813
wayland::server::zxdg_toplevel_decoration_v1_t::post_already_constructed
void post_already_constructed(std::string const &msg)
Post error: xdg_toplevel already has a decoration object.
Definition wayland-server-protocol-unstable.cpp:7636
wayland::server::zxdg_toplevel_decoration_v1_t::on_destroy
std::function< void()> & on_destroy()
destroy the decoration object
Definition wayland-server-protocol-unstable.cpp:7608
wayland::server::zxdg_toplevel_decoration_v1_t::on_unset_mode
std::function< void()> & on_unset_mode()
unset the decoration mode
Definition wayland-server-protocol-unstable.cpp:7620
wayland::server::zxdg_toplevel_decoration_v1_t::on_set_mode
std::function< void(zxdg_toplevel_decoration_v1_mode)> & on_set_mode()
set the decoration mode
Definition wayland-server-protocol-unstable.cpp:7614
wayland::server::zxdg_toplevel_decoration_v1_t::configure
void configure(zxdg_toplevel_decoration_v1_mode const &mode, bool post=true)
suggest a surface change
Definition wayland-server-protocol-unstable.cpp:7626
wayland::server::zxdg_toplevel_decoration_v1_t::post_unconfigured_buffer
void post_unconfigured_buffer(std::string const &msg)
Post error: xdg_toplevel has a buffer attached before configure.
Definition wayland-server-protocol-unstable.cpp:7631
wayland::server::zxdg_toplevel_decoration_v1_t::post_orphaned
void post_orphaned(std::string const &msg)
Post error: xdg_toplevel destroyed before the decoration object.
Definition wayland-server-protocol-unstable.cpp:7641
wayland::server::zxdg_toplevel_v6_t
toplevel surface
Definition wayland-server-protocol-unstable.hpp:9385
wayland::server::zxdg_toplevel_v6_t::on_set_title
std::function< void(std::string)> & on_set_title()
set surface title
Definition wayland-server-protocol-unstable.cpp:8508
wayland::server::zxdg_toplevel_v6_t::on_set_app_id
std::function< void(std::string)> & on_set_app_id()
set application ID
Definition wayland-server-protocol-unstable.cpp:8514
wayland::server::zxdg_toplevel_v6_t::on_set_fullscreen
std::function< void(output_t)> & on_set_fullscreen()
set the window as fullscreen on a monitor
Definition wayland-server-protocol-unstable.cpp:8562
wayland::server::zxdg_toplevel_v6_t::on_move
std::function< void(seat_t, uint32_t)> & on_move()
start an interactive move
Definition wayland-server-protocol-unstable.cpp:8526
wayland::server::zxdg_toplevel_v6_t::on_unset_maximized
std::function< void()> & on_unset_maximized()
unmaximize the window
Definition wayland-server-protocol-unstable.cpp:8556
wayland::server::zxdg_toplevel_v6_t::close
void close(bool post=true)
surface wants to be closed
Definition wayland-server-protocol-unstable.cpp:8585
wayland::server::zxdg_toplevel_v6_t::on_set_maximized
std::function< void()> & on_set_maximized()
maximize the window
Definition wayland-server-protocol-unstable.cpp:8550
wayland::server::zxdg_toplevel_v6_t::on_set_parent
std::function< void(zxdg_toplevel_v6_t)> & on_set_parent()
set the parent of this surface
Definition wayland-server-protocol-unstable.cpp:8502
wayland::server::zxdg_toplevel_v6_t::on_show_window_menu
std::function< void(seat_t, uint32_t, int32_t, int32_t)> & on_show_window_menu()
show the window menu
Definition wayland-server-protocol-unstable.cpp:8520
wayland::server::zxdg_toplevel_v6_t::on_set_min_size
std::function< void(int32_t, int32_t)> & on_set_min_size()
set the minimum size
Definition wayland-server-protocol-unstable.cpp:8544
wayland::server::zxdg_toplevel_v6_t::on_destroy
std::function< void()> & on_destroy()
destroy the xdg_toplevel
Definition wayland-server-protocol-unstable.cpp:8496
wayland::server::zxdg_toplevel_v6_t::on_set_minimized
std::function< void()> & on_set_minimized()
set the window as minimized
Definition wayland-server-protocol-unstable.cpp:8574
wayland::server::zxdg_toplevel_v6_t::on_resize
std::function< void(seat_t, uint32_t, zxdg_toplevel_v6_resize_edge)> & on_resize()
start an interactive resize
Definition wayland-server-protocol-unstable.cpp:8532
wayland::server::zxdg_toplevel_v6_t::on_set_max_size
std::function< void(int32_t, int32_t)> & on_set_max_size()
set the maximum size
Definition wayland-server-protocol-unstable.cpp:8538
wayland::server::zxdg_toplevel_v6_t::configure
void configure(int32_t width, int32_t height, array_t const &states, bool post=true)
suggest a surface change
Definition wayland-server-protocol-unstable.cpp:8580
wayland::zwp_primary_selection_offer_v1_t
offer to transfer primary selection contents
Definition wayland-client-protocol-unstable.hpp:3300
wayland::zwp_primary_selection_source_v1_t
offer to replace the contents of the primary selection
Definition wayland-client-protocol-unstable.hpp:3365
wayland::server::zwp_text_input_v1_content_hint
content hint
Definition wayland-server-protocol-unstable.hpp:6810
wayland::server::zwp_text_input_v1_content_hint::latin
static const wayland::detail::bitfield< 10, 23 > latin
just latin characters should be entered
Definition wayland-server-protocol-unstable.hpp:6838
wayland::server::zwp_text_input_v1_content_hint::lowercase
static const wayland::detail::bitfield< 10, 23 > lowercase
prefer lowercase letters
Definition wayland-server-protocol-unstable.hpp:6828
wayland::server::zwp_text_input_v1_content_hint::hidden_text
static const wayland::detail::bitfield< 10, 23 > hidden_text
characters should be hidden
Definition wayland-server-protocol-unstable.hpp:6834
wayland::server::zwp_text_input_v1_content_hint::multiline
static const wayland::detail::bitfield< 10, 23 > multiline
the text input is multiline
Definition wayland-server-protocol-unstable.hpp:6840
wayland::server::zwp_text_input_v1_content_hint::auto_completion
static const wayland::detail::bitfield< 10, 23 > auto_completion
suggest word completions
Definition wayland-server-protocol-unstable.hpp:6822
wayland::server::zwp_text_input_v1_content_hint::auto_correction
static const wayland::detail::bitfield< 10, 23 > auto_correction
suggest word corrections
Definition wayland-server-protocol-unstable.hpp:6824
wayland::server::zwp_text_input_v1_content_hint::_default
static const wayland::detail::bitfield< 10, 23 > _default
auto completion, correction and capitalization
Definition wayland-server-protocol-unstable.hpp:6818
wayland::server::zwp_text_input_v1_content_hint::none
static const wayland::detail::bitfield< 10, 23 > none
no special behaviour
Definition wayland-server-protocol-unstable.hpp:6816
wayland::server::zwp_text_input_v1_content_hint::uppercase
static const wayland::detail::bitfield< 10, 23 > uppercase
prefer uppercase letters
Definition wayland-server-protocol-unstable.hpp:6830
wayland::server::zwp_text_input_v1_content_hint::titlecase
static const wayland::detail::bitfield< 10, 23 > titlecase
prefer casing for titles and headings (can be language dependent)
Definition wayland-server-protocol-unstable.hpp:6832
wayland::server::zwp_text_input_v1_content_hint::sensitive_data
static const wayland::detail::bitfield< 10, 23 > sensitive_data
typed text should not be stored
Definition wayland-server-protocol-unstable.hpp:6836
wayland::server::zwp_text_input_v1_content_hint::password
static const wayland::detail::bitfield< 10, 23 > password
hidden and sensitive text
Definition wayland-server-protocol-unstable.hpp:6820
wayland::server::zwp_text_input_v1_content_hint::auto_capitalization
static const wayland::detail::bitfield< 10, 23 > auto_capitalization
switch to uppercase letters at the start of a sentence
Definition wayland-server-protocol-unstable.hpp:6826
wayland::server::zwp_text_input_v3_content_hint
content hint
Definition wayland-server-protocol-unstable.hpp:7384
wayland::server::zwp_text_input_v3_content_hint::lowercase
static const wayland::detail::bitfield< 10, 28 > lowercase
prefer lowercase letters
Definition wayland-server-protocol-unstable.hpp:7398
wayland::server::zwp_text_input_v3_content_hint::latin
static const wayland::detail::bitfield< 10, 28 > latin
just Latin characters should be entered
Definition wayland-server-protocol-unstable.hpp:7408
wayland::server::zwp_text_input_v3_content_hint::spellcheck
static const wayland::detail::bitfield< 10, 28 > spellcheck
suggest word corrections
Definition wayland-server-protocol-unstable.hpp:7394
wayland::server::zwp_text_input_v3_content_hint::titlecase
static const wayland::detail::bitfield< 10, 28 > titlecase
prefer casing for titles and headings (can be language dependent)
Definition wayland-server-protocol-unstable.hpp:7402
wayland::server::zwp_text_input_v3_content_hint::uppercase
static const wayland::detail::bitfield< 10, 28 > uppercase
prefer uppercase letters
Definition wayland-server-protocol-unstable.hpp:7400
wayland::server::zwp_text_input_v3_content_hint::completion
static const wayland::detail::bitfield< 10, 28 > completion
suggest word completions
Definition wayland-server-protocol-unstable.hpp:7392
wayland::server::zwp_text_input_v3_content_hint::auto_capitalization
static const wayland::detail::bitfield< 10, 28 > auto_capitalization
switch to uppercase letters at the start of a sentence
Definition wayland-server-protocol-unstable.hpp:7396
wayland::server::zwp_text_input_v3_content_hint::multiline
static const wayland::detail::bitfield< 10, 28 > multiline
the text input is multiline
Definition wayland-server-protocol-unstable.hpp:7410
wayland::server::zwp_text_input_v3_content_hint::sensitive_data
static const wayland::detail::bitfield< 10, 28 > sensitive_data
typed text should not be stored
Definition wayland-server-protocol-unstable.hpp:7406
wayland::server::zwp_text_input_v3_content_hint::hidden_text
static const wayland::detail::bitfield< 10, 28 > hidden_text
characters should be hidden
Definition wayland-server-protocol-unstable.hpp:7404
wayland::server::zwp_text_input_v3_content_hint::none
static const wayland::detail::bitfield< 10, 28 > none
no special behavior
Definition wayland-server-protocol-unstable.hpp:7390
wayland::server::zxdg_positioner_v6_constraint_adjustment
constraint adjustments
Definition wayland-server-protocol-unstable.hpp:9148
wayland::server::zxdg_toplevel_v6_resize_edge
edge values for resizing
Definition wayland-server-protocol-unstable.hpp:9796