10 #include <wayland-client-protocol-extra.hpp>
12 struct zwp_fullscreen_shell_v1;
13 struct zwp_fullscreen_shell_mode_feedback_v1;
14 struct zwp_idle_inhibit_manager_v1;
15 struct zwp_idle_inhibitor_v1;
16 struct zwp_input_method_context_v1;
17 struct zwp_input_method_v1;
18 struct zwp_input_panel_v1;
19 struct zwp_input_panel_surface_v1;
20 struct zwp_input_timestamps_manager_v1;
21 struct zwp_input_timestamps_v1;
22 struct zwp_keyboard_shortcuts_inhibit_manager_v1;
23 struct zwp_keyboard_shortcuts_inhibitor_v1;
24 struct zwp_linux_dmabuf_v1;
25 struct zwp_linux_buffer_params_v1;
26 struct zwp_linux_explicit_synchronization_v1;
27 struct zwp_linux_surface_synchronization_v1;
28 struct zwp_linux_buffer_release_v1;
29 struct zwp_pointer_constraints_v1;
30 struct zwp_locked_pointer_v1;
31 struct zwp_confined_pointer_v1;
32 struct zwp_pointer_gestures_v1;
33 struct zwp_pointer_gesture_swipe_v1;
34 struct zwp_pointer_gesture_pinch_v1;
35 struct zwp_primary_selection_device_manager_v1;
36 struct zwp_primary_selection_device_v1;
37 struct zwp_primary_selection_offer_v1;
38 struct zwp_primary_selection_source_v1;
39 struct zwp_relative_pointer_manager_v1;
40 struct zwp_relative_pointer_v1;
41 struct zwp_tablet_manager_v1;
42 struct zwp_tablet_seat_v1;
43 struct zwp_tablet_tool_v1;
45 struct zwp_tablet_manager_v2;
46 struct zwp_tablet_seat_v2;
47 struct zwp_tablet_tool_v2;
49 struct zwp_tablet_pad_ring_v2;
50 struct zwp_tablet_pad_strip_v2;
51 struct zwp_tablet_pad_group_v2;
52 struct zwp_tablet_pad_v2;
53 struct zwp_text_input_v1;
54 struct zwp_text_input_manager_v1;
55 struct zwp_text_input_v3;
56 struct zwp_text_input_manager_v3;
57 struct zxdg_decoration_manager_v1;
58 struct zxdg_toplevel_decoration_v1;
59 struct zxdg_exporter_v1;
60 struct zxdg_importer_v1;
61 struct zxdg_exported_v1;
62 struct zxdg_imported_v1;
63 struct zxdg_exporter_v2;
64 struct zxdg_importer_v2;
65 struct zxdg_exported_v2;
66 struct zxdg_imported_v2;
67 struct zxdg_output_manager_v1;
68 struct zxdg_output_v1;
70 struct zxdg_positioner_v6;
71 struct zxdg_surface_v6;
72 struct zxdg_toplevel_v6;
74 struct zwp_xwayland_keyboard_grab_manager_v1;
75 struct zwp_xwayland_keyboard_grab_v1;
79 class zwp_fullscreen_shell_v1_t;
80 enum class zwp_fullscreen_shell_v1_capability : uint32_t;
81 enum class zwp_fullscreen_shell_v1_present_method : uint32_t;
82 enum class zwp_fullscreen_shell_v1_error : uint32_t;
83 class zwp_fullscreen_shell_mode_feedback_v1_t;
84 class zwp_idle_inhibit_manager_v1_t;
85 class zwp_idle_inhibitor_v1_t;
86 class zwp_input_method_context_v1_t;
87 class zwp_input_method_v1_t;
88 class zwp_input_panel_v1_t;
89 class zwp_input_panel_surface_v1_t;
90 enum class zwp_input_panel_surface_v1_position : uint32_t;
91 class zwp_input_timestamps_manager_v1_t;
92 class zwp_input_timestamps_v1_t;
93 class zwp_keyboard_shortcuts_inhibit_manager_v1_t;
94 enum class zwp_keyboard_shortcuts_inhibit_manager_v1_error : uint32_t;
95 class zwp_keyboard_shortcuts_inhibitor_v1_t;
96 class zwp_linux_dmabuf_v1_t;
97 class zwp_linux_buffer_params_v1_t;
98 enum class zwp_linux_buffer_params_v1_error : uint32_t;
99 enum class zwp_linux_buffer_params_v1_flags : uint32_t;
100 class zwp_linux_explicit_synchronization_v1_t;
101 enum class zwp_linux_explicit_synchronization_v1_error : uint32_t;
102 class zwp_linux_surface_synchronization_v1_t;
103 enum class zwp_linux_surface_synchronization_v1_error : uint32_t;
104 class zwp_linux_buffer_release_v1_t;
105 class zwp_pointer_constraints_v1_t;
106 enum class zwp_pointer_constraints_v1_error : uint32_t;
107 enum class zwp_pointer_constraints_v1_lifetime : uint32_t;
108 class zwp_locked_pointer_v1_t;
109 class zwp_confined_pointer_v1_t;
110 class zwp_pointer_gestures_v1_t;
111 class zwp_pointer_gesture_swipe_v1_t;
112 class zwp_pointer_gesture_pinch_v1_t;
113 class zwp_primary_selection_device_manager_v1_t;
114 class zwp_primary_selection_device_v1_t;
115 class zwp_primary_selection_offer_v1_t;
116 class zwp_primary_selection_source_v1_t;
117 class zwp_relative_pointer_manager_v1_t;
118 class zwp_relative_pointer_v1_t;
119 class zwp_tablet_manager_v1_t;
120 class zwp_tablet_seat_v1_t;
121 class zwp_tablet_tool_v1_t;
122 enum class zwp_tablet_tool_v1_type : uint32_t;
123 enum class zwp_tablet_tool_v1_capability : uint32_t;
124 enum class zwp_tablet_tool_v1_button_state : uint32_t;
125 enum class zwp_tablet_tool_v1_error : uint32_t;
126 class zwp_tablet_v1_t;
127 class zwp_tablet_manager_v2_t;
128 class zwp_tablet_seat_v2_t;
129 class zwp_tablet_tool_v2_t;
130 enum class zwp_tablet_tool_v2_type : uint32_t;
131 enum class zwp_tablet_tool_v2_capability : uint32_t;
132 enum class zwp_tablet_tool_v2_button_state : uint32_t;
133 enum class zwp_tablet_tool_v2_error : uint32_t;
134 class zwp_tablet_v2_t;
135 class zwp_tablet_pad_ring_v2_t;
136 enum class zwp_tablet_pad_ring_v2_source : uint32_t;
137 class zwp_tablet_pad_strip_v2_t;
138 enum class zwp_tablet_pad_strip_v2_source : uint32_t;
139 class zwp_tablet_pad_group_v2_t;
140 class zwp_tablet_pad_v2_t;
141 enum class zwp_tablet_pad_v2_button_state : uint32_t;
142 class zwp_text_input_v1_t;
143 enum class zwp_text_input_v1_content_hint : uint32_t;
144 enum class zwp_text_input_v1_content_purpose : uint32_t;
145 enum class zwp_text_input_v1_preedit_style : uint32_t;
146 enum class zwp_text_input_v1_text_direction : uint32_t;
147 class zwp_text_input_manager_v1_t;
148 class zwp_text_input_v3_t;
149 enum class zwp_text_input_v3_change_cause : uint32_t;
150 struct zwp_text_input_v3_content_hint;
151 enum class zwp_text_input_v3_content_purpose : uint32_t;
152 class zwp_text_input_manager_v3_t;
153 class zxdg_decoration_manager_v1_t;
154 class zxdg_toplevel_decoration_v1_t;
155 enum class zxdg_toplevel_decoration_v1_error : uint32_t;
156 enum class zxdg_toplevel_decoration_v1_mode : uint32_t;
157 class zxdg_exporter_v1_t;
158 class zxdg_importer_v1_t;
159 class zxdg_exported_v1_t;
160 class zxdg_imported_v1_t;
161 class zxdg_exporter_v2_t;
162 class zxdg_importer_v2_t;
163 class zxdg_exported_v2_t;
164 class zxdg_imported_v2_t;
165 class zxdg_output_manager_v1_t;
166 class zxdg_output_v1_t;
167 class zxdg_shell_v6_t;
168 enum class zxdg_shell_v6_error : uint32_t;
169 class zxdg_positioner_v6_t;
170 enum class zxdg_positioner_v6_error : uint32_t;
171 struct zxdg_positioner_v6_anchor;
172 struct zxdg_positioner_v6_gravity;
173 struct zxdg_positioner_v6_constraint_adjustment;
174 class zxdg_surface_v6_t;
175 enum class zxdg_surface_v6_error : uint32_t;
176 class zxdg_toplevel_v6_t;
177 struct zxdg_toplevel_v6_resize_edge;
178 enum class zxdg_toplevel_v6_state : uint32_t;
179 class zxdg_popup_v6_t;
180 enum class zxdg_popup_v6_error : uint32_t;
181 class zwp_xwayland_keyboard_grab_manager_v1_t;
182 class zwp_xwayland_keyboard_grab_v1_t;
186 extern const wl_interface zwp_fullscreen_shell_v1_interface;
187 extern const wl_interface zwp_fullscreen_shell_mode_feedback_v1_interface;
188 extern const wl_interface zwp_idle_inhibit_manager_v1_interface;
189 extern const wl_interface zwp_idle_inhibitor_v1_interface;
190 extern const wl_interface zwp_input_method_context_v1_interface;
191 extern const wl_interface zwp_input_method_v1_interface;
192 extern const wl_interface zwp_input_panel_v1_interface;
193 extern const wl_interface zwp_input_panel_surface_v1_interface;
194 extern const wl_interface zwp_input_timestamps_manager_v1_interface;
195 extern const wl_interface zwp_input_timestamps_v1_interface;
196 extern const wl_interface zwp_keyboard_shortcuts_inhibit_manager_v1_interface;
197 extern const wl_interface zwp_keyboard_shortcuts_inhibitor_v1_interface;
198 extern const wl_interface zwp_linux_dmabuf_v1_interface;
199 extern const wl_interface zwp_linux_buffer_params_v1_interface;
200 extern const wl_interface zwp_linux_explicit_synchronization_v1_interface;
201 extern const wl_interface zwp_linux_surface_synchronization_v1_interface;
202 extern const wl_interface zwp_linux_buffer_release_v1_interface;
203 extern const wl_interface zwp_pointer_constraints_v1_interface;
204 extern const wl_interface zwp_locked_pointer_v1_interface;
205 extern const wl_interface zwp_confined_pointer_v1_interface;
206 extern const wl_interface zwp_pointer_gestures_v1_interface;
207 extern const wl_interface zwp_pointer_gesture_swipe_v1_interface;
208 extern const wl_interface zwp_pointer_gesture_pinch_v1_interface;
209 extern const wl_interface zwp_primary_selection_device_manager_v1_interface;
210 extern const wl_interface zwp_primary_selection_device_v1_interface;
211 extern const wl_interface zwp_primary_selection_offer_v1_interface;
212 extern const wl_interface zwp_primary_selection_source_v1_interface;
213 extern const wl_interface zwp_relative_pointer_manager_v1_interface;
214 extern const wl_interface zwp_relative_pointer_v1_interface;
215 extern const wl_interface zwp_tablet_manager_v1_interface;
216 extern const wl_interface zwp_tablet_seat_v1_interface;
217 extern const wl_interface zwp_tablet_tool_v1_interface;
218 extern const wl_interface zwp_tablet_v1_interface;
219 extern const wl_interface zwp_tablet_manager_v2_interface;
220 extern const wl_interface zwp_tablet_seat_v2_interface;
221 extern const wl_interface zwp_tablet_tool_v2_interface;
222 extern const wl_interface zwp_tablet_v2_interface;
223 extern const wl_interface zwp_tablet_pad_ring_v2_interface;
224 extern const wl_interface zwp_tablet_pad_strip_v2_interface;
225 extern const wl_interface zwp_tablet_pad_group_v2_interface;
226 extern const wl_interface zwp_tablet_pad_v2_interface;
227 extern const wl_interface zwp_text_input_v1_interface;
228 extern const wl_interface zwp_text_input_manager_v1_interface;
229 extern const wl_interface zwp_text_input_v3_interface;
230 extern const wl_interface zwp_text_input_manager_v3_interface;
231 extern const wl_interface zxdg_decoration_manager_v1_interface;
232 extern const wl_interface zxdg_toplevel_decoration_v1_interface;
233 extern const wl_interface zxdg_exporter_v1_interface;
234 extern const wl_interface zxdg_importer_v1_interface;
235 extern const wl_interface zxdg_exported_v1_interface;
236 extern const wl_interface zxdg_imported_v1_interface;
237 extern const wl_interface zxdg_exporter_v2_interface;
238 extern const wl_interface zxdg_importer_v2_interface;
239 extern const wl_interface zxdg_exported_v2_interface;
240 extern const wl_interface zxdg_imported_v2_interface;
241 extern const wl_interface zxdg_output_manager_v1_interface;
242 extern const wl_interface zxdg_output_v1_interface;
243 extern const wl_interface zxdg_shell_v6_interface;
244 extern const wl_interface zxdg_positioner_v6_interface;
245 extern const wl_interface zxdg_surface_v6_interface;
246 extern const wl_interface zxdg_toplevel_v6_interface;
247 extern const wl_interface zxdg_popup_v6_interface;
248 extern const wl_interface zwp_xwayland_keyboard_grab_manager_v1_interface;
249 extern const wl_interface zwp_xwayland_keyboard_grab_v1_interface;
292 struct events_t :
public detail::events_base_t
294 std::function<void(zwp_fullscreen_shell_v1_capability)> capability;
297 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
308 static const std::string interface_name;
310 operator zwp_fullscreen_shell_v1*()
const;
420 std::function<void(zwp_fullscreen_shell_v1_capability)> &
on_capability();
449 enum class zwp_fullscreen_shell_v1_capability : uint32_t
464 enum class zwp_fullscreen_shell_v1_present_method : uint32_t
483 enum class zwp_fullscreen_shell_v1_error : uint32_t
493 class zwp_fullscreen_shell_mode_feedback_v1_t :
public proxy_t
496 struct events_t :
public detail::events_base_t
498 std::function<void()> mode_successful;
499 std::function<void()> mode_failed;
500 std::function<void()> present_cancelled;
503 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
505 zwp_fullscreen_shell_mode_feedback_v1_t(proxy_t
const &wrapped_proxy, construct_proxy_wrapper_tag );
508 zwp_fullscreen_shell_mode_feedback_v1_t();
509 explicit zwp_fullscreen_shell_mode_feedback_v1_t(
const proxy_t &proxy);
510 zwp_fullscreen_shell_mode_feedback_v1_t(zwp_fullscreen_shell_mode_feedback_v1 *p, wrapper_type t =
wrapper_type::standard);
512 zwp_fullscreen_shell_mode_feedback_v1_t proxy_create_wrapper();
514 static const std::string interface_name;
516 operator zwp_fullscreen_shell_mode_feedback_v1*()
const;
528 std::function<void()> &on_mode_successful();
540 std::function<void()> &on_mode_failed();
552 std::function<void()> &on_present_cancelled();
576 struct events_t :
public detail::events_base_t
580 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
591 static const std::string interface_name;
593 operator zwp_idle_inhibit_manager_v1*()
const;
629 struct events_t :
public detail::events_base_t
633 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
644 static const std::string interface_name;
646 operator zwp_idle_inhibitor_v1*()
const;
681 struct events_t :
public detail::events_base_t
683 std::function<void(std::string, uint32_t, uint32_t)> surrounding_text;
684 std::function<void()> reset;
685 std::function<void(zwp_text_input_v1_content_hint, zwp_text_input_v1_content_purpose)> content_type;
686 std::function<void(uint32_t, uint32_t)> invoke_action;
687 std::function<void(uint32_t)> commit_state;
688 std::function<void(std::string)> preferred_language;
691 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
702 static const std::string interface_name;
704 operator zwp_input_method_context_v1*()
const;
741 void preedit_string(uint32_t serial, std::string text, std::string commit);
760 void preedit_styling(uint32_t index, uint32_t length, zwp_text_input_v1_preedit_style style);
844 void keysym(uint32_t serial, uint32_t time, uint32_t sym, keyboard_key_state state, uint32_t
modifiers);
878 void key(uint32_t serial, uint32_t time, uint32_t
key, keyboard_key_state state);
897 void modifiers(uint32_t serial, uint32_t mods_depressed, uint32_t mods_latched, uint32_t mods_locked, uint32_t group);
942 std::function<void()> &on_reset();
949 std::function<void(zwp_text_input_v1_content_hint, zwp_text_input_v1_content_purpose)> &
on_content_type();
984 struct events_t :
public detail::events_base_t
990 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
1001 static const std::string interface_name;
1003 operator zwp_input_method_v1*()
const;
1035 struct events_t :
public detail::events_base_t
1039 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
1050 static const std::string interface_name;
1052 operator zwp_input_panel_v1*()
const;
1070 class zwp_input_panel_surface_v1_t :
public proxy_t
1073 struct events_t :
public detail::events_base_t
1077 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
1079 zwp_input_panel_surface_v1_t(proxy_t
const &wrapped_proxy, construct_proxy_wrapper_tag );
1082 zwp_input_panel_surface_v1_t();
1083 explicit zwp_input_panel_surface_v1_t(
const proxy_t &proxy);
1086 zwp_input_panel_surface_v1_t proxy_create_wrapper();
1088 static const std::string interface_name;
1090 operator zwp_input_panel_surface_v1*()
const;
1101 void set_toplevel(output_t output, zwp_input_panel_surface_v1_position position);
1105 static constexpr std::uint32_t set_toplevel_since_version = 1;
1115 void set_overlay_panel();
1119 static constexpr std::uint32_t set_overlay_panel_since_version = 1;
1126 enum class zwp_input_panel_surface_v1_position : uint32_t
1141 struct events_t :
public detail::events_base_t
1145 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
1156 static const std::string interface_name;
1158 operator zwp_input_timestamps_manager_v1*()
const;
1230 struct events_t :
public detail::events_base_t
1232 std::function<void(uint32_t, uint32_t, uint32_t)> timestamp;
1235 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
1246 static const std::string interface_name;
1248 operator zwp_input_timestamps_v1*()
const;
1271 std::function<void(uint32_t, uint32_t, uint32_t)> &
on_timestamp();
1284 struct events_t :
public detail::events_base_t
1288 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
1299 static const std::string interface_name;
1301 operator zwp_keyboard_shortcuts_inhibit_manager_v1*()
const;
1325 enum class zwp_keyboard_shortcuts_inhibit_manager_v1_error : uint32_t
1328 already_inhibited = 0
1372 struct events_t :
public detail::events_base_t
1374 std::function<void()> active;
1375 std::function<void()> inactive;
1378 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
1389 static const std::string interface_name;
1391 operator zwp_keyboard_shortcuts_inhibitor_v1*()
const;
1486 struct events_t :
public detail::events_base_t
1488 std::function<void(uint32_t)> format;
1489 std::function<void(uint32_t, uint32_t, uint32_t)> modifier;
1492 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
1503 static const std::string interface_name;
1505 operator zwp_linux_dmabuf_v1*()
const;
1539 std::function<void(uint32_t)> &
on_format();
1564 std::function<void(uint32_t, uint32_t, uint32_t)> &
on_modifier();
1590 struct events_t :
public detail::events_base_t
1592 std::function<void(
buffer_t)> created;
1593 std::function<void()> failed;
1596 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
1607 static const std::string interface_name;
1609 operator zwp_linux_buffer_params_v1*()
const;
1639 void add(
int fd, uint32_t plane_idx, uint32_t offset, uint32_t stride, uint32_t modifier_hi, uint32_t modifier_lo);
1712 void create(int32_t width, int32_t height, uint32_t format, zwp_linux_buffer_params_v1_flags flags);
1750 buffer_t create_immed(int32_t width, int32_t height, uint32_t format, zwp_linux_buffer_params_v1_flags flags);
1790 enum class zwp_linux_buffer_params_v1_error : uint32_t
1803 invalid_dimensions = 5,
1807 invalid_wl_buffer = 7
1813 enum class zwp_linux_buffer_params_v1_flags : uint32_t
1847 struct events_t :
public detail::events_base_t
1851 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
1862 static const std::string interface_name;
1864 operator zwp_linux_explicit_synchronization_v1*()
const;
1894 enum class zwp_linux_explicit_synchronization_v1_error : uint32_t
1897 synchronization_exists = 0
1938 struct events_t :
public detail::events_base_t
1942 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
1953 static const std::string interface_name;
1955 operator zwp_linux_surface_synchronization_v1*()
const;
2024 enum class zwp_linux_surface_synchronization_v1_error : uint32_t
2029 duplicate_fence = 1,
2031 duplicate_release = 2,
2035 unsupported_buffer = 4,
2065 struct events_t :
public detail::events_base_t
2067 std::function<void(
int)> fenced_release;
2068 std::function<void()> immediate_release;
2071 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
2082 static const std::string interface_name;
2084 operator zwp_linux_buffer_release_v1*()
const;
2144 struct events_t :
public detail::events_base_t
2148 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
2159 static const std::string interface_name;
2161 operator zwp_pointer_constraints_v1*()
const;
2250 enum class zwp_pointer_constraints_v1_error : uint32_t
2253 already_constrained = 1
2263 enum class zwp_pointer_constraints_v1_lifetime : uint32_t
2300 struct events_t :
public detail::events_base_t
2302 std::function<void()> locked;
2303 std::function<void()> unlocked;
2306 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
2317 static const std::string interface_name;
2319 operator zwp_locked_pointer_v1*()
const;
2407 struct events_t :
public detail::events_base_t
2409 std::function<void()> confined;
2410 std::function<void()> unconfined;
2413 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
2424 static const std::string interface_name;
2426 operator zwp_confined_pointer_v1*()
const;
2500 struct events_t :
public detail::events_base_t
2504 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
2515 static const std::string interface_name;
2517 operator zwp_pointer_gestures_v1*()
const;
2587 struct events_t :
public detail::events_base_t
2589 std::function<void(uint32_t, uint32_t,
surface_t, uint32_t)> begin;
2590 std::function<void(uint32_t,
double,
double)> update;
2591 std::function<void(uint32_t, uint32_t, int32_t)> end;
2594 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
2605 static const std::string interface_name;
2607 operator zwp_pointer_gesture_swipe_v1*()
const;
2633 std::function<void(uint32_t,
double,
double)> &
on_update();
2649 std::function<void(uint32_t, uint32_t, int32_t)> &
on_end();
2676 struct events_t :
public detail::events_base_t
2678 std::function<void(uint32_t, uint32_t,
surface_t, uint32_t)> begin;
2679 std::function<void(uint32_t,
double,
double,
double,
double)> update;
2680 std::function<void(uint32_t, uint32_t, int32_t)> end;
2683 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
2694 static const std::string interface_name;
2696 operator zwp_pointer_gesture_pinch_v1*()
const;
2731 std::function<void(uint32_t,
double,
double,
double,
double)> &
on_update();
2747 std::function<void(uint32_t, uint32_t, int32_t)> &
on_end();
2763 struct events_t :
public detail::events_base_t
2767 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
2778 static const std::string interface_name;
2780 operator zwp_primary_selection_device_manager_v1*()
const;
2811 class zwp_primary_selection_device_v1_t :
public proxy_t
2814 struct events_t :
public detail::events_base_t
2820 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
2822 zwp_primary_selection_device_v1_t(proxy_t
const &wrapped_proxy, construct_proxy_wrapper_tag );
2825 zwp_primary_selection_device_v1_t();
2826 explicit zwp_primary_selection_device_v1_t(
const proxy_t &proxy);
2827 zwp_primary_selection_device_v1_t(zwp_primary_selection_device_v1 *p, wrapper_type t =
wrapper_type::standard);
2829 zwp_primary_selection_device_v1_t proxy_create_wrapper();
2831 static const std::string interface_name;
2833 operator zwp_primary_selection_device_v1*()
const;
2845 void set_selection(zwp_primary_selection_source_v1_t source, uint32_t serial);
2849 static constexpr std::uint32_t set_selection_since_version = 1;
2861 std::function<void(zwp_primary_selection_offer_v1_t)> &on_data_offer();
2877 std::function<void(zwp_primary_selection_offer_v1_t)> &on_selection();
2894 struct events_t :
public detail::events_base_t
2896 std::function<void(std::string)> offer;
2899 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
2910 static const std::string interface_name;
2912 operator zwp_primary_selection_offer_v1*()
const;
2929 void receive(std::string mime_type,
int fd);
2944 std::function<void(std::string)> &
on_offer();
2959 struct events_t :
public detail::events_base_t
2961 std::function<void(std::string,
int)> send;
2962 std::function<void()> cancelled;
2965 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
2976 static const std::string interface_name;
2978 operator zwp_primary_selection_source_v1*()
const;
2987 void offer(std::string mime_type);
3002 std::function<void(std::string,
int)> &
on_send();
3024 struct events_t :
public detail::events_base_t
3028 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
3039 static const std::string interface_name;
3041 operator zwp_relative_pointer_manager_v1*()
const;
3070 struct events_t :
public detail::events_base_t
3072 std::function<void(uint32_t, uint32_t,
double,
double,
double,
double)> relative_motion;
3075 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
3086 static const std::string interface_name;
3088 operator zwp_relative_pointer_v1*()
const;
3130 std::function<void(uint32_t, uint32_t,
double,
double,
double,
double)> &
on_relative_motion();
3145 struct events_t :
public detail::events_base_t
3149 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
3160 static const std::string interface_name;
3162 operator zwp_tablet_manager_v1*()
const;
3190 struct events_t :
public detail::events_base_t
3196 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
3207 static const std::string interface_name;
3209 operator zwp_tablet_seat_v1*()
const;
3263 struct events_t :
public detail::events_base_t
3265 std::function<void(zwp_tablet_tool_v1_type)> type;
3266 std::function<void(uint32_t, uint32_t)> hardware_serial;
3267 std::function<void(uint32_t, uint32_t)> hardware_id_wacom;
3268 std::function<void(zwp_tablet_tool_v1_capability)> capability;
3269 std::function<void()> done;
3270 std::function<void()> removed;
3272 std::function<void()> proximity_out;
3273 std::function<void(uint32_t)> down;
3274 std::function<void()> up;
3275 std::function<void(
double,
double)> motion;
3276 std::function<void(uint32_t)> pressure;
3277 std::function<void(uint32_t)> distance;
3278 std::function<void(int32_t, int32_t)> tilt;
3279 std::function<void(int32_t)> rotation;
3280 std::function<void(int32_t)> slider;
3281 std::function<void(int32_t, int32_t)> wheel;
3282 std::function<void(uint32_t, uint32_t, zwp_tablet_tool_v1_button_state)> button;
3283 std::function<void(uint32_t)> frame;
3286 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
3297 static const std::string interface_name;
3299 operator zwp_tablet_tool_v1*()
const;
3341 void set_cursor(uint32_t serial,
surface_t surface, int32_t hotspot_x, int32_t hotspot_y);
3357 std::function<void(zwp_tablet_tool_v1_type)> &
on_type();
3412 std::function<void(zwp_tablet_tool_v1_capability)> &
on_capability();
3421 std::function<void()> &
on_done();
3496 std::function<void(uint32_t)> &
on_down();
3518 std::function<void()> &
on_up();
3527 std::function<void(
double,
double)> &
on_motion();
3563 std::function<void(int32_t, int32_t)> &
on_tilt();
3585 std::function<void(int32_t)> &
on_slider();
3605 std::function<void(int32_t, int32_t)> &
on_wheel();
3620 std::function<void(uint32_t, uint32_t, zwp_tablet_tool_v1_button_state)> &
on_button();
3631 std::function<void(uint32_t)> &
on_frame();
3648 enum class zwp_tablet_tool_v1_type : uint32_t
3676 enum class zwp_tablet_tool_v1_capability : uint32_t
3697 enum class zwp_tablet_tool_v1_button_state : uint32_t
3708 enum class zwp_tablet_tool_v1_error : uint32_t
3730 struct events_t :
public detail::events_base_t
3732 std::function<void(std::string)> name;
3733 std::function<void(uint32_t, uint32_t)> id;
3734 std::function<void(std::string)> path;
3735 std::function<void()> done;
3736 std::function<void()> removed;
3739 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
3750 static const std::string interface_name;
3752 operator zwp_tablet_v1*()
const;
3761 std::function<void(std::string)> &
on_name();
3771 std::function<void(uint32_t, uint32_t)> &
on_id();
3792 std::function<void(std::string)> &
on_path();
3802 std::function<void()> &
on_done();
3828 struct events_t :
public detail::events_base_t
3832 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
3843 static const std::string interface_name;
3845 operator zwp_tablet_manager_v2*()
const;
3873 struct events_t :
public detail::events_base_t
3880 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
3891 static const std::string interface_name;
3893 operator zwp_tablet_seat_v2*()
const;
3964 struct events_t :
public detail::events_base_t
3966 std::function<void(zwp_tablet_tool_v2_type)> type;
3967 std::function<void(uint32_t, uint32_t)> hardware_serial;
3968 std::function<void(uint32_t, uint32_t)> hardware_id_wacom;
3969 std::function<void(zwp_tablet_tool_v2_capability)> capability;
3970 std::function<void()> done;
3971 std::function<void()> removed;
3973 std::function<void()> proximity_out;
3974 std::function<void(uint32_t)> down;
3975 std::function<void()> up;
3976 std::function<void(
double,
double)> motion;
3977 std::function<void(uint32_t)> pressure;
3978 std::function<void(uint32_t)> distance;
3979 std::function<void(
double,
double)> tilt;
3980 std::function<void(
double)> rotation;
3981 std::function<void(int32_t)> slider;
3982 std::function<void(
double, int32_t)> wheel;
3983 std::function<void(uint32_t, uint32_t, zwp_tablet_tool_v2_button_state)> button;
3984 std::function<void(uint32_t)> frame;
3987 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
3998 static const std::string interface_name;
4000 operator zwp_tablet_tool_v2*()
const;
4040 void set_cursor(uint32_t serial,
surface_t surface, int32_t hotspot_x, int32_t hotspot_y);
4056 std::function<void(zwp_tablet_tool_v2_type)> &
on_type();
4111 std::function<void(zwp_tablet_tool_v2_capability)> &
on_capability();
4120 std::function<void()> &
on_done();
4195 std::function<void(uint32_t)> &
on_down();
4217 std::function<void()> &
on_up();
4226 std::function<void(
double,
double)> &
on_motion();
4262 std::function<void(
double,
double)> &
on_tilt();
4284 std::function<void(int32_t)> &
on_slider();
4304 std::function<void(
double, int32_t)> &
on_wheel();
4319 std::function<void(uint32_t, uint32_t, zwp_tablet_tool_v2_button_state)> &
on_button();
4330 std::function<void(uint32_t)> &
on_frame();
4347 enum class zwp_tablet_tool_v2_type : uint32_t
4375 enum class zwp_tablet_tool_v2_capability : uint32_t
4396 enum class zwp_tablet_tool_v2_button_state : uint32_t
4407 enum class zwp_tablet_tool_v2_error : uint32_t
4429 struct events_t :
public detail::events_base_t
4431 std::function<void(std::string)> name;
4432 std::function<void(uint32_t, uint32_t)> id;
4433 std::function<void(std::string)> path;
4434 std::function<void()> done;
4435 std::function<void()> removed;
4438 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
4449 static const std::string interface_name;
4451 operator zwp_tablet_v2*()
const;
4460 std::function<void(std::string)> &
on_name();
4470 std::function<void(uint32_t, uint32_t)> &
on_id();
4491 std::function<void(std::string)> &
on_path();
4501 std::function<void()> &
on_done();
4529 struct events_t :
public detail::events_base_t
4531 std::function<void(zwp_tablet_pad_ring_v2_source)> source;
4532 std::function<void(
double)> angle;
4533 std::function<void()> stop;
4534 std::function<void(uint32_t)> frame;
4537 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
4548 static const std::string interface_name;
4550 operator zwp_tablet_pad_ring_v2*()
const;
4577 void set_feedback(std::string description, uint32_t serial);
4600 std::function<void(zwp_tablet_pad_ring_v2_source)> &
on_source();
4611 std::function<void(
double)> &
on_angle();
4627 std::function<void()> &
on_stop();
4647 std::function<void(uint32_t)> &
on_frame();
4659 enum class zwp_tablet_pad_ring_v2_source : uint32_t
4678 struct events_t :
public detail::events_base_t
4680 std::function<void(zwp_tablet_pad_strip_v2_source)> source;
4681 std::function<void(uint32_t)> position;
4682 std::function<void()> stop;
4683 std::function<void(uint32_t)> frame;
4686 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
4697 static const std::string interface_name;
4699 operator zwp_tablet_pad_strip_v2*()
const;
4726 void set_feedback(std::string description, uint32_t serial);
4749 std::function<void(zwp_tablet_pad_strip_v2_source)> &
on_source();
4777 std::function<void()> &
on_stop();
4798 std::function<void(uint32_t)> &
on_frame();
4810 enum class zwp_tablet_pad_strip_v2_source : uint32_t
4845 struct events_t :
public detail::events_base_t
4847 std::function<void(array_t)> buttons;
4850 std::function<void(uint32_t)> modes;
4851 std::function<void()> done;
4852 std::function<void(uint32_t, uint32_t, uint32_t)> mode_switch;
4855 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
4866 static const std::string interface_name;
4868 operator zwp_tablet_pad_group_v2*()
const;
4930 std::function<void(uint32_t)> &
on_modes();
4940 std::function<void()> &
on_done();
4976 std::function<void(uint32_t, uint32_t, uint32_t)> &
on_mode_switch();
5010 struct events_t :
public detail::events_base_t
5013 std::function<void(std::string)> path;
5014 std::function<void(uint32_t)> buttons;
5015 std::function<void()> done;
5016 std::function<void(uint32_t, uint32_t, zwp_tablet_pad_v2_button_state)> button;
5018 std::function<void(uint32_t,
surface_t)> leave;
5019 std::function<void()> removed;
5022 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
5033 static const std::string interface_name;
5035 operator zwp_tablet_pad_v2*()
const;
5068 void set_feedback(uint32_t button, std::string description, uint32_t serial);
5101 std::function<void(std::string)> &
on_path();
5123 std::function<void()> &
on_done();
5133 std::function<void(uint32_t, uint32_t, zwp_tablet_pad_v2_button_state)> &
on_button();
5175 enum class zwp_tablet_pad_v2_button_state : uint32_t
5220 struct events_t :
public detail::events_base_t
5223 std::function<void()> leave;
5224 std::function<void(array_t)> modifiers_map;
5225 std::function<void(uint32_t)> input_panel_state;
5226 std::function<void(uint32_t, std::string, std::string)> preedit_string;
5227 std::function<void(uint32_t, uint32_t, zwp_text_input_v1_preedit_style)> preedit_styling;
5228 std::function<void(int32_t)> preedit_cursor;
5229 std::function<void(uint32_t, std::string)> commit_string;
5230 std::function<void(int32_t, int32_t)> cursor_position;
5231 std::function<void(int32_t, uint32_t)> delete_surrounding_text;
5232 std::function<void(uint32_t, uint32_t, uint32_t, keyboard_key_state, uint32_t)> keysym;
5233 std::function<void(uint32_t, std::string)> language;
5234 std::function<void(uint32_t, zwp_text_input_v1_text_direction)> text_direction;
5237 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
5248 static const std::string interface_name;
5250 operator zwp_text_input_v1*()
const;
5351 void set_content_type(zwp_text_input_v1_content_hint hint, zwp_text_input_v1_content_purpose purpose);
5477 std::function<void(uint32_t, uint32_t, zwp_text_input_v1_preedit_style)> &
on_preedit_styling();
5549 std::function<void(uint32_t, uint32_t, uint32_t, keyboard_key_state, uint32_t)> &
on_keysym();
5559 std::function<void(uint32_t, std::string)> &
on_language();
5572 std::function<void(uint32_t, zwp_text_input_v1_text_direction)> &
on_text_direction();
5582 enum class zwp_text_input_v1_content_hint : uint32_t
5591 auto_completion = 0x1,
5593 auto_correction = 0x2,
5595 auto_capitalization = 0x4,
5605 sensitive_data = 0x80,
5621 enum class zwp_text_input_v1_content_purpose : uint32_t
5654 enum class zwp_text_input_v1_preedit_style : uint32_t
5671 enum class zwp_text_input_v1_text_direction : uint32_t
5690 struct events_t :
public detail::events_base_t
5694 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
5705 static const std::string interface_name;
5707 operator zwp_text_input_manager_v1*()
const;
5756 struct events_t :
public detail::events_base_t
5760 std::function<void(std::string, int32_t, int32_t)> preedit_string;
5761 std::function<void(std::string)> commit_string;
5762 std::function<void(uint32_t, uint32_t)> delete_surrounding_text;
5763 std::function<void(uint32_t)> done;
5766 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
5777 static const std::string interface_name;
5779 operator zwp_text_input_v3*()
const;
6104 std::function<void(uint32_t)> &
on_done();
6113 enum class zwp_text_input_v3_change_cause : uint32_t
6130 : detail::bitfield<10, 27>(b) {}
6132 : detail::bitfield<10, 27>(value) {}
6134 static const detail::bitfield<10, 27>
none;
6152 static const detail::bitfield<10, 27>
latin;
6166 enum class zwp_text_input_v3_content_purpose : uint32_t
6207 struct events_t :
public detail::events_base_t
6211 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
6222 static const std::string interface_name;
6224 operator zwp_text_input_manager_v3*()
const;
6270 struct events_t :
public detail::events_base_t
6274 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
6285 static const std::string interface_name;
6287 operator zxdg_decoration_manager_v1*()
const;
6323 struct events_t :
public detail::events_base_t
6325 std::function<void(zxdg_toplevel_decoration_v1_mode)> configure;
6328 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
6339 static const std::string interface_name;
6341 operator zxdg_toplevel_decoration_v1*()
const;
6366 void set_mode(zxdg_toplevel_decoration_v1_mode mode);
6398 std::function<void(zxdg_toplevel_decoration_v1_mode)> &
on_configure();
6405 enum class zxdg_toplevel_decoration_v1_error : uint32_t
6408 unconfigured_buffer = 0,
6410 already_constructed = 1,
6420 enum class zxdg_toplevel_decoration_v1_mode : uint32_t
6438 struct events_t :
public detail::events_base_t
6442 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
6453 static const std::string interface_name;
6455 operator zxdg_exporter_v1*()
const;
6490 struct events_t :
public detail::events_base_t
6494 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
6505 static const std::string interface_name;
6507 operator zxdg_importer_v1*()
const;
6540 struct events_t :
public detail::events_base_t
6542 std::function<void(std::string)> handle;
6545 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
6556 static const std::string interface_name;
6558 operator zxdg_exported_v1*()
const;
6569 std::function<void(std::string)> &
on_handle();
6584 struct events_t :
public detail::events_base_t
6586 std::function<void()> destroyed;
6589 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
6600 static const std::string interface_name;
6602 operator zxdg_imported_v1*()
const;
6641 struct events_t :
public detail::events_base_t
6645 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
6656 static const std::string interface_name;
6658 operator zxdg_exporter_v2*()
const;
6693 struct events_t :
public detail::events_base_t
6697 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
6708 static const std::string interface_name;
6710 operator zxdg_importer_v2*()
const;
6743 struct events_t :
public detail::events_base_t
6745 std::function<void(std::string)> handle;
6748 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
6759 static const std::string interface_name;
6761 operator zxdg_exported_v2*()
const;
6772 std::function<void(std::string)> &
on_handle();
6787 struct events_t :
public detail::events_base_t
6789 std::function<void()> destroyed;
6792 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
6803 static const std::string interface_name;
6805 operator zxdg_imported_v2*()
const;
6843 struct events_t :
public detail::events_base_t
6847 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
6858 static const std::string interface_name;
6860 operator zxdg_output_manager_v1*()
const;
6893 struct events_t :
public detail::events_base_t
6895 std::function<void(int32_t, int32_t)> logical_position;
6896 std::function<void(int32_t, int32_t)> logical_size;
6897 std::function<void()> done;
6898 std::function<void(std::string)> name;
6899 std::function<void(std::string)> description;
6902 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
6913 static const std::string interface_name;
6915 operator zxdg_output_v1*()
const;
6986 std::function<void()> &
on_done();
7011 std::function<void(std::string)> &
on_name();
7049 struct events_t :
public detail::events_base_t
7051 std::function<void(uint32_t)> ping;
7054 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
7065 static const std::string interface_name;
7067 operator zxdg_shell_v6*()
const;
7111 void pong(uint32_t serial);
7133 std::function<void(uint32_t)> &
on_ping();
7140 enum class zxdg_shell_v6_error : uint32_t
7145 defunct_surfaces = 1,
7147 not_the_topmost_popup = 2,
7149 invalid_popup_parent = 3,
7151 invalid_surface_state = 4,
7153 invalid_positioner = 5
7183 struct events_t :
public detail::events_base_t
7187 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
7198 static const std::string interface_name;
7200 operator zxdg_positioner_v6*()
const;
7213 void set_size(int32_t width, int32_t height);
7237 void set_anchor_rect(int32_t x, int32_t y, int32_t width, int32_t height);
7258 void set_anchor(zxdg_positioner_v6_anchor anchor);
7278 void set_gravity(zxdg_positioner_v6_gravity gravity);
7336 enum class zxdg_positioner_v6_error : uint32_t
7345 struct zxdg_positioner_v6_anchor :
public detail::bitfield<4, 33>
7347 zxdg_positioner_v6_anchor(
const detail::bitfield<4, 33> &b)
7348 : detail::bitfield<4, 33>(b) {}
7349 zxdg_positioner_v6_anchor(
const uint32_t value)
7350 : detail::bitfield<4, 33>(value) {}
7352 static const detail::bitfield<4, 33> none;
7354 static const detail::bitfield<4, 33> top;
7356 static const detail::bitfield<4, 33> bottom;
7358 static const detail::bitfield<4, 33> left;
7360 static const detail::bitfield<4, 33> right;
7366 struct zxdg_positioner_v6_gravity :
public detail::bitfield<4, 34>
7368 zxdg_positioner_v6_gravity(
const detail::bitfield<4, 34> &b)
7369 : detail::bitfield<4, 34>(b) {}
7370 zxdg_positioner_v6_gravity(
const uint32_t value)
7371 : detail::bitfield<4, 34>(value) {}
7373 static const detail::bitfield<4, 34> none;
7375 static const detail::bitfield<4, 34> top;
7377 static const detail::bitfield<4, 34> bottom;
7379 static const detail::bitfield<4, 34> left;
7381 static const detail::bitfield<4, 34> right;
7402 : detail::bitfield<6, 35>(b) {}
7404 : detail::bitfield<6, 35>(value) {}
7405 static const detail::bitfield<6, 35> none;
7406 static const detail::bitfield<6, 35> slide_x;
7407 static const detail::bitfield<6, 35> slide_y;
7408 static const detail::bitfield<6, 35> flip_x;
7409 static const detail::bitfield<6, 35> flip_y;
7410 static const detail::bitfield<6, 35> resize_x;
7411 static const detail::bitfield<6, 35> resize_y;
7452 struct events_t :
public detail::events_base_t
7454 std::function<void(uint32_t)> configure;
7457 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
7468 static const std::string interface_name;
7470 operator zxdg_surface_v6*()
const;
7600 enum class zxdg_surface_v6_error : uint32_t
7602 not_constructed = 1,
7603 already_constructed = 2,
7604 unconfigured_buffer = 3
7620 struct events_t :
public detail::events_base_t
7622 std::function<void(int32_t, int32_t, array_t)> configure;
7623 std::function<void()> close;
7626 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
7637 static const std::string interface_name;
7639 operator zxdg_toplevel_v6*()
const;
7972 void unset_fullscreen();
8022 std::function<void(int32_t, int32_t, array_t)> &
on_configure();
8049 : detail::bitfield<4, 37>(b) {}
8051 : detail::bitfield<4, 37>(value) {}
8052 static const detail::bitfield<4, 37> none;
8053 static const detail::bitfield<4, 37> top;
8054 static const detail::bitfield<4, 37> bottom;
8055 static const detail::bitfield<4, 37> left;
8056 static const detail::bitfield<4, 37> top_left;
8057 static const detail::bitfield<4, 37> bottom_left;
8058 static const detail::bitfield<4, 37> right;
8059 static const detail::bitfield<4, 37> top_right;
8060 static const detail::bitfield<4, 37> bottom_right;
8074 enum class zxdg_toplevel_v6_state : uint32_t
8127 struct events_t :
public detail::events_base_t
8129 std::function<void(int32_t, int32_t, int32_t, int32_t)> configure;
8130 std::function<void()> popup_done;
8133 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
8144 static const std::string interface_name;
8146 operator zxdg_popup_v6*()
const;
8216 std::function<void(int32_t, int32_t, int32_t, int32_t)> &
on_configure();
8232 enum class zxdg_popup_v6_error : uint32_t
8247 struct events_t :
public detail::events_base_t
8251 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
8262 static const std::string interface_name;
8264 operator zwp_xwayland_keyboard_grab_manager_v1*()
const;
8308 struct events_t :
public detail::events_base_t
8312 static int dispatcher(uint32_t opcode, std::vector<detail::any> args, std::shared_ptr<detail::events_base_t> e);
8323 static const std::string interface_name;
8325 operator zwp_xwayland_keyboard_grab_v1*()
const;