Wayland++  1.0.0
C++ Bindings for Wayland
wayland-client-protocol-unstable.cpp
1 #include <wayland-client-protocol-unstable.hpp>
2 
3 using namespace wayland;
4 using namespace wayland::detail;
5 
6 const wl_interface* zwp_fullscreen_shell_v1_interface_release_request[0] = {
7 };
8 
9 const wl_interface* zwp_fullscreen_shell_v1_interface_present_surface_request[3] = {
10  &surface_interface,
11  nullptr,
12  &output_interface,
13 };
14 
15 const wl_interface* zwp_fullscreen_shell_v1_interface_present_surface_for_mode_request[4] = {
16  &surface_interface,
17  &output_interface,
18  nullptr,
19  &zwp_fullscreen_shell_mode_feedback_v1_interface,
20 };
21 
22 const wl_interface* zwp_fullscreen_shell_v1_interface_capability_event[1] = {
23  nullptr,
24 };
25 
26 const wl_message zwp_fullscreen_shell_v1_interface_requests[3] = {
27  {
28  "release",
29  "",
30  zwp_fullscreen_shell_v1_interface_release_request,
31  },
32  {
33  "present_surface",
34  "?ou?o",
35  zwp_fullscreen_shell_v1_interface_present_surface_request,
36  },
37  {
38  "present_surface_for_mode",
39  "ooin",
40  zwp_fullscreen_shell_v1_interface_present_surface_for_mode_request,
41  },
42 };
43 
44 const wl_message zwp_fullscreen_shell_v1_interface_events[1] = {
45  {
46  "capability",
47  "u",
48  zwp_fullscreen_shell_v1_interface_capability_event,
49  },
50 };
51 
52 const wl_interface wayland::detail::zwp_fullscreen_shell_v1_interface =
53  {
54  "zwp_fullscreen_shell_v1",
55  1,
56  3,
57  zwp_fullscreen_shell_v1_interface_requests,
58  1,
59  zwp_fullscreen_shell_v1_interface_events,
60  };
61 
62 const wl_interface* zwp_fullscreen_shell_mode_feedback_v1_interface_mode_successful_event[0] = {
63 };
64 
65 const wl_interface* zwp_fullscreen_shell_mode_feedback_v1_interface_mode_failed_event[0] = {
66 };
67 
68 const wl_interface* zwp_fullscreen_shell_mode_feedback_v1_interface_present_cancelled_event[0] = {
69 };
70 
71 const wl_message zwp_fullscreen_shell_mode_feedback_v1_interface_requests[0] = {
72 };
73 
74 const wl_message zwp_fullscreen_shell_mode_feedback_v1_interface_events[3] = {
75  {
76  "mode_successful",
77  "",
78  zwp_fullscreen_shell_mode_feedback_v1_interface_mode_successful_event,
79  },
80  {
81  "mode_failed",
82  "",
83  zwp_fullscreen_shell_mode_feedback_v1_interface_mode_failed_event,
84  },
85  {
86  "present_cancelled",
87  "",
88  zwp_fullscreen_shell_mode_feedback_v1_interface_present_cancelled_event,
89  },
90 };
91 
92 const wl_interface wayland::detail::zwp_fullscreen_shell_mode_feedback_v1_interface =
93  {
94  "zwp_fullscreen_shell_mode_feedback_v1",
95  1,
96  0,
97  zwp_fullscreen_shell_mode_feedback_v1_interface_requests,
98  3,
99  zwp_fullscreen_shell_mode_feedback_v1_interface_events,
100  };
101 
102 const wl_interface* zwp_idle_inhibit_manager_v1_interface_destroy_request[0] = {
103 };
104 
105 const wl_interface* zwp_idle_inhibit_manager_v1_interface_create_inhibitor_request[2] = {
106  &zwp_idle_inhibitor_v1_interface,
107  &surface_interface,
108 };
109 
110 const wl_message zwp_idle_inhibit_manager_v1_interface_requests[2] = {
111  {
112  "destroy",
113  "",
114  zwp_idle_inhibit_manager_v1_interface_destroy_request,
115  },
116  {
117  "create_inhibitor",
118  "no",
119  zwp_idle_inhibit_manager_v1_interface_create_inhibitor_request,
120  },
121 };
122 
123 const wl_message zwp_idle_inhibit_manager_v1_interface_events[0] = {
124 };
125 
126 const wl_interface wayland::detail::zwp_idle_inhibit_manager_v1_interface =
127  {
128  "zwp_idle_inhibit_manager_v1",
129  1,
130  2,
131  zwp_idle_inhibit_manager_v1_interface_requests,
132  0,
133  zwp_idle_inhibit_manager_v1_interface_events,
134  };
135 
136 const wl_interface* zwp_idle_inhibitor_v1_interface_destroy_request[0] = {
137 };
138 
139 const wl_message zwp_idle_inhibitor_v1_interface_requests[1] = {
140  {
141  "destroy",
142  "",
143  zwp_idle_inhibitor_v1_interface_destroy_request,
144  },
145 };
146 
147 const wl_message zwp_idle_inhibitor_v1_interface_events[0] = {
148 };
149 
150 const wl_interface wayland::detail::zwp_idle_inhibitor_v1_interface =
151  {
152  "zwp_idle_inhibitor_v1",
153  1,
154  1,
155  zwp_idle_inhibitor_v1_interface_requests,
156  0,
157  zwp_idle_inhibitor_v1_interface_events,
158  };
159 
160 const wl_interface* zwp_input_method_context_v1_interface_destroy_request[0] = {
161 };
162 
163 const wl_interface* zwp_input_method_context_v1_interface_commit_string_request[2] = {
164  nullptr,
165  nullptr,
166 };
167 
168 const wl_interface* zwp_input_method_context_v1_interface_preedit_string_request[3] = {
169  nullptr,
170  nullptr,
171  nullptr,
172 };
173 
174 const wl_interface* zwp_input_method_context_v1_interface_preedit_styling_request[3] = {
175  nullptr,
176  nullptr,
177  nullptr,
178 };
179 
180 const wl_interface* zwp_input_method_context_v1_interface_preedit_cursor_request[1] = {
181  nullptr,
182 };
183 
184 const wl_interface* zwp_input_method_context_v1_interface_delete_surrounding_text_request[2] = {
185  nullptr,
186  nullptr,
187 };
188 
189 const wl_interface* zwp_input_method_context_v1_interface_cursor_position_request[2] = {
190  nullptr,
191  nullptr,
192 };
193 
194 const wl_interface* zwp_input_method_context_v1_interface_modifiers_map_request[1] = {
195  nullptr,
196 };
197 
198 const wl_interface* zwp_input_method_context_v1_interface_keysym_request[5] = {
199  nullptr,
200  nullptr,
201  nullptr,
202  nullptr,
203  nullptr,
204 };
205 
206 const wl_interface* zwp_input_method_context_v1_interface_grab_keyboard_request[1] = {
207  &keyboard_interface,
208 };
209 
210 const wl_interface* zwp_input_method_context_v1_interface_key_request[4] = {
211  nullptr,
212  nullptr,
213  nullptr,
214  nullptr,
215 };
216 
217 const wl_interface* zwp_input_method_context_v1_interface_modifiers_request[5] = {
218  nullptr,
219  nullptr,
220  nullptr,
221  nullptr,
222  nullptr,
223 };
224 
225 const wl_interface* zwp_input_method_context_v1_interface_language_request[2] = {
226  nullptr,
227  nullptr,
228 };
229 
230 const wl_interface* zwp_input_method_context_v1_interface_text_direction_request[2] = {
231  nullptr,
232  nullptr,
233 };
234 
235 const wl_interface* zwp_input_method_context_v1_interface_surrounding_text_event[3] = {
236  nullptr,
237  nullptr,
238  nullptr,
239 };
240 
241 const wl_interface* zwp_input_method_context_v1_interface_reset_event[0] = {
242 };
243 
244 const wl_interface* zwp_input_method_context_v1_interface_content_type_event[2] = {
245  nullptr,
246  nullptr,
247 };
248 
249 const wl_interface* zwp_input_method_context_v1_interface_invoke_action_event[2] = {
250  nullptr,
251  nullptr,
252 };
253 
254 const wl_interface* zwp_input_method_context_v1_interface_commit_state_event[1] = {
255  nullptr,
256 };
257 
258 const wl_interface* zwp_input_method_context_v1_interface_preferred_language_event[1] = {
259  nullptr,
260 };
261 
262 const wl_message zwp_input_method_context_v1_interface_requests[14] = {
263  {
264  "destroy",
265  "",
266  zwp_input_method_context_v1_interface_destroy_request,
267  },
268  {
269  "commit_string",
270  "us",
271  zwp_input_method_context_v1_interface_commit_string_request,
272  },
273  {
274  "preedit_string",
275  "uss",
276  zwp_input_method_context_v1_interface_preedit_string_request,
277  },
278  {
279  "preedit_styling",
280  "uuu",
281  zwp_input_method_context_v1_interface_preedit_styling_request,
282  },
283  {
284  "preedit_cursor",
285  "i",
286  zwp_input_method_context_v1_interface_preedit_cursor_request,
287  },
288  {
289  "delete_surrounding_text",
290  "iu",
291  zwp_input_method_context_v1_interface_delete_surrounding_text_request,
292  },
293  {
294  "cursor_position",
295  "ii",
296  zwp_input_method_context_v1_interface_cursor_position_request,
297  },
298  {
299  "modifiers_map",
300  "a",
301  zwp_input_method_context_v1_interface_modifiers_map_request,
302  },
303  {
304  "keysym",
305  "uuuuu",
306  zwp_input_method_context_v1_interface_keysym_request,
307  },
308  {
309  "grab_keyboard",
310  "n",
311  zwp_input_method_context_v1_interface_grab_keyboard_request,
312  },
313  {
314  "key",
315  "uuuu",
316  zwp_input_method_context_v1_interface_key_request,
317  },
318  {
319  "modifiers",
320  "uuuuu",
321  zwp_input_method_context_v1_interface_modifiers_request,
322  },
323  {
324  "language",
325  "us",
326  zwp_input_method_context_v1_interface_language_request,
327  },
328  {
329  "text_direction",
330  "uu",
331  zwp_input_method_context_v1_interface_text_direction_request,
332  },
333 };
334 
335 const wl_message zwp_input_method_context_v1_interface_events[6] = {
336  {
337  "surrounding_text",
338  "suu",
339  zwp_input_method_context_v1_interface_surrounding_text_event,
340  },
341  {
342  "reset",
343  "",
344  zwp_input_method_context_v1_interface_reset_event,
345  },
346  {
347  "content_type",
348  "uu",
349  zwp_input_method_context_v1_interface_content_type_event,
350  },
351  {
352  "invoke_action",
353  "uu",
354  zwp_input_method_context_v1_interface_invoke_action_event,
355  },
356  {
357  "commit_state",
358  "u",
359  zwp_input_method_context_v1_interface_commit_state_event,
360  },
361  {
362  "preferred_language",
363  "s",
364  zwp_input_method_context_v1_interface_preferred_language_event,
365  },
366 };
367 
368 const wl_interface wayland::detail::zwp_input_method_context_v1_interface =
369  {
370  "zwp_input_method_context_v1",
371  1,
372  14,
373  zwp_input_method_context_v1_interface_requests,
374  6,
375  zwp_input_method_context_v1_interface_events,
376  };
377 
378 const wl_interface* zwp_input_method_v1_interface_activate_event[1] = {
379  &zwp_input_method_context_v1_interface,
380 };
381 
382 const wl_interface* zwp_input_method_v1_interface_deactivate_event[1] = {
383  &zwp_input_method_context_v1_interface,
384 };
385 
386 const wl_message zwp_input_method_v1_interface_requests[0] = {
387 };
388 
389 const wl_message zwp_input_method_v1_interface_events[2] = {
390  {
391  "activate",
392  "n",
393  zwp_input_method_v1_interface_activate_event,
394  },
395  {
396  "deactivate",
397  "o",
398  zwp_input_method_v1_interface_deactivate_event,
399  },
400 };
401 
402 const wl_interface wayland::detail::zwp_input_method_v1_interface =
403  {
404  "zwp_input_method_v1",
405  1,
406  0,
407  zwp_input_method_v1_interface_requests,
408  2,
409  zwp_input_method_v1_interface_events,
410  };
411 
412 const wl_interface* zwp_input_panel_v1_interface_get_input_panel_surface_request[2] = {
413  &zwp_input_panel_surface_v1_interface,
414  &surface_interface,
415 };
416 
417 const wl_message zwp_input_panel_v1_interface_requests[1] = {
418  {
419  "get_input_panel_surface",
420  "no",
421  zwp_input_panel_v1_interface_get_input_panel_surface_request,
422  },
423 };
424 
425 const wl_message zwp_input_panel_v1_interface_events[0] = {
426 };
427 
428 const wl_interface wayland::detail::zwp_input_panel_v1_interface =
429  {
430  "zwp_input_panel_v1",
431  1,
432  1,
433  zwp_input_panel_v1_interface_requests,
434  0,
435  zwp_input_panel_v1_interface_events,
436  };
437 
438 const wl_interface* zwp_input_panel_surface_v1_interface_set_toplevel_request[2] = {
439  &output_interface,
440  nullptr,
441 };
442 
443 const wl_interface* zwp_input_panel_surface_v1_interface_set_overlay_panel_request[0] = {
444 };
445 
446 const wl_message zwp_input_panel_surface_v1_interface_requests[2] = {
447  {
448  "set_toplevel",
449  "ou",
450  zwp_input_panel_surface_v1_interface_set_toplevel_request,
451  },
452  {
453  "set_overlay_panel",
454  "",
455  zwp_input_panel_surface_v1_interface_set_overlay_panel_request,
456  },
457 };
458 
459 const wl_message zwp_input_panel_surface_v1_interface_events[0] = {
460 };
461 
462 const wl_interface wayland::detail::zwp_input_panel_surface_v1_interface =
463  {
464  "zwp_input_panel_surface_v1",
465  1,
466  2,
467  zwp_input_panel_surface_v1_interface_requests,
468  0,
469  zwp_input_panel_surface_v1_interface_events,
470  };
471 
472 const wl_interface* zwp_input_timestamps_manager_v1_interface_destroy_request[0] = {
473 };
474 
475 const wl_interface* zwp_input_timestamps_manager_v1_interface_get_keyboard_timestamps_request[2] = {
476  &zwp_input_timestamps_v1_interface,
477  &keyboard_interface,
478 };
479 
480 const wl_interface* zwp_input_timestamps_manager_v1_interface_get_pointer_timestamps_request[2] = {
481  &zwp_input_timestamps_v1_interface,
482  &pointer_interface,
483 };
484 
485 const wl_interface* zwp_input_timestamps_manager_v1_interface_get_touch_timestamps_request[2] = {
486  &zwp_input_timestamps_v1_interface,
487  &touch_interface,
488 };
489 
490 const wl_message zwp_input_timestamps_manager_v1_interface_requests[4] = {
491  {
492  "destroy",
493  "",
494  zwp_input_timestamps_manager_v1_interface_destroy_request,
495  },
496  {
497  "get_keyboard_timestamps",
498  "no",
499  zwp_input_timestamps_manager_v1_interface_get_keyboard_timestamps_request,
500  },
501  {
502  "get_pointer_timestamps",
503  "no",
504  zwp_input_timestamps_manager_v1_interface_get_pointer_timestamps_request,
505  },
506  {
507  "get_touch_timestamps",
508  "no",
509  zwp_input_timestamps_manager_v1_interface_get_touch_timestamps_request,
510  },
511 };
512 
513 const wl_message zwp_input_timestamps_manager_v1_interface_events[0] = {
514 };
515 
516 const wl_interface wayland::detail::zwp_input_timestamps_manager_v1_interface =
517  {
518  "zwp_input_timestamps_manager_v1",
519  1,
520  4,
521  zwp_input_timestamps_manager_v1_interface_requests,
522  0,
523  zwp_input_timestamps_manager_v1_interface_events,
524  };
525 
526 const wl_interface* zwp_input_timestamps_v1_interface_destroy_request[0] = {
527 };
528 
529 const wl_interface* zwp_input_timestamps_v1_interface_timestamp_event[3] = {
530  nullptr,
531  nullptr,
532  nullptr,
533 };
534 
535 const wl_message zwp_input_timestamps_v1_interface_requests[1] = {
536  {
537  "destroy",
538  "",
539  zwp_input_timestamps_v1_interface_destroy_request,
540  },
541 };
542 
543 const wl_message zwp_input_timestamps_v1_interface_events[1] = {
544  {
545  "timestamp",
546  "uuu",
547  zwp_input_timestamps_v1_interface_timestamp_event,
548  },
549 };
550 
551 const wl_interface wayland::detail::zwp_input_timestamps_v1_interface =
552  {
553  "zwp_input_timestamps_v1",
554  1,
555  1,
556  zwp_input_timestamps_v1_interface_requests,
557  1,
558  zwp_input_timestamps_v1_interface_events,
559  };
560 
561 const wl_interface* zwp_keyboard_shortcuts_inhibit_manager_v1_interface_destroy_request[0] = {
562 };
563 
564 const wl_interface* zwp_keyboard_shortcuts_inhibit_manager_v1_interface_inhibit_shortcuts_request[3] = {
565  &zwp_keyboard_shortcuts_inhibitor_v1_interface,
566  &surface_interface,
567  &seat_interface,
568 };
569 
570 const wl_message zwp_keyboard_shortcuts_inhibit_manager_v1_interface_requests[2] = {
571  {
572  "destroy",
573  "",
574  zwp_keyboard_shortcuts_inhibit_manager_v1_interface_destroy_request,
575  },
576  {
577  "inhibit_shortcuts",
578  "noo",
579  zwp_keyboard_shortcuts_inhibit_manager_v1_interface_inhibit_shortcuts_request,
580  },
581 };
582 
583 const wl_message zwp_keyboard_shortcuts_inhibit_manager_v1_interface_events[0] = {
584 };
585 
586 const wl_interface wayland::detail::zwp_keyboard_shortcuts_inhibit_manager_v1_interface =
587  {
588  "zwp_keyboard_shortcuts_inhibit_manager_v1",
589  1,
590  2,
591  zwp_keyboard_shortcuts_inhibit_manager_v1_interface_requests,
592  0,
593  zwp_keyboard_shortcuts_inhibit_manager_v1_interface_events,
594  };
595 
596 const wl_interface* zwp_keyboard_shortcuts_inhibitor_v1_interface_destroy_request[0] = {
597 };
598 
599 const wl_interface* zwp_keyboard_shortcuts_inhibitor_v1_interface_active_event[0] = {
600 };
601 
602 const wl_interface* zwp_keyboard_shortcuts_inhibitor_v1_interface_inactive_event[0] = {
603 };
604 
605 const wl_message zwp_keyboard_shortcuts_inhibitor_v1_interface_requests[1] = {
606  {
607  "destroy",
608  "",
609  zwp_keyboard_shortcuts_inhibitor_v1_interface_destroy_request,
610  },
611 };
612 
613 const wl_message zwp_keyboard_shortcuts_inhibitor_v1_interface_events[2] = {
614  {
615  "active",
616  "",
617  zwp_keyboard_shortcuts_inhibitor_v1_interface_active_event,
618  },
619  {
620  "inactive",
621  "",
622  zwp_keyboard_shortcuts_inhibitor_v1_interface_inactive_event,
623  },
624 };
625 
626 const wl_interface wayland::detail::zwp_keyboard_shortcuts_inhibitor_v1_interface =
627  {
628  "zwp_keyboard_shortcuts_inhibitor_v1",
629  1,
630  1,
631  zwp_keyboard_shortcuts_inhibitor_v1_interface_requests,
632  2,
633  zwp_keyboard_shortcuts_inhibitor_v1_interface_events,
634  };
635 
636 const wl_interface* zwp_linux_dmabuf_v1_interface_destroy_request[0] = {
637 };
638 
639 const wl_interface* zwp_linux_dmabuf_v1_interface_create_params_request[1] = {
640  &zwp_linux_buffer_params_v1_interface,
641 };
642 
643 const wl_interface* zwp_linux_dmabuf_v1_interface_get_default_feedback_request[1] = {
644  &zwp_linux_dmabuf_feedback_v1_interface,
645 };
646 
647 const wl_interface* zwp_linux_dmabuf_v1_interface_get_surface_feedback_request[2] = {
648  &zwp_linux_dmabuf_feedback_v1_interface,
649  &surface_interface,
650 };
651 
652 const wl_interface* zwp_linux_dmabuf_v1_interface_format_event[1] = {
653  nullptr,
654 };
655 
656 const wl_interface* zwp_linux_dmabuf_v1_interface_modifier_event[3] = {
657  nullptr,
658  nullptr,
659  nullptr,
660 };
661 
662 const wl_message zwp_linux_dmabuf_v1_interface_requests[4] = {
663  {
664  "destroy",
665  "",
666  zwp_linux_dmabuf_v1_interface_destroy_request,
667  },
668  {
669  "create_params",
670  "n",
671  zwp_linux_dmabuf_v1_interface_create_params_request,
672  },
673  {
674  "get_default_feedback",
675  "4n",
676  zwp_linux_dmabuf_v1_interface_get_default_feedback_request,
677  },
678  {
679  "get_surface_feedback",
680  "4no",
681  zwp_linux_dmabuf_v1_interface_get_surface_feedback_request,
682  },
683 };
684 
685 const wl_message zwp_linux_dmabuf_v1_interface_events[2] = {
686  {
687  "format",
688  "u",
689  zwp_linux_dmabuf_v1_interface_format_event,
690  },
691  {
692  "modifier",
693  "3uuu",
694  zwp_linux_dmabuf_v1_interface_modifier_event,
695  },
696 };
697 
698 const wl_interface wayland::detail::zwp_linux_dmabuf_v1_interface =
699  {
700  "zwp_linux_dmabuf_v1",
701  4,
702  4,
703  zwp_linux_dmabuf_v1_interface_requests,
704  2,
705  zwp_linux_dmabuf_v1_interface_events,
706  };
707 
708 const wl_interface* zwp_linux_buffer_params_v1_interface_destroy_request[0] = {
709 };
710 
711 const wl_interface* zwp_linux_buffer_params_v1_interface_add_request[6] = {
712  nullptr,
713  nullptr,
714  nullptr,
715  nullptr,
716  nullptr,
717  nullptr,
718 };
719 
720 const wl_interface* zwp_linux_buffer_params_v1_interface_create_request[4] = {
721  nullptr,
722  nullptr,
723  nullptr,
724  nullptr,
725 };
726 
727 const wl_interface* zwp_linux_buffer_params_v1_interface_create_immed_request[5] = {
728  &buffer_interface,
729  nullptr,
730  nullptr,
731  nullptr,
732  nullptr,
733 };
734 
735 const wl_interface* zwp_linux_buffer_params_v1_interface_created_event[1] = {
736  &buffer_interface,
737 };
738 
739 const wl_interface* zwp_linux_buffer_params_v1_interface_failed_event[0] = {
740 };
741 
742 const wl_message zwp_linux_buffer_params_v1_interface_requests[4] = {
743  {
744  "destroy",
745  "",
746  zwp_linux_buffer_params_v1_interface_destroy_request,
747  },
748  {
749  "add",
750  "huuuuu",
751  zwp_linux_buffer_params_v1_interface_add_request,
752  },
753  {
754  "create",
755  "iiuu",
756  zwp_linux_buffer_params_v1_interface_create_request,
757  },
758  {
759  "create_immed",
760  "2niiuu",
761  zwp_linux_buffer_params_v1_interface_create_immed_request,
762  },
763 };
764 
765 const wl_message zwp_linux_buffer_params_v1_interface_events[2] = {
766  {
767  "created",
768  "n",
769  zwp_linux_buffer_params_v1_interface_created_event,
770  },
771  {
772  "failed",
773  "",
774  zwp_linux_buffer_params_v1_interface_failed_event,
775  },
776 };
777 
778 const wl_interface wayland::detail::zwp_linux_buffer_params_v1_interface =
779  {
780  "zwp_linux_buffer_params_v1",
781  4,
782  4,
783  zwp_linux_buffer_params_v1_interface_requests,
784  2,
785  zwp_linux_buffer_params_v1_interface_events,
786  };
787 
788 const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_destroy_request[0] = {
789 };
790 
791 const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_done_event[0] = {
792 };
793 
794 const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_format_table_event[2] = {
795  nullptr,
796  nullptr,
797 };
798 
799 const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_main_device_event[1] = {
800  nullptr,
801 };
802 
803 const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_tranche_done_event[0] = {
804 };
805 
806 const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_tranche_target_device_event[1] = {
807  nullptr,
808 };
809 
810 const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_tranche_formats_event[1] = {
811  nullptr,
812 };
813 
814 const wl_interface* zwp_linux_dmabuf_feedback_v1_interface_tranche_flags_event[1] = {
815  nullptr,
816 };
817 
818 const wl_message zwp_linux_dmabuf_feedback_v1_interface_requests[1] = {
819  {
820  "destroy",
821  "",
822  zwp_linux_dmabuf_feedback_v1_interface_destroy_request,
823  },
824 };
825 
826 const wl_message zwp_linux_dmabuf_feedback_v1_interface_events[7] = {
827  {
828  "done",
829  "",
830  zwp_linux_dmabuf_feedback_v1_interface_done_event,
831  },
832  {
833  "format_table",
834  "hu",
835  zwp_linux_dmabuf_feedback_v1_interface_format_table_event,
836  },
837  {
838  "main_device",
839  "a",
840  zwp_linux_dmabuf_feedback_v1_interface_main_device_event,
841  },
842  {
843  "tranche_done",
844  "",
845  zwp_linux_dmabuf_feedback_v1_interface_tranche_done_event,
846  },
847  {
848  "tranche_target_device",
849  "a",
850  zwp_linux_dmabuf_feedback_v1_interface_tranche_target_device_event,
851  },
852  {
853  "tranche_formats",
854  "a",
855  zwp_linux_dmabuf_feedback_v1_interface_tranche_formats_event,
856  },
857  {
858  "tranche_flags",
859  "u",
860  zwp_linux_dmabuf_feedback_v1_interface_tranche_flags_event,
861  },
862 };
863 
864 const wl_interface wayland::detail::zwp_linux_dmabuf_feedback_v1_interface =
865  {
866  "zwp_linux_dmabuf_feedback_v1",
867  4,
868  1,
869  zwp_linux_dmabuf_feedback_v1_interface_requests,
870  7,
871  zwp_linux_dmabuf_feedback_v1_interface_events,
872  };
873 
874 const wl_interface* zwp_linux_explicit_synchronization_v1_interface_destroy_request[0] = {
875 };
876 
877 const wl_interface* zwp_linux_explicit_synchronization_v1_interface_get_synchronization_request[2] = {
878  &zwp_linux_surface_synchronization_v1_interface,
879  &surface_interface,
880 };
881 
882 const wl_message zwp_linux_explicit_synchronization_v1_interface_requests[2] = {
883  {
884  "destroy",
885  "",
886  zwp_linux_explicit_synchronization_v1_interface_destroy_request,
887  },
888  {
889  "get_synchronization",
890  "no",
891  zwp_linux_explicit_synchronization_v1_interface_get_synchronization_request,
892  },
893 };
894 
895 const wl_message zwp_linux_explicit_synchronization_v1_interface_events[0] = {
896 };
897 
898 const wl_interface wayland::detail::zwp_linux_explicit_synchronization_v1_interface =
899  {
900  "zwp_linux_explicit_synchronization_v1",
901  2,
902  2,
903  zwp_linux_explicit_synchronization_v1_interface_requests,
904  0,
905  zwp_linux_explicit_synchronization_v1_interface_events,
906  };
907 
908 const wl_interface* zwp_linux_surface_synchronization_v1_interface_destroy_request[0] = {
909 };
910 
911 const wl_interface* zwp_linux_surface_synchronization_v1_interface_set_acquire_fence_request[1] = {
912  nullptr,
913 };
914 
915 const wl_interface* zwp_linux_surface_synchronization_v1_interface_get_release_request[1] = {
916  &zwp_linux_buffer_release_v1_interface,
917 };
918 
919 const wl_message zwp_linux_surface_synchronization_v1_interface_requests[3] = {
920  {
921  "destroy",
922  "",
923  zwp_linux_surface_synchronization_v1_interface_destroy_request,
924  },
925  {
926  "set_acquire_fence",
927  "h",
928  zwp_linux_surface_synchronization_v1_interface_set_acquire_fence_request,
929  },
930  {
931  "get_release",
932  "n",
933  zwp_linux_surface_synchronization_v1_interface_get_release_request,
934  },
935 };
936 
937 const wl_message zwp_linux_surface_synchronization_v1_interface_events[0] = {
938 };
939 
940 const wl_interface wayland::detail::zwp_linux_surface_synchronization_v1_interface =
941  {
942  "zwp_linux_surface_synchronization_v1",
943  2,
944  3,
945  zwp_linux_surface_synchronization_v1_interface_requests,
946  0,
947  zwp_linux_surface_synchronization_v1_interface_events,
948  };
949 
950 const wl_interface* zwp_linux_buffer_release_v1_interface_fenced_release_event[1] = {
951  nullptr,
952 };
953 
954 const wl_interface* zwp_linux_buffer_release_v1_interface_immediate_release_event[0] = {
955 };
956 
957 const wl_message zwp_linux_buffer_release_v1_interface_requests[0] = {
958 };
959 
960 const wl_message zwp_linux_buffer_release_v1_interface_events[2] = {
961  {
962  "fenced_release",
963  "h",
964  zwp_linux_buffer_release_v1_interface_fenced_release_event,
965  },
966  {
967  "immediate_release",
968  "",
969  zwp_linux_buffer_release_v1_interface_immediate_release_event,
970  },
971 };
972 
973 const wl_interface wayland::detail::zwp_linux_buffer_release_v1_interface =
974  {
975  "zwp_linux_buffer_release_v1",
976  1,
977  0,
978  zwp_linux_buffer_release_v1_interface_requests,
979  2,
980  zwp_linux_buffer_release_v1_interface_events,
981  };
982 
983 const wl_interface* zwp_pointer_constraints_v1_interface_destroy_request[0] = {
984 };
985 
986 const wl_interface* zwp_pointer_constraints_v1_interface_lock_pointer_request[5] = {
987  &zwp_locked_pointer_v1_interface,
988  &surface_interface,
989  &pointer_interface,
990  &region_interface,
991  nullptr,
992 };
993 
994 const wl_interface* zwp_pointer_constraints_v1_interface_confine_pointer_request[5] = {
995  &zwp_confined_pointer_v1_interface,
996  &surface_interface,
997  &pointer_interface,
998  &region_interface,
999  nullptr,
1000 };
1001 
1002 const wl_message zwp_pointer_constraints_v1_interface_requests[3] = {
1003  {
1004  "destroy",
1005  "",
1006  zwp_pointer_constraints_v1_interface_destroy_request,
1007  },
1008  {
1009  "lock_pointer",
1010  "noo?ou",
1011  zwp_pointer_constraints_v1_interface_lock_pointer_request,
1012  },
1013  {
1014  "confine_pointer",
1015  "noo?ou",
1016  zwp_pointer_constraints_v1_interface_confine_pointer_request,
1017  },
1018 };
1019 
1020 const wl_message zwp_pointer_constraints_v1_interface_events[0] = {
1021 };
1022 
1023 const wl_interface wayland::detail::zwp_pointer_constraints_v1_interface =
1024  {
1025  "zwp_pointer_constraints_v1",
1026  1,
1027  3,
1028  zwp_pointer_constraints_v1_interface_requests,
1029  0,
1030  zwp_pointer_constraints_v1_interface_events,
1031  };
1032 
1033 const wl_interface* zwp_locked_pointer_v1_interface_destroy_request[0] = {
1034 };
1035 
1036 const wl_interface* zwp_locked_pointer_v1_interface_set_cursor_position_hint_request[2] = {
1037  nullptr,
1038  nullptr,
1039 };
1040 
1041 const wl_interface* zwp_locked_pointer_v1_interface_set_region_request[1] = {
1042  &region_interface,
1043 };
1044 
1045 const wl_interface* zwp_locked_pointer_v1_interface_locked_event[0] = {
1046 };
1047 
1048 const wl_interface* zwp_locked_pointer_v1_interface_unlocked_event[0] = {
1049 };
1050 
1051 const wl_message zwp_locked_pointer_v1_interface_requests[3] = {
1052  {
1053  "destroy",
1054  "",
1055  zwp_locked_pointer_v1_interface_destroy_request,
1056  },
1057  {
1058  "set_cursor_position_hint",
1059  "ff",
1060  zwp_locked_pointer_v1_interface_set_cursor_position_hint_request,
1061  },
1062  {
1063  "set_region",
1064  "?o",
1065  zwp_locked_pointer_v1_interface_set_region_request,
1066  },
1067 };
1068 
1069 const wl_message zwp_locked_pointer_v1_interface_events[2] = {
1070  {
1071  "locked",
1072  "",
1073  zwp_locked_pointer_v1_interface_locked_event,
1074  },
1075  {
1076  "unlocked",
1077  "",
1078  zwp_locked_pointer_v1_interface_unlocked_event,
1079  },
1080 };
1081 
1082 const wl_interface wayland::detail::zwp_locked_pointer_v1_interface =
1083  {
1084  "zwp_locked_pointer_v1",
1085  1,
1086  3,
1087  zwp_locked_pointer_v1_interface_requests,
1088  2,
1089  zwp_locked_pointer_v1_interface_events,
1090  };
1091 
1092 const wl_interface* zwp_confined_pointer_v1_interface_destroy_request[0] = {
1093 };
1094 
1095 const wl_interface* zwp_confined_pointer_v1_interface_set_region_request[1] = {
1096  &region_interface,
1097 };
1098 
1099 const wl_interface* zwp_confined_pointer_v1_interface_confined_event[0] = {
1100 };
1101 
1102 const wl_interface* zwp_confined_pointer_v1_interface_unconfined_event[0] = {
1103 };
1104 
1105 const wl_message zwp_confined_pointer_v1_interface_requests[2] = {
1106  {
1107  "destroy",
1108  "",
1109  zwp_confined_pointer_v1_interface_destroy_request,
1110  },
1111  {
1112  "set_region",
1113  "?o",
1114  zwp_confined_pointer_v1_interface_set_region_request,
1115  },
1116 };
1117 
1118 const wl_message zwp_confined_pointer_v1_interface_events[2] = {
1119  {
1120  "confined",
1121  "",
1122  zwp_confined_pointer_v1_interface_confined_event,
1123  },
1124  {
1125  "unconfined",
1126  "",
1127  zwp_confined_pointer_v1_interface_unconfined_event,
1128  },
1129 };
1130 
1131 const wl_interface wayland::detail::zwp_confined_pointer_v1_interface =
1132  {
1133  "zwp_confined_pointer_v1",
1134  1,
1135  2,
1136  zwp_confined_pointer_v1_interface_requests,
1137  2,
1138  zwp_confined_pointer_v1_interface_events,
1139  };
1140 
1141 const wl_interface* zwp_pointer_gestures_v1_interface_get_swipe_gesture_request[2] = {
1142  &zwp_pointer_gesture_swipe_v1_interface,
1143  &pointer_interface,
1144 };
1145 
1146 const wl_interface* zwp_pointer_gestures_v1_interface_get_pinch_gesture_request[2] = {
1147  &zwp_pointer_gesture_pinch_v1_interface,
1148  &pointer_interface,
1149 };
1150 
1151 const wl_interface* zwp_pointer_gestures_v1_interface_release_request[0] = {
1152 };
1153 
1154 const wl_interface* zwp_pointer_gestures_v1_interface_get_hold_gesture_request[2] = {
1155  &zwp_pointer_gesture_hold_v1_interface,
1156  &pointer_interface,
1157 };
1158 
1159 const wl_message zwp_pointer_gestures_v1_interface_requests[4] = {
1160  {
1161  "get_swipe_gesture",
1162  "no",
1163  zwp_pointer_gestures_v1_interface_get_swipe_gesture_request,
1164  },
1165  {
1166  "get_pinch_gesture",
1167  "no",
1168  zwp_pointer_gestures_v1_interface_get_pinch_gesture_request,
1169  },
1170  {
1171  "release",
1172  "2",
1173  zwp_pointer_gestures_v1_interface_release_request,
1174  },
1175  {
1176  "get_hold_gesture",
1177  "3no",
1178  zwp_pointer_gestures_v1_interface_get_hold_gesture_request,
1179  },
1180 };
1181 
1182 const wl_message zwp_pointer_gestures_v1_interface_events[0] = {
1183 };
1184 
1185 const wl_interface wayland::detail::zwp_pointer_gestures_v1_interface =
1186  {
1187  "zwp_pointer_gestures_v1",
1188  3,
1189  4,
1190  zwp_pointer_gestures_v1_interface_requests,
1191  0,
1192  zwp_pointer_gestures_v1_interface_events,
1193  };
1194 
1195 const wl_interface* zwp_pointer_gesture_swipe_v1_interface_destroy_request[0] = {
1196 };
1197 
1198 const wl_interface* zwp_pointer_gesture_swipe_v1_interface_begin_event[4] = {
1199  nullptr,
1200  nullptr,
1201  &surface_interface,
1202  nullptr,
1203 };
1204 
1205 const wl_interface* zwp_pointer_gesture_swipe_v1_interface_update_event[3] = {
1206  nullptr,
1207  nullptr,
1208  nullptr,
1209 };
1210 
1211 const wl_interface* zwp_pointer_gesture_swipe_v1_interface_end_event[3] = {
1212  nullptr,
1213  nullptr,
1214  nullptr,
1215 };
1216 
1217 const wl_message zwp_pointer_gesture_swipe_v1_interface_requests[1] = {
1218  {
1219  "destroy",
1220  "",
1221  zwp_pointer_gesture_swipe_v1_interface_destroy_request,
1222  },
1223 };
1224 
1225 const wl_message zwp_pointer_gesture_swipe_v1_interface_events[3] = {
1226  {
1227  "begin",
1228  "uuou",
1229  zwp_pointer_gesture_swipe_v1_interface_begin_event,
1230  },
1231  {
1232  "update",
1233  "uff",
1234  zwp_pointer_gesture_swipe_v1_interface_update_event,
1235  },
1236  {
1237  "end",
1238  "uui",
1239  zwp_pointer_gesture_swipe_v1_interface_end_event,
1240  },
1241 };
1242 
1243 const wl_interface wayland::detail::zwp_pointer_gesture_swipe_v1_interface =
1244  {
1245  "zwp_pointer_gesture_swipe_v1",
1246  2,
1247  1,
1248  zwp_pointer_gesture_swipe_v1_interface_requests,
1249  3,
1250  zwp_pointer_gesture_swipe_v1_interface_events,
1251  };
1252 
1253 const wl_interface* zwp_pointer_gesture_pinch_v1_interface_destroy_request[0] = {
1254 };
1255 
1256 const wl_interface* zwp_pointer_gesture_pinch_v1_interface_begin_event[4] = {
1257  nullptr,
1258  nullptr,
1259  &surface_interface,
1260  nullptr,
1261 };
1262 
1263 const wl_interface* zwp_pointer_gesture_pinch_v1_interface_update_event[5] = {
1264  nullptr,
1265  nullptr,
1266  nullptr,
1267  nullptr,
1268  nullptr,
1269 };
1270 
1271 const wl_interface* zwp_pointer_gesture_pinch_v1_interface_end_event[3] = {
1272  nullptr,
1273  nullptr,
1274  nullptr,
1275 };
1276 
1277 const wl_message zwp_pointer_gesture_pinch_v1_interface_requests[1] = {
1278  {
1279  "destroy",
1280  "",
1281  zwp_pointer_gesture_pinch_v1_interface_destroy_request,
1282  },
1283 };
1284 
1285 const wl_message zwp_pointer_gesture_pinch_v1_interface_events[3] = {
1286  {
1287  "begin",
1288  "uuou",
1289  zwp_pointer_gesture_pinch_v1_interface_begin_event,
1290  },
1291  {
1292  "update",
1293  "uffff",
1294  zwp_pointer_gesture_pinch_v1_interface_update_event,
1295  },
1296  {
1297  "end",
1298  "uui",
1299  zwp_pointer_gesture_pinch_v1_interface_end_event,
1300  },
1301 };
1302 
1303 const wl_interface wayland::detail::zwp_pointer_gesture_pinch_v1_interface =
1304  {
1305  "zwp_pointer_gesture_pinch_v1",
1306  2,
1307  1,
1308  zwp_pointer_gesture_pinch_v1_interface_requests,
1309  3,
1310  zwp_pointer_gesture_pinch_v1_interface_events,
1311  };
1312 
1313 const wl_interface* zwp_pointer_gesture_hold_v1_interface_destroy_request[0] = {
1314 };
1315 
1316 const wl_interface* zwp_pointer_gesture_hold_v1_interface_begin_event[4] = {
1317  nullptr,
1318  nullptr,
1319  &surface_interface,
1320  nullptr,
1321 };
1322 
1323 const wl_interface* zwp_pointer_gesture_hold_v1_interface_end_event[3] = {
1324  nullptr,
1325  nullptr,
1326  nullptr,
1327 };
1328 
1329 const wl_message zwp_pointer_gesture_hold_v1_interface_requests[1] = {
1330  {
1331  "destroy",
1332  "3",
1333  zwp_pointer_gesture_hold_v1_interface_destroy_request,
1334  },
1335 };
1336 
1337 const wl_message zwp_pointer_gesture_hold_v1_interface_events[2] = {
1338  {
1339  "begin",
1340  "3uuou",
1341  zwp_pointer_gesture_hold_v1_interface_begin_event,
1342  },
1343  {
1344  "end",
1345  "3uui",
1346  zwp_pointer_gesture_hold_v1_interface_end_event,
1347  },
1348 };
1349 
1350 const wl_interface wayland::detail::zwp_pointer_gesture_hold_v1_interface =
1351  {
1352  "zwp_pointer_gesture_hold_v1",
1353  3,
1354  1,
1355  zwp_pointer_gesture_hold_v1_interface_requests,
1356  2,
1357  zwp_pointer_gesture_hold_v1_interface_events,
1358  };
1359 
1360 const wl_interface* zwp_primary_selection_device_manager_v1_interface_create_source_request[1] = {
1361  &zwp_primary_selection_source_v1_interface,
1362 };
1363 
1364 const wl_interface* zwp_primary_selection_device_manager_v1_interface_get_device_request[2] = {
1365  &zwp_primary_selection_device_v1_interface,
1366  &seat_interface,
1367 };
1368 
1369 const wl_interface* zwp_primary_selection_device_manager_v1_interface_destroy_request[0] = {
1370 };
1371 
1372 const wl_message zwp_primary_selection_device_manager_v1_interface_requests[3] = {
1373  {
1374  "create_source",
1375  "n",
1376  zwp_primary_selection_device_manager_v1_interface_create_source_request,
1377  },
1378  {
1379  "get_device",
1380  "no",
1381  zwp_primary_selection_device_manager_v1_interface_get_device_request,
1382  },
1383  {
1384  "destroy",
1385  "",
1386  zwp_primary_selection_device_manager_v1_interface_destroy_request,
1387  },
1388 };
1389 
1390 const wl_message zwp_primary_selection_device_manager_v1_interface_events[0] = {
1391 };
1392 
1393 const wl_interface wayland::detail::zwp_primary_selection_device_manager_v1_interface =
1394  {
1395  "zwp_primary_selection_device_manager_v1",
1396  1,
1397  3,
1398  zwp_primary_selection_device_manager_v1_interface_requests,
1399  0,
1400  zwp_primary_selection_device_manager_v1_interface_events,
1401  };
1402 
1403 const wl_interface* zwp_primary_selection_device_v1_interface_set_selection_request[2] = {
1404  &zwp_primary_selection_source_v1_interface,
1405  nullptr,
1406 };
1407 
1408 const wl_interface* zwp_primary_selection_device_v1_interface_destroy_request[0] = {
1409 };
1410 
1411 const wl_interface* zwp_primary_selection_device_v1_interface_data_offer_event[1] = {
1412  &zwp_primary_selection_offer_v1_interface,
1413 };
1414 
1415 const wl_interface* zwp_primary_selection_device_v1_interface_selection_event[1] = {
1416  &zwp_primary_selection_offer_v1_interface,
1417 };
1418 
1419 const wl_message zwp_primary_selection_device_v1_interface_requests[2] = {
1420  {
1421  "set_selection",
1422  "?ou",
1423  zwp_primary_selection_device_v1_interface_set_selection_request,
1424  },
1425  {
1426  "destroy",
1427  "",
1428  zwp_primary_selection_device_v1_interface_destroy_request,
1429  },
1430 };
1431 
1432 const wl_message zwp_primary_selection_device_v1_interface_events[2] = {
1433  {
1434  "data_offer",
1435  "n",
1436  zwp_primary_selection_device_v1_interface_data_offer_event,
1437  },
1438  {
1439  "selection",
1440  "?o",
1441  zwp_primary_selection_device_v1_interface_selection_event,
1442  },
1443 };
1444 
1445 const wl_interface wayland::detail::zwp_primary_selection_device_v1_interface =
1446  {
1447  "zwp_primary_selection_device_v1",
1448  1,
1449  2,
1450  zwp_primary_selection_device_v1_interface_requests,
1451  2,
1452  zwp_primary_selection_device_v1_interface_events,
1453  };
1454 
1455 const wl_interface* zwp_primary_selection_offer_v1_interface_receive_request[2] = {
1456  nullptr,
1457  nullptr,
1458 };
1459 
1460 const wl_interface* zwp_primary_selection_offer_v1_interface_destroy_request[0] = {
1461 };
1462 
1463 const wl_interface* zwp_primary_selection_offer_v1_interface_offer_event[1] = {
1464  nullptr,
1465 };
1466 
1467 const wl_message zwp_primary_selection_offer_v1_interface_requests[2] = {
1468  {
1469  "receive",
1470  "sh",
1471  zwp_primary_selection_offer_v1_interface_receive_request,
1472  },
1473  {
1474  "destroy",
1475  "",
1476  zwp_primary_selection_offer_v1_interface_destroy_request,
1477  },
1478 };
1479 
1480 const wl_message zwp_primary_selection_offer_v1_interface_events[1] = {
1481  {
1482  "offer",
1483  "s",
1484  zwp_primary_selection_offer_v1_interface_offer_event,
1485  },
1486 };
1487 
1488 const wl_interface wayland::detail::zwp_primary_selection_offer_v1_interface =
1489  {
1490  "zwp_primary_selection_offer_v1",
1491  1,
1492  2,
1493  zwp_primary_selection_offer_v1_interface_requests,
1494  1,
1495  zwp_primary_selection_offer_v1_interface_events,
1496  };
1497 
1498 const wl_interface* zwp_primary_selection_source_v1_interface_offer_request[1] = {
1499  nullptr,
1500 };
1501 
1502 const wl_interface* zwp_primary_selection_source_v1_interface_destroy_request[0] = {
1503 };
1504 
1505 const wl_interface* zwp_primary_selection_source_v1_interface_send_event[2] = {
1506  nullptr,
1507  nullptr,
1508 };
1509 
1510 const wl_interface* zwp_primary_selection_source_v1_interface_cancelled_event[0] = {
1511 };
1512 
1513 const wl_message zwp_primary_selection_source_v1_interface_requests[2] = {
1514  {
1515  "offer",
1516  "s",
1517  zwp_primary_selection_source_v1_interface_offer_request,
1518  },
1519  {
1520  "destroy",
1521  "",
1522  zwp_primary_selection_source_v1_interface_destroy_request,
1523  },
1524 };
1525 
1526 const wl_message zwp_primary_selection_source_v1_interface_events[2] = {
1527  {
1528  "send",
1529  "sh",
1530  zwp_primary_selection_source_v1_interface_send_event,
1531  },
1532  {
1533  "cancelled",
1534  "",
1535  zwp_primary_selection_source_v1_interface_cancelled_event,
1536  },
1537 };
1538 
1539 const wl_interface wayland::detail::zwp_primary_selection_source_v1_interface =
1540  {
1541  "zwp_primary_selection_source_v1",
1542  1,
1543  2,
1544  zwp_primary_selection_source_v1_interface_requests,
1545  2,
1546  zwp_primary_selection_source_v1_interface_events,
1547  };
1548 
1549 const wl_interface* zwp_relative_pointer_manager_v1_interface_destroy_request[0] = {
1550 };
1551 
1552 const wl_interface* zwp_relative_pointer_manager_v1_interface_get_relative_pointer_request[2] = {
1553  &zwp_relative_pointer_v1_interface,
1554  &pointer_interface,
1555 };
1556 
1557 const wl_message zwp_relative_pointer_manager_v1_interface_requests[2] = {
1558  {
1559  "destroy",
1560  "",
1561  zwp_relative_pointer_manager_v1_interface_destroy_request,
1562  },
1563  {
1564  "get_relative_pointer",
1565  "no",
1566  zwp_relative_pointer_manager_v1_interface_get_relative_pointer_request,
1567  },
1568 };
1569 
1570 const wl_message zwp_relative_pointer_manager_v1_interface_events[0] = {
1571 };
1572 
1573 const wl_interface wayland::detail::zwp_relative_pointer_manager_v1_interface =
1574  {
1575  "zwp_relative_pointer_manager_v1",
1576  1,
1577  2,
1578  zwp_relative_pointer_manager_v1_interface_requests,
1579  0,
1580  zwp_relative_pointer_manager_v1_interface_events,
1581  };
1582 
1583 const wl_interface* zwp_relative_pointer_v1_interface_destroy_request[0] = {
1584 };
1585 
1586 const wl_interface* zwp_relative_pointer_v1_interface_relative_motion_event[6] = {
1587  nullptr,
1588  nullptr,
1589  nullptr,
1590  nullptr,
1591  nullptr,
1592  nullptr,
1593 };
1594 
1595 const wl_message zwp_relative_pointer_v1_interface_requests[1] = {
1596  {
1597  "destroy",
1598  "",
1599  zwp_relative_pointer_v1_interface_destroy_request,
1600  },
1601 };
1602 
1603 const wl_message zwp_relative_pointer_v1_interface_events[1] = {
1604  {
1605  "relative_motion",
1606  "uuffff",
1607  zwp_relative_pointer_v1_interface_relative_motion_event,
1608  },
1609 };
1610 
1611 const wl_interface wayland::detail::zwp_relative_pointer_v1_interface =
1612  {
1613  "zwp_relative_pointer_v1",
1614  1,
1615  1,
1616  zwp_relative_pointer_v1_interface_requests,
1617  1,
1618  zwp_relative_pointer_v1_interface_events,
1619  };
1620 
1621 const wl_interface* zwp_tablet_manager_v1_interface_get_tablet_seat_request[2] = {
1622  &zwp_tablet_seat_v1_interface,
1623  &seat_interface,
1624 };
1625 
1626 const wl_interface* zwp_tablet_manager_v1_interface_destroy_request[0] = {
1627 };
1628 
1629 const wl_message zwp_tablet_manager_v1_interface_requests[2] = {
1630  {
1631  "get_tablet_seat",
1632  "no",
1633  zwp_tablet_manager_v1_interface_get_tablet_seat_request,
1634  },
1635  {
1636  "destroy",
1637  "",
1638  zwp_tablet_manager_v1_interface_destroy_request,
1639  },
1640 };
1641 
1642 const wl_message zwp_tablet_manager_v1_interface_events[0] = {
1643 };
1644 
1645 const wl_interface wayland::detail::zwp_tablet_manager_v1_interface =
1646  {
1647  "zwp_tablet_manager_v1",
1648  1,
1649  2,
1650  zwp_tablet_manager_v1_interface_requests,
1651  0,
1652  zwp_tablet_manager_v1_interface_events,
1653  };
1654 
1655 const wl_interface* zwp_tablet_seat_v1_interface_destroy_request[0] = {
1656 };
1657 
1658 const wl_interface* zwp_tablet_seat_v1_interface_tablet_added_event[1] = {
1659  &zwp_tablet_v1_interface,
1660 };
1661 
1662 const wl_interface* zwp_tablet_seat_v1_interface_tool_added_event[1] = {
1663  &zwp_tablet_tool_v1_interface,
1664 };
1665 
1666 const wl_message zwp_tablet_seat_v1_interface_requests[1] = {
1667  {
1668  "destroy",
1669  "",
1670  zwp_tablet_seat_v1_interface_destroy_request,
1671  },
1672 };
1673 
1674 const wl_message zwp_tablet_seat_v1_interface_events[2] = {
1675  {
1676  "tablet_added",
1677  "n",
1678  zwp_tablet_seat_v1_interface_tablet_added_event,
1679  },
1680  {
1681  "tool_added",
1682  "n",
1683  zwp_tablet_seat_v1_interface_tool_added_event,
1684  },
1685 };
1686 
1687 const wl_interface wayland::detail::zwp_tablet_seat_v1_interface =
1688  {
1689  "zwp_tablet_seat_v1",
1690  1,
1691  1,
1692  zwp_tablet_seat_v1_interface_requests,
1693  2,
1694  zwp_tablet_seat_v1_interface_events,
1695  };
1696 
1697 const wl_interface* zwp_tablet_tool_v1_interface_set_cursor_request[4] = {
1698  nullptr,
1699  &surface_interface,
1700  nullptr,
1701  nullptr,
1702 };
1703 
1704 const wl_interface* zwp_tablet_tool_v1_interface_destroy_request[0] = {
1705 };
1706 
1707 const wl_interface* zwp_tablet_tool_v1_interface_type_event[1] = {
1708  nullptr,
1709 };
1710 
1711 const wl_interface* zwp_tablet_tool_v1_interface_hardware_serial_event[2] = {
1712  nullptr,
1713  nullptr,
1714 };
1715 
1716 const wl_interface* zwp_tablet_tool_v1_interface_hardware_id_wacom_event[2] = {
1717  nullptr,
1718  nullptr,
1719 };
1720 
1721 const wl_interface* zwp_tablet_tool_v1_interface_capability_event[1] = {
1722  nullptr,
1723 };
1724 
1725 const wl_interface* zwp_tablet_tool_v1_interface_done_event[0] = {
1726 };
1727 
1728 const wl_interface* zwp_tablet_tool_v1_interface_removed_event[0] = {
1729 };
1730 
1731 const wl_interface* zwp_tablet_tool_v1_interface_proximity_in_event[3] = {
1732  nullptr,
1733  &zwp_tablet_v1_interface,
1734  &surface_interface,
1735 };
1736 
1737 const wl_interface* zwp_tablet_tool_v1_interface_proximity_out_event[0] = {
1738 };
1739 
1740 const wl_interface* zwp_tablet_tool_v1_interface_down_event[1] = {
1741  nullptr,
1742 };
1743 
1744 const wl_interface* zwp_tablet_tool_v1_interface_up_event[0] = {
1745 };
1746 
1747 const wl_interface* zwp_tablet_tool_v1_interface_motion_event[2] = {
1748  nullptr,
1749  nullptr,
1750 };
1751 
1752 const wl_interface* zwp_tablet_tool_v1_interface_pressure_event[1] = {
1753  nullptr,
1754 };
1755 
1756 const wl_interface* zwp_tablet_tool_v1_interface_distance_event[1] = {
1757  nullptr,
1758 };
1759 
1760 const wl_interface* zwp_tablet_tool_v1_interface_tilt_event[2] = {
1761  nullptr,
1762  nullptr,
1763 };
1764 
1765 const wl_interface* zwp_tablet_tool_v1_interface_rotation_event[1] = {
1766  nullptr,
1767 };
1768 
1769 const wl_interface* zwp_tablet_tool_v1_interface_slider_event[1] = {
1770  nullptr,
1771 };
1772 
1773 const wl_interface* zwp_tablet_tool_v1_interface_wheel_event[2] = {
1774  nullptr,
1775  nullptr,
1776 };
1777 
1778 const wl_interface* zwp_tablet_tool_v1_interface_button_event[3] = {
1779  nullptr,
1780  nullptr,
1781  nullptr,
1782 };
1783 
1784 const wl_interface* zwp_tablet_tool_v1_interface_frame_event[1] = {
1785  nullptr,
1786 };
1787 
1788 const wl_message zwp_tablet_tool_v1_interface_requests[2] = {
1789  {
1790  "set_cursor",
1791  "u?oii",
1792  zwp_tablet_tool_v1_interface_set_cursor_request,
1793  },
1794  {
1795  "destroy",
1796  "",
1797  zwp_tablet_tool_v1_interface_destroy_request,
1798  },
1799 };
1800 
1801 const wl_message zwp_tablet_tool_v1_interface_events[19] = {
1802  {
1803  "type",
1804  "u",
1805  zwp_tablet_tool_v1_interface_type_event,
1806  },
1807  {
1808  "hardware_serial",
1809  "uu",
1810  zwp_tablet_tool_v1_interface_hardware_serial_event,
1811  },
1812  {
1813  "hardware_id_wacom",
1814  "uu",
1815  zwp_tablet_tool_v1_interface_hardware_id_wacom_event,
1816  },
1817  {
1818  "capability",
1819  "u",
1820  zwp_tablet_tool_v1_interface_capability_event,
1821  },
1822  {
1823  "done",
1824  "",
1825  zwp_tablet_tool_v1_interface_done_event,
1826  },
1827  {
1828  "removed",
1829  "",
1830  zwp_tablet_tool_v1_interface_removed_event,
1831  },
1832  {
1833  "proximity_in",
1834  "uoo",
1835  zwp_tablet_tool_v1_interface_proximity_in_event,
1836  },
1837  {
1838  "proximity_out",
1839  "",
1840  zwp_tablet_tool_v1_interface_proximity_out_event,
1841  },
1842  {
1843  "down",
1844  "u",
1845  zwp_tablet_tool_v1_interface_down_event,
1846  },
1847  {
1848  "up",
1849  "",
1850  zwp_tablet_tool_v1_interface_up_event,
1851  },
1852  {
1853  "motion",
1854  "ff",
1855  zwp_tablet_tool_v1_interface_motion_event,
1856  },
1857  {
1858  "pressure",
1859  "u",
1860  zwp_tablet_tool_v1_interface_pressure_event,
1861  },
1862  {
1863  "distance",
1864  "u",
1865  zwp_tablet_tool_v1_interface_distance_event,
1866  },
1867  {
1868  "tilt",
1869  "ii",
1870  zwp_tablet_tool_v1_interface_tilt_event,
1871  },
1872  {
1873  "rotation",
1874  "i",
1875  zwp_tablet_tool_v1_interface_rotation_event,
1876  },
1877  {
1878  "slider",
1879  "i",
1880  zwp_tablet_tool_v1_interface_slider_event,
1881  },
1882  {
1883  "wheel",
1884  "ii",
1885  zwp_tablet_tool_v1_interface_wheel_event,
1886  },
1887  {
1888  "button",
1889  "uuu",
1890  zwp_tablet_tool_v1_interface_button_event,
1891  },
1892  {
1893  "frame",
1894  "u",
1895  zwp_tablet_tool_v1_interface_frame_event,
1896  },
1897 };
1898 
1899 const wl_interface wayland::detail::zwp_tablet_tool_v1_interface =
1900  {
1901  "zwp_tablet_tool_v1",
1902  1,
1903  2,
1904  zwp_tablet_tool_v1_interface_requests,
1905  19,
1906  zwp_tablet_tool_v1_interface_events,
1907  };
1908 
1909 const wl_interface* zwp_tablet_v1_interface_destroy_request[0] = {
1910 };
1911 
1912 const wl_interface* zwp_tablet_v1_interface_name_event[1] = {
1913  nullptr,
1914 };
1915 
1916 const wl_interface* zwp_tablet_v1_interface_id_event[2] = {
1917  nullptr,
1918  nullptr,
1919 };
1920 
1921 const wl_interface* zwp_tablet_v1_interface_path_event[1] = {
1922  nullptr,
1923 };
1924 
1925 const wl_interface* zwp_tablet_v1_interface_done_event[0] = {
1926 };
1927 
1928 const wl_interface* zwp_tablet_v1_interface_removed_event[0] = {
1929 };
1930 
1931 const wl_message zwp_tablet_v1_interface_requests[1] = {
1932  {
1933  "destroy",
1934  "",
1935  zwp_tablet_v1_interface_destroy_request,
1936  },
1937 };
1938 
1939 const wl_message zwp_tablet_v1_interface_events[5] = {
1940  {
1941  "name",
1942  "s",
1943  zwp_tablet_v1_interface_name_event,
1944  },
1945  {
1946  "id",
1947  "uu",
1948  zwp_tablet_v1_interface_id_event,
1949  },
1950  {
1951  "path",
1952  "s",
1953  zwp_tablet_v1_interface_path_event,
1954  },
1955  {
1956  "done",
1957  "",
1958  zwp_tablet_v1_interface_done_event,
1959  },
1960  {
1961  "removed",
1962  "",
1963  zwp_tablet_v1_interface_removed_event,
1964  },
1965 };
1966 
1967 const wl_interface wayland::detail::zwp_tablet_v1_interface =
1968  {
1969  "zwp_tablet_v1",
1970  1,
1971  1,
1972  zwp_tablet_v1_interface_requests,
1973  5,
1974  zwp_tablet_v1_interface_events,
1975  };
1976 
1977 const wl_interface* zwp_tablet_manager_v2_interface_get_tablet_seat_request[2] = {
1978  &zwp_tablet_seat_v2_interface,
1979  &seat_interface,
1980 };
1981 
1982 const wl_interface* zwp_tablet_manager_v2_interface_destroy_request[0] = {
1983 };
1984 
1985 const wl_message zwp_tablet_manager_v2_interface_requests[2] = {
1986  {
1987  "get_tablet_seat",
1988  "no",
1989  zwp_tablet_manager_v2_interface_get_tablet_seat_request,
1990  },
1991  {
1992  "destroy",
1993  "",
1994  zwp_tablet_manager_v2_interface_destroy_request,
1995  },
1996 };
1997 
1998 const wl_message zwp_tablet_manager_v2_interface_events[0] = {
1999 };
2000 
2001 const wl_interface wayland::detail::zwp_tablet_manager_v2_interface =
2002  {
2003  "zwp_tablet_manager_v2",
2004  1,
2005  2,
2006  zwp_tablet_manager_v2_interface_requests,
2007  0,
2008  zwp_tablet_manager_v2_interface_events,
2009  };
2010 
2011 const wl_interface* zwp_tablet_seat_v2_interface_destroy_request[0] = {
2012 };
2013 
2014 const wl_interface* zwp_tablet_seat_v2_interface_tablet_added_event[1] = {
2015  &zwp_tablet_v2_interface,
2016 };
2017 
2018 const wl_interface* zwp_tablet_seat_v2_interface_tool_added_event[1] = {
2019  &zwp_tablet_tool_v2_interface,
2020 };
2021 
2022 const wl_interface* zwp_tablet_seat_v2_interface_pad_added_event[1] = {
2023  &zwp_tablet_pad_v2_interface,
2024 };
2025 
2026 const wl_message zwp_tablet_seat_v2_interface_requests[1] = {
2027  {
2028  "destroy",
2029  "",
2030  zwp_tablet_seat_v2_interface_destroy_request,
2031  },
2032 };
2033 
2034 const wl_message zwp_tablet_seat_v2_interface_events[3] = {
2035  {
2036  "tablet_added",
2037  "n",
2038  zwp_tablet_seat_v2_interface_tablet_added_event,
2039  },
2040  {
2041  "tool_added",
2042  "n",
2043  zwp_tablet_seat_v2_interface_tool_added_event,
2044  },
2045  {
2046  "pad_added",
2047  "n",
2048  zwp_tablet_seat_v2_interface_pad_added_event,
2049  },
2050 };
2051 
2052 const wl_interface wayland::detail::zwp_tablet_seat_v2_interface =
2053  {
2054  "zwp_tablet_seat_v2",
2055  1,
2056  1,
2057  zwp_tablet_seat_v2_interface_requests,
2058  3,
2059  zwp_tablet_seat_v2_interface_events,
2060  };
2061 
2062 const wl_interface* zwp_tablet_tool_v2_interface_set_cursor_request[4] = {
2063  nullptr,
2064  &surface_interface,
2065  nullptr,
2066  nullptr,
2067 };
2068 
2069 const wl_interface* zwp_tablet_tool_v2_interface_destroy_request[0] = {
2070 };
2071 
2072 const wl_interface* zwp_tablet_tool_v2_interface_type_event[1] = {
2073  nullptr,
2074 };
2075 
2076 const wl_interface* zwp_tablet_tool_v2_interface_hardware_serial_event[2] = {
2077  nullptr,
2078  nullptr,
2079 };
2080 
2081 const wl_interface* zwp_tablet_tool_v2_interface_hardware_id_wacom_event[2] = {
2082  nullptr,
2083  nullptr,
2084 };
2085 
2086 const wl_interface* zwp_tablet_tool_v2_interface_capability_event[1] = {
2087  nullptr,
2088 };
2089 
2090 const wl_interface* zwp_tablet_tool_v2_interface_done_event[0] = {
2091 };
2092 
2093 const wl_interface* zwp_tablet_tool_v2_interface_removed_event[0] = {
2094 };
2095 
2096 const wl_interface* zwp_tablet_tool_v2_interface_proximity_in_event[3] = {
2097  nullptr,
2098  &zwp_tablet_v2_interface,
2099  &surface_interface,
2100 };
2101 
2102 const wl_interface* zwp_tablet_tool_v2_interface_proximity_out_event[0] = {
2103 };
2104 
2105 const wl_interface* zwp_tablet_tool_v2_interface_down_event[1] = {
2106  nullptr,
2107 };
2108 
2109 const wl_interface* zwp_tablet_tool_v2_interface_up_event[0] = {
2110 };
2111 
2112 const wl_interface* zwp_tablet_tool_v2_interface_motion_event[2] = {
2113  nullptr,
2114  nullptr,
2115 };
2116 
2117 const wl_interface* zwp_tablet_tool_v2_interface_pressure_event[1] = {
2118  nullptr,
2119 };
2120 
2121 const wl_interface* zwp_tablet_tool_v2_interface_distance_event[1] = {
2122  nullptr,
2123 };
2124 
2125 const wl_interface* zwp_tablet_tool_v2_interface_tilt_event[2] = {
2126  nullptr,
2127  nullptr,
2128 };
2129 
2130 const wl_interface* zwp_tablet_tool_v2_interface_rotation_event[1] = {
2131  nullptr,
2132 };
2133 
2134 const wl_interface* zwp_tablet_tool_v2_interface_slider_event[1] = {
2135  nullptr,
2136 };
2137 
2138 const wl_interface* zwp_tablet_tool_v2_interface_wheel_event[2] = {
2139  nullptr,
2140  nullptr,
2141 };
2142 
2143 const wl_interface* zwp_tablet_tool_v2_interface_button_event[3] = {
2144  nullptr,
2145  nullptr,
2146  nullptr,
2147 };
2148 
2149 const wl_interface* zwp_tablet_tool_v2_interface_frame_event[1] = {
2150  nullptr,
2151 };
2152 
2153 const wl_message zwp_tablet_tool_v2_interface_requests[2] = {
2154  {
2155  "set_cursor",
2156  "u?oii",
2157  zwp_tablet_tool_v2_interface_set_cursor_request,
2158  },
2159  {
2160  "destroy",
2161  "",
2162  zwp_tablet_tool_v2_interface_destroy_request,
2163  },
2164 };
2165 
2166 const wl_message zwp_tablet_tool_v2_interface_events[19] = {
2167  {
2168  "type",
2169  "u",
2170  zwp_tablet_tool_v2_interface_type_event,
2171  },
2172  {
2173  "hardware_serial",
2174  "uu",
2175  zwp_tablet_tool_v2_interface_hardware_serial_event,
2176  },
2177  {
2178  "hardware_id_wacom",
2179  "uu",
2180  zwp_tablet_tool_v2_interface_hardware_id_wacom_event,
2181  },
2182  {
2183  "capability",
2184  "u",
2185  zwp_tablet_tool_v2_interface_capability_event,
2186  },
2187  {
2188  "done",
2189  "",
2190  zwp_tablet_tool_v2_interface_done_event,
2191  },
2192  {
2193  "removed",
2194  "",
2195  zwp_tablet_tool_v2_interface_removed_event,
2196  },
2197  {
2198  "proximity_in",
2199  "uoo",
2200  zwp_tablet_tool_v2_interface_proximity_in_event,
2201  },
2202  {
2203  "proximity_out",
2204  "",
2205  zwp_tablet_tool_v2_interface_proximity_out_event,
2206  },
2207  {
2208  "down",
2209  "u",
2210  zwp_tablet_tool_v2_interface_down_event,
2211  },
2212  {
2213  "up",
2214  "",
2215  zwp_tablet_tool_v2_interface_up_event,
2216  },
2217  {
2218  "motion",
2219  "ff",
2220  zwp_tablet_tool_v2_interface_motion_event,
2221  },
2222  {
2223  "pressure",
2224  "u",
2225  zwp_tablet_tool_v2_interface_pressure_event,
2226  },
2227  {
2228  "distance",
2229  "u",
2230  zwp_tablet_tool_v2_interface_distance_event,
2231  },
2232  {
2233  "tilt",
2234  "ff",
2235  zwp_tablet_tool_v2_interface_tilt_event,
2236  },
2237  {
2238  "rotation",
2239  "f",
2240  zwp_tablet_tool_v2_interface_rotation_event,
2241  },
2242  {
2243  "slider",
2244  "i",
2245  zwp_tablet_tool_v2_interface_slider_event,
2246  },
2247  {
2248  "wheel",
2249  "fi",
2250  zwp_tablet_tool_v2_interface_wheel_event,
2251  },
2252  {
2253  "button",
2254  "uuu",
2255  zwp_tablet_tool_v2_interface_button_event,
2256  },
2257  {
2258  "frame",
2259  "u",
2260  zwp_tablet_tool_v2_interface_frame_event,
2261  },
2262 };
2263 
2264 const wl_interface wayland::detail::zwp_tablet_tool_v2_interface =
2265  {
2266  "zwp_tablet_tool_v2",
2267  1,
2268  2,
2269  zwp_tablet_tool_v2_interface_requests,
2270  19,
2271  zwp_tablet_tool_v2_interface_events,
2272  };
2273 
2274 const wl_interface* zwp_tablet_v2_interface_destroy_request[0] = {
2275 };
2276 
2277 const wl_interface* zwp_tablet_v2_interface_name_event[1] = {
2278  nullptr,
2279 };
2280 
2281 const wl_interface* zwp_tablet_v2_interface_id_event[2] = {
2282  nullptr,
2283  nullptr,
2284 };
2285 
2286 const wl_interface* zwp_tablet_v2_interface_path_event[1] = {
2287  nullptr,
2288 };
2289 
2290 const wl_interface* zwp_tablet_v2_interface_done_event[0] = {
2291 };
2292 
2293 const wl_interface* zwp_tablet_v2_interface_removed_event[0] = {
2294 };
2295 
2296 const wl_message zwp_tablet_v2_interface_requests[1] = {
2297  {
2298  "destroy",
2299  "",
2300  zwp_tablet_v2_interface_destroy_request,
2301  },
2302 };
2303 
2304 const wl_message zwp_tablet_v2_interface_events[5] = {
2305  {
2306  "name",
2307  "s",
2308  zwp_tablet_v2_interface_name_event,
2309  },
2310  {
2311  "id",
2312  "uu",
2313  zwp_tablet_v2_interface_id_event,
2314  },
2315  {
2316  "path",
2317  "s",
2318  zwp_tablet_v2_interface_path_event,
2319  },
2320  {
2321  "done",
2322  "",
2323  zwp_tablet_v2_interface_done_event,
2324  },
2325  {
2326  "removed",
2327  "",
2328  zwp_tablet_v2_interface_removed_event,
2329  },
2330 };
2331 
2332 const wl_interface wayland::detail::zwp_tablet_v2_interface =
2333  {
2334  "zwp_tablet_v2",
2335  1,
2336  1,
2337  zwp_tablet_v2_interface_requests,
2338  5,
2339  zwp_tablet_v2_interface_events,
2340  };
2341 
2342 const wl_interface* zwp_tablet_pad_ring_v2_interface_set_feedback_request[2] = {
2343  nullptr,
2344  nullptr,
2345 };
2346 
2347 const wl_interface* zwp_tablet_pad_ring_v2_interface_destroy_request[0] = {
2348 };
2349 
2350 const wl_interface* zwp_tablet_pad_ring_v2_interface_source_event[1] = {
2351  nullptr,
2352 };
2353 
2354 const wl_interface* zwp_tablet_pad_ring_v2_interface_angle_event[1] = {
2355  nullptr,
2356 };
2357 
2358 const wl_interface* zwp_tablet_pad_ring_v2_interface_stop_event[0] = {
2359 };
2360 
2361 const wl_interface* zwp_tablet_pad_ring_v2_interface_frame_event[1] = {
2362  nullptr,
2363 };
2364 
2365 const wl_message zwp_tablet_pad_ring_v2_interface_requests[2] = {
2366  {
2367  "set_feedback",
2368  "su",
2369  zwp_tablet_pad_ring_v2_interface_set_feedback_request,
2370  },
2371  {
2372  "destroy",
2373  "",
2374  zwp_tablet_pad_ring_v2_interface_destroy_request,
2375  },
2376 };
2377 
2378 const wl_message zwp_tablet_pad_ring_v2_interface_events[4] = {
2379  {
2380  "source",
2381  "u",
2382  zwp_tablet_pad_ring_v2_interface_source_event,
2383  },
2384  {
2385  "angle",
2386  "f",
2387  zwp_tablet_pad_ring_v2_interface_angle_event,
2388  },
2389  {
2390  "stop",
2391  "",
2392  zwp_tablet_pad_ring_v2_interface_stop_event,
2393  },
2394  {
2395  "frame",
2396  "u",
2397  zwp_tablet_pad_ring_v2_interface_frame_event,
2398  },
2399 };
2400 
2401 const wl_interface wayland::detail::zwp_tablet_pad_ring_v2_interface =
2402  {
2403  "zwp_tablet_pad_ring_v2",
2404  1,
2405  2,
2406  zwp_tablet_pad_ring_v2_interface_requests,
2407  4,
2408  zwp_tablet_pad_ring_v2_interface_events,
2409  };
2410 
2411 const wl_interface* zwp_tablet_pad_strip_v2_interface_set_feedback_request[2] = {
2412  nullptr,
2413  nullptr,
2414 };
2415 
2416 const wl_interface* zwp_tablet_pad_strip_v2_interface_destroy_request[0] = {
2417 };
2418 
2419 const wl_interface* zwp_tablet_pad_strip_v2_interface_source_event[1] = {
2420  nullptr,
2421 };
2422 
2423 const wl_interface* zwp_tablet_pad_strip_v2_interface_position_event[1] = {
2424  nullptr,
2425 };
2426 
2427 const wl_interface* zwp_tablet_pad_strip_v2_interface_stop_event[0] = {
2428 };
2429 
2430 const wl_interface* zwp_tablet_pad_strip_v2_interface_frame_event[1] = {
2431  nullptr,
2432 };
2433 
2434 const wl_message zwp_tablet_pad_strip_v2_interface_requests[2] = {
2435  {
2436  "set_feedback",
2437  "su",
2438  zwp_tablet_pad_strip_v2_interface_set_feedback_request,
2439  },
2440  {
2441  "destroy",
2442  "",
2443  zwp_tablet_pad_strip_v2_interface_destroy_request,
2444  },
2445 };
2446 
2447 const wl_message zwp_tablet_pad_strip_v2_interface_events[4] = {
2448  {
2449  "source",
2450  "u",
2451  zwp_tablet_pad_strip_v2_interface_source_event,
2452  },
2453  {
2454  "position",
2455  "u",
2456  zwp_tablet_pad_strip_v2_interface_position_event,
2457  },
2458  {
2459  "stop",
2460  "",
2461  zwp_tablet_pad_strip_v2_interface_stop_event,
2462  },
2463  {
2464  "frame",
2465  "u",
2466  zwp_tablet_pad_strip_v2_interface_frame_event,
2467  },
2468 };
2469 
2470 const wl_interface wayland::detail::zwp_tablet_pad_strip_v2_interface =
2471  {
2472  "zwp_tablet_pad_strip_v2",
2473  1,
2474  2,
2475  zwp_tablet_pad_strip_v2_interface_requests,
2476  4,
2477  zwp_tablet_pad_strip_v2_interface_events,
2478  };
2479 
2480 const wl_interface* zwp_tablet_pad_group_v2_interface_destroy_request[0] = {
2481 };
2482 
2483 const wl_interface* zwp_tablet_pad_group_v2_interface_buttons_event[1] = {
2484  nullptr,
2485 };
2486 
2487 const wl_interface* zwp_tablet_pad_group_v2_interface_ring_event[1] = {
2488  &zwp_tablet_pad_ring_v2_interface,
2489 };
2490 
2491 const wl_interface* zwp_tablet_pad_group_v2_interface_strip_event[1] = {
2492  &zwp_tablet_pad_strip_v2_interface,
2493 };
2494 
2495 const wl_interface* zwp_tablet_pad_group_v2_interface_modes_event[1] = {
2496  nullptr,
2497 };
2498 
2499 const wl_interface* zwp_tablet_pad_group_v2_interface_done_event[0] = {
2500 };
2501 
2502 const wl_interface* zwp_tablet_pad_group_v2_interface_mode_switch_event[3] = {
2503  nullptr,
2504  nullptr,
2505  nullptr,
2506 };
2507 
2508 const wl_message zwp_tablet_pad_group_v2_interface_requests[1] = {
2509  {
2510  "destroy",
2511  "",
2512  zwp_tablet_pad_group_v2_interface_destroy_request,
2513  },
2514 };
2515 
2516 const wl_message zwp_tablet_pad_group_v2_interface_events[6] = {
2517  {
2518  "buttons",
2519  "a",
2520  zwp_tablet_pad_group_v2_interface_buttons_event,
2521  },
2522  {
2523  "ring",
2524  "n",
2525  zwp_tablet_pad_group_v2_interface_ring_event,
2526  },
2527  {
2528  "strip",
2529  "n",
2530  zwp_tablet_pad_group_v2_interface_strip_event,
2531  },
2532  {
2533  "modes",
2534  "u",
2535  zwp_tablet_pad_group_v2_interface_modes_event,
2536  },
2537  {
2538  "done",
2539  "",
2540  zwp_tablet_pad_group_v2_interface_done_event,
2541  },
2542  {
2543  "mode_switch",
2544  "uuu",
2545  zwp_tablet_pad_group_v2_interface_mode_switch_event,
2546  },
2547 };
2548 
2549 const wl_interface wayland::detail::zwp_tablet_pad_group_v2_interface =
2550  {
2551  "zwp_tablet_pad_group_v2",
2552  1,
2553  1,
2554  zwp_tablet_pad_group_v2_interface_requests,
2555  6,
2556  zwp_tablet_pad_group_v2_interface_events,
2557  };
2558 
2559 const wl_interface* zwp_tablet_pad_v2_interface_set_feedback_request[3] = {
2560  nullptr,
2561  nullptr,
2562  nullptr,
2563 };
2564 
2565 const wl_interface* zwp_tablet_pad_v2_interface_destroy_request[0] = {
2566 };
2567 
2568 const wl_interface* zwp_tablet_pad_v2_interface_group_event[1] = {
2569  &zwp_tablet_pad_group_v2_interface,
2570 };
2571 
2572 const wl_interface* zwp_tablet_pad_v2_interface_path_event[1] = {
2573  nullptr,
2574 };
2575 
2576 const wl_interface* zwp_tablet_pad_v2_interface_buttons_event[1] = {
2577  nullptr,
2578 };
2579 
2580 const wl_interface* zwp_tablet_pad_v2_interface_done_event[0] = {
2581 };
2582 
2583 const wl_interface* zwp_tablet_pad_v2_interface_button_event[3] = {
2584  nullptr,
2585  nullptr,
2586  nullptr,
2587 };
2588 
2589 const wl_interface* zwp_tablet_pad_v2_interface_enter_event[3] = {
2590  nullptr,
2591  &zwp_tablet_v2_interface,
2592  &surface_interface,
2593 };
2594 
2595 const wl_interface* zwp_tablet_pad_v2_interface_leave_event[2] = {
2596  nullptr,
2597  &surface_interface,
2598 };
2599 
2600 const wl_interface* zwp_tablet_pad_v2_interface_removed_event[0] = {
2601 };
2602 
2603 const wl_message zwp_tablet_pad_v2_interface_requests[2] = {
2604  {
2605  "set_feedback",
2606  "usu",
2607  zwp_tablet_pad_v2_interface_set_feedback_request,
2608  },
2609  {
2610  "destroy",
2611  "",
2612  zwp_tablet_pad_v2_interface_destroy_request,
2613  },
2614 };
2615 
2616 const wl_message zwp_tablet_pad_v2_interface_events[8] = {
2617  {
2618  "group",
2619  "n",
2620  zwp_tablet_pad_v2_interface_group_event,
2621  },
2622  {
2623  "path",
2624  "s",
2625  zwp_tablet_pad_v2_interface_path_event,
2626  },
2627  {
2628  "buttons",
2629  "u",
2630  zwp_tablet_pad_v2_interface_buttons_event,
2631  },
2632  {
2633  "done",
2634  "",
2635  zwp_tablet_pad_v2_interface_done_event,
2636  },
2637  {
2638  "button",
2639  "uuu",
2640  zwp_tablet_pad_v2_interface_button_event,
2641  },
2642  {
2643  "enter",
2644  "uoo",
2645  zwp_tablet_pad_v2_interface_enter_event,
2646  },
2647  {
2648  "leave",
2649  "uo",
2650  zwp_tablet_pad_v2_interface_leave_event,
2651  },
2652  {
2653  "removed",
2654  "",
2655  zwp_tablet_pad_v2_interface_removed_event,
2656  },
2657 };
2658 
2659 const wl_interface wayland::detail::zwp_tablet_pad_v2_interface =
2660  {
2661  "zwp_tablet_pad_v2",
2662  1,
2663  2,
2664  zwp_tablet_pad_v2_interface_requests,
2665  8,
2666  zwp_tablet_pad_v2_interface_events,
2667  };
2668 
2669 const wl_interface* zwp_text_input_v1_interface_activate_request[2] = {
2670  &seat_interface,
2671  &surface_interface,
2672 };
2673 
2674 const wl_interface* zwp_text_input_v1_interface_deactivate_request[1] = {
2675  &seat_interface,
2676 };
2677 
2678 const wl_interface* zwp_text_input_v1_interface_show_input_panel_request[0] = {
2679 };
2680 
2681 const wl_interface* zwp_text_input_v1_interface_hide_input_panel_request[0] = {
2682 };
2683 
2684 const wl_interface* zwp_text_input_v1_interface_reset_request[0] = {
2685 };
2686 
2687 const wl_interface* zwp_text_input_v1_interface_set_surrounding_text_request[3] = {
2688  nullptr,
2689  nullptr,
2690  nullptr,
2691 };
2692 
2693 const wl_interface* zwp_text_input_v1_interface_set_content_type_request[2] = {
2694  nullptr,
2695  nullptr,
2696 };
2697 
2698 const wl_interface* zwp_text_input_v1_interface_set_cursor_rectangle_request[4] = {
2699  nullptr,
2700  nullptr,
2701  nullptr,
2702  nullptr,
2703 };
2704 
2705 const wl_interface* zwp_text_input_v1_interface_set_preferred_language_request[1] = {
2706  nullptr,
2707 };
2708 
2709 const wl_interface* zwp_text_input_v1_interface_commit_state_request[1] = {
2710  nullptr,
2711 };
2712 
2713 const wl_interface* zwp_text_input_v1_interface_invoke_action_request[2] = {
2714  nullptr,
2715  nullptr,
2716 };
2717 
2718 const wl_interface* zwp_text_input_v1_interface_enter_event[1] = {
2719  &surface_interface,
2720 };
2721 
2722 const wl_interface* zwp_text_input_v1_interface_leave_event[0] = {
2723 };
2724 
2725 const wl_interface* zwp_text_input_v1_interface_modifiers_map_event[1] = {
2726  nullptr,
2727 };
2728 
2729 const wl_interface* zwp_text_input_v1_interface_input_panel_state_event[1] = {
2730  nullptr,
2731 };
2732 
2733 const wl_interface* zwp_text_input_v1_interface_preedit_string_event[3] = {
2734  nullptr,
2735  nullptr,
2736  nullptr,
2737 };
2738 
2739 const wl_interface* zwp_text_input_v1_interface_preedit_styling_event[3] = {
2740  nullptr,
2741  nullptr,
2742  nullptr,
2743 };
2744 
2745 const wl_interface* zwp_text_input_v1_interface_preedit_cursor_event[1] = {
2746  nullptr,
2747 };
2748 
2749 const wl_interface* zwp_text_input_v1_interface_commit_string_event[2] = {
2750  nullptr,
2751  nullptr,
2752 };
2753 
2754 const wl_interface* zwp_text_input_v1_interface_cursor_position_event[2] = {
2755  nullptr,
2756  nullptr,
2757 };
2758 
2759 const wl_interface* zwp_text_input_v1_interface_delete_surrounding_text_event[2] = {
2760  nullptr,
2761  nullptr,
2762 };
2763 
2764 const wl_interface* zwp_text_input_v1_interface_keysym_event[5] = {
2765  nullptr,
2766  nullptr,
2767  nullptr,
2768  nullptr,
2769  nullptr,
2770 };
2771 
2772 const wl_interface* zwp_text_input_v1_interface_language_event[2] = {
2773  nullptr,
2774  nullptr,
2775 };
2776 
2777 const wl_interface* zwp_text_input_v1_interface_text_direction_event[2] = {
2778  nullptr,
2779  nullptr,
2780 };
2781 
2782 const wl_message zwp_text_input_v1_interface_requests[11] = {
2783  {
2784  "activate",
2785  "oo",
2786  zwp_text_input_v1_interface_activate_request,
2787  },
2788  {
2789  "deactivate",
2790  "o",
2791  zwp_text_input_v1_interface_deactivate_request,
2792  },
2793  {
2794  "show_input_panel",
2795  "",
2796  zwp_text_input_v1_interface_show_input_panel_request,
2797  },
2798  {
2799  "hide_input_panel",
2800  "",
2801  zwp_text_input_v1_interface_hide_input_panel_request,
2802  },
2803  {
2804  "reset",
2805  "",
2806  zwp_text_input_v1_interface_reset_request,
2807  },
2808  {
2809  "set_surrounding_text",
2810  "suu",
2811  zwp_text_input_v1_interface_set_surrounding_text_request,
2812  },
2813  {
2814  "set_content_type",
2815  "uu",
2816  zwp_text_input_v1_interface_set_content_type_request,
2817  },
2818  {
2819  "set_cursor_rectangle",
2820  "iiii",
2821  zwp_text_input_v1_interface_set_cursor_rectangle_request,
2822  },
2823  {
2824  "set_preferred_language",
2825  "s",
2826  zwp_text_input_v1_interface_set_preferred_language_request,
2827  },
2828  {
2829  "commit_state",
2830  "u",
2831  zwp_text_input_v1_interface_commit_state_request,
2832  },
2833  {
2834  "invoke_action",
2835  "uu",
2836  zwp_text_input_v1_interface_invoke_action_request,
2837  },
2838 };
2839 
2840 const wl_message zwp_text_input_v1_interface_events[13] = {
2841  {
2842  "enter",
2843  "o",
2844  zwp_text_input_v1_interface_enter_event,
2845  },
2846  {
2847  "leave",
2848  "",
2849  zwp_text_input_v1_interface_leave_event,
2850  },
2851  {
2852  "modifiers_map",
2853  "a",
2854  zwp_text_input_v1_interface_modifiers_map_event,
2855  },
2856  {
2857  "input_panel_state",
2858  "u",
2859  zwp_text_input_v1_interface_input_panel_state_event,
2860  },
2861  {
2862  "preedit_string",
2863  "uss",
2864  zwp_text_input_v1_interface_preedit_string_event,
2865  },
2866  {
2867  "preedit_styling",
2868  "uuu",
2869  zwp_text_input_v1_interface_preedit_styling_event,
2870  },
2871  {
2872  "preedit_cursor",
2873  "i",
2874  zwp_text_input_v1_interface_preedit_cursor_event,
2875  },
2876  {
2877  "commit_string",
2878  "us",
2879  zwp_text_input_v1_interface_commit_string_event,
2880  },
2881  {
2882  "cursor_position",
2883  "ii",
2884  zwp_text_input_v1_interface_cursor_position_event,
2885  },
2886  {
2887  "delete_surrounding_text",
2888  "iu",
2889  zwp_text_input_v1_interface_delete_surrounding_text_event,
2890  },
2891  {
2892  "keysym",
2893  "uuuuu",
2894  zwp_text_input_v1_interface_keysym_event,
2895  },
2896  {
2897  "language",
2898  "us",
2899  zwp_text_input_v1_interface_language_event,
2900  },
2901  {
2902  "text_direction",
2903  "uu",
2904  zwp_text_input_v1_interface_text_direction_event,
2905  },
2906 };
2907 
2908 const wl_interface wayland::detail::zwp_text_input_v1_interface =
2909  {
2910  "zwp_text_input_v1",
2911  1,
2912  11,
2913  zwp_text_input_v1_interface_requests,
2914  13,
2915  zwp_text_input_v1_interface_events,
2916  };
2917 
2918 const wl_interface* zwp_text_input_manager_v1_interface_create_text_input_request[1] = {
2919  &zwp_text_input_v1_interface,
2920 };
2921 
2922 const wl_message zwp_text_input_manager_v1_interface_requests[1] = {
2923  {
2924  "create_text_input",
2925  "n",
2926  zwp_text_input_manager_v1_interface_create_text_input_request,
2927  },
2928 };
2929 
2930 const wl_message zwp_text_input_manager_v1_interface_events[0] = {
2931 };
2932 
2933 const wl_interface wayland::detail::zwp_text_input_manager_v1_interface =
2934  {
2935  "zwp_text_input_manager_v1",
2936  1,
2937  1,
2938  zwp_text_input_manager_v1_interface_requests,
2939  0,
2940  zwp_text_input_manager_v1_interface_events,
2941  };
2942 
2943 const wl_interface* zwp_text_input_v3_interface_destroy_request[0] = {
2944 };
2945 
2946 const wl_interface* zwp_text_input_v3_interface_enable_request[0] = {
2947 };
2948 
2949 const wl_interface* zwp_text_input_v3_interface_disable_request[0] = {
2950 };
2951 
2952 const wl_interface* zwp_text_input_v3_interface_set_surrounding_text_request[3] = {
2953  nullptr,
2954  nullptr,
2955  nullptr,
2956 };
2957 
2958 const wl_interface* zwp_text_input_v3_interface_set_text_change_cause_request[1] = {
2959  nullptr,
2960 };
2961 
2962 const wl_interface* zwp_text_input_v3_interface_set_content_type_request[2] = {
2963  nullptr,
2964  nullptr,
2965 };
2966 
2967 const wl_interface* zwp_text_input_v3_interface_set_cursor_rectangle_request[4] = {
2968  nullptr,
2969  nullptr,
2970  nullptr,
2971  nullptr,
2972 };
2973 
2974 const wl_interface* zwp_text_input_v3_interface_commit_request[0] = {
2975 };
2976 
2977 const wl_interface* zwp_text_input_v3_interface_enter_event[1] = {
2978  &surface_interface,
2979 };
2980 
2981 const wl_interface* zwp_text_input_v3_interface_leave_event[1] = {
2982  &surface_interface,
2983 };
2984 
2985 const wl_interface* zwp_text_input_v3_interface_preedit_string_event[3] = {
2986  nullptr,
2987  nullptr,
2988  nullptr,
2989 };
2990 
2991 const wl_interface* zwp_text_input_v3_interface_commit_string_event[1] = {
2992  nullptr,
2993 };
2994 
2995 const wl_interface* zwp_text_input_v3_interface_delete_surrounding_text_event[2] = {
2996  nullptr,
2997  nullptr,
2998 };
2999 
3000 const wl_interface* zwp_text_input_v3_interface_done_event[1] = {
3001  nullptr,
3002 };
3003 
3004 const wl_message zwp_text_input_v3_interface_requests[8] = {
3005  {
3006  "destroy",
3007  "",
3008  zwp_text_input_v3_interface_destroy_request,
3009  },
3010  {
3011  "enable",
3012  "",
3013  zwp_text_input_v3_interface_enable_request,
3014  },
3015  {
3016  "disable",
3017  "",
3018  zwp_text_input_v3_interface_disable_request,
3019  },
3020  {
3021  "set_surrounding_text",
3022  "sii",
3023  zwp_text_input_v3_interface_set_surrounding_text_request,
3024  },
3025  {
3026  "set_text_change_cause",
3027  "u",
3028  zwp_text_input_v3_interface_set_text_change_cause_request,
3029  },
3030  {
3031  "set_content_type",
3032  "uu",
3033  zwp_text_input_v3_interface_set_content_type_request,
3034  },
3035  {
3036  "set_cursor_rectangle",
3037  "iiii",
3038  zwp_text_input_v3_interface_set_cursor_rectangle_request,
3039  },
3040  {
3041  "commit",
3042  "",
3043  zwp_text_input_v3_interface_commit_request,
3044  },
3045 };
3046 
3047 const wl_message zwp_text_input_v3_interface_events[6] = {
3048  {
3049  "enter",
3050  "o",
3051  zwp_text_input_v3_interface_enter_event,
3052  },
3053  {
3054  "leave",
3055  "o",
3056  zwp_text_input_v3_interface_leave_event,
3057  },
3058  {
3059  "preedit_string",
3060  "?sii",
3061  zwp_text_input_v3_interface_preedit_string_event,
3062  },
3063  {
3064  "commit_string",
3065  "?s",
3066  zwp_text_input_v3_interface_commit_string_event,
3067  },
3068  {
3069  "delete_surrounding_text",
3070  "uu",
3071  zwp_text_input_v3_interface_delete_surrounding_text_event,
3072  },
3073  {
3074  "done",
3075  "u",
3076  zwp_text_input_v3_interface_done_event,
3077  },
3078 };
3079 
3080 const wl_interface wayland::detail::zwp_text_input_v3_interface =
3081  {
3082  "zwp_text_input_v3",
3083  1,
3084  8,
3085  zwp_text_input_v3_interface_requests,
3086  6,
3087  zwp_text_input_v3_interface_events,
3088  };
3089 
3090 const wl_interface* zwp_text_input_manager_v3_interface_destroy_request[0] = {
3091 };
3092 
3093 const wl_interface* zwp_text_input_manager_v3_interface_get_text_input_request[2] = {
3094  &zwp_text_input_v3_interface,
3095  &seat_interface,
3096 };
3097 
3098 const wl_message zwp_text_input_manager_v3_interface_requests[2] = {
3099  {
3100  "destroy",
3101  "",
3102  zwp_text_input_manager_v3_interface_destroy_request,
3103  },
3104  {
3105  "get_text_input",
3106  "no",
3107  zwp_text_input_manager_v3_interface_get_text_input_request,
3108  },
3109 };
3110 
3111 const wl_message zwp_text_input_manager_v3_interface_events[0] = {
3112 };
3113 
3114 const wl_interface wayland::detail::zwp_text_input_manager_v3_interface =
3115  {
3116  "zwp_text_input_manager_v3",
3117  1,
3118  2,
3119  zwp_text_input_manager_v3_interface_requests,
3120  0,
3121  zwp_text_input_manager_v3_interface_events,
3122  };
3123 
3124 const wl_interface* xdg_activation_v1_interface_destroy_request[0] = {
3125 };
3126 
3127 const wl_interface* xdg_activation_v1_interface_get_activation_token_request[1] = {
3128  &xdg_activation_token_v1_interface,
3129 };
3130 
3131 const wl_interface* xdg_activation_v1_interface_activate_request[2] = {
3132  nullptr,
3133  &surface_interface,
3134 };
3135 
3136 const wl_message xdg_activation_v1_interface_requests[3] = {
3137  {
3138  "destroy",
3139  "",
3140  xdg_activation_v1_interface_destroy_request,
3141  },
3142  {
3143  "get_activation_token",
3144  "n",
3145  xdg_activation_v1_interface_get_activation_token_request,
3146  },
3147  {
3148  "activate",
3149  "so",
3150  xdg_activation_v1_interface_activate_request,
3151  },
3152 };
3153 
3154 const wl_message xdg_activation_v1_interface_events[0] = {
3155 };
3156 
3157 const wl_interface wayland::detail::xdg_activation_v1_interface =
3158  {
3159  "xdg_activation_v1",
3160  1,
3161  3,
3162  xdg_activation_v1_interface_requests,
3163  0,
3164  xdg_activation_v1_interface_events,
3165  };
3166 
3167 const wl_interface* xdg_activation_token_v1_interface_set_serial_request[2] = {
3168  nullptr,
3169  &seat_interface,
3170 };
3171 
3172 const wl_interface* xdg_activation_token_v1_interface_set_app_id_request[1] = {
3173  nullptr,
3174 };
3175 
3176 const wl_interface* xdg_activation_token_v1_interface_set_surface_request[1] = {
3177  &surface_interface,
3178 };
3179 
3180 const wl_interface* xdg_activation_token_v1_interface_commit_request[0] = {
3181 };
3182 
3183 const wl_interface* xdg_activation_token_v1_interface_destroy_request[0] = {
3184 };
3185 
3186 const wl_interface* xdg_activation_token_v1_interface_done_event[1] = {
3187  nullptr,
3188 };
3189 
3190 const wl_message xdg_activation_token_v1_interface_requests[5] = {
3191  {
3192  "set_serial",
3193  "uo",
3194  xdg_activation_token_v1_interface_set_serial_request,
3195  },
3196  {
3197  "set_app_id",
3198  "s",
3199  xdg_activation_token_v1_interface_set_app_id_request,
3200  },
3201  {
3202  "set_surface",
3203  "o",
3204  xdg_activation_token_v1_interface_set_surface_request,
3205  },
3206  {
3207  "commit",
3208  "",
3209  xdg_activation_token_v1_interface_commit_request,
3210  },
3211  {
3212  "destroy",
3213  "",
3214  xdg_activation_token_v1_interface_destroy_request,
3215  },
3216 };
3217 
3218 const wl_message xdg_activation_token_v1_interface_events[1] = {
3219  {
3220  "done",
3221  "s",
3222  xdg_activation_token_v1_interface_done_event,
3223  },
3224 };
3225 
3226 const wl_interface wayland::detail::xdg_activation_token_v1_interface =
3227  {
3228  "xdg_activation_token_v1",
3229  1,
3230  5,
3231  xdg_activation_token_v1_interface_requests,
3232  1,
3233  xdg_activation_token_v1_interface_events,
3234  };
3235 
3236 const wl_interface* zxdg_decoration_manager_v1_interface_destroy_request[0] = {
3237 };
3238 
3239 const wl_interface* zxdg_decoration_manager_v1_interface_get_toplevel_decoration_request[2] = {
3240  &zxdg_toplevel_decoration_v1_interface,
3241  &xdg_toplevel_interface,
3242 };
3243 
3244 const wl_message zxdg_decoration_manager_v1_interface_requests[2] = {
3245  {
3246  "destroy",
3247  "",
3248  zxdg_decoration_manager_v1_interface_destroy_request,
3249  },
3250  {
3251  "get_toplevel_decoration",
3252  "no",
3253  zxdg_decoration_manager_v1_interface_get_toplevel_decoration_request,
3254  },
3255 };
3256 
3257 const wl_message zxdg_decoration_manager_v1_interface_events[0] = {
3258 };
3259 
3260 const wl_interface wayland::detail::zxdg_decoration_manager_v1_interface =
3261  {
3262  "zxdg_decoration_manager_v1",
3263  1,
3264  2,
3265  zxdg_decoration_manager_v1_interface_requests,
3266  0,
3267  zxdg_decoration_manager_v1_interface_events,
3268  };
3269 
3270 const wl_interface* zxdg_toplevel_decoration_v1_interface_destroy_request[0] = {
3271 };
3272 
3273 const wl_interface* zxdg_toplevel_decoration_v1_interface_set_mode_request[1] = {
3274  nullptr,
3275 };
3276 
3277 const wl_interface* zxdg_toplevel_decoration_v1_interface_unset_mode_request[0] = {
3278 };
3279 
3280 const wl_interface* zxdg_toplevel_decoration_v1_interface_configure_event[1] = {
3281  nullptr,
3282 };
3283 
3284 const wl_message zxdg_toplevel_decoration_v1_interface_requests[3] = {
3285  {
3286  "destroy",
3287  "",
3288  zxdg_toplevel_decoration_v1_interface_destroy_request,
3289  },
3290  {
3291  "set_mode",
3292  "u",
3293  zxdg_toplevel_decoration_v1_interface_set_mode_request,
3294  },
3295  {
3296  "unset_mode",
3297  "",
3298  zxdg_toplevel_decoration_v1_interface_unset_mode_request,
3299  },
3300 };
3301 
3302 const wl_message zxdg_toplevel_decoration_v1_interface_events[1] = {
3303  {
3304  "configure",
3305  "u",
3306  zxdg_toplevel_decoration_v1_interface_configure_event,
3307  },
3308 };
3309 
3310 const wl_interface wayland::detail::zxdg_toplevel_decoration_v1_interface =
3311  {
3312  "zxdg_toplevel_decoration_v1",
3313  1,
3314  3,
3315  zxdg_toplevel_decoration_v1_interface_requests,
3316  1,
3317  zxdg_toplevel_decoration_v1_interface_events,
3318  };
3319 
3320 const wl_interface* zxdg_exporter_v1_interface_destroy_request[0] = {
3321 };
3322 
3323 const wl_interface* zxdg_exporter_v1_interface_export_request[2] = {
3324  &zxdg_exported_v1_interface,
3325  &surface_interface,
3326 };
3327 
3328 const wl_message zxdg_exporter_v1_interface_requests[2] = {
3329  {
3330  "destroy",
3331  "",
3332  zxdg_exporter_v1_interface_destroy_request,
3333  },
3334  {
3335  "export",
3336  "no",
3337  zxdg_exporter_v1_interface_export_request,
3338  },
3339 };
3340 
3341 const wl_message zxdg_exporter_v1_interface_events[0] = {
3342 };
3343 
3344 const wl_interface wayland::detail::zxdg_exporter_v1_interface =
3345  {
3346  "zxdg_exporter_v1",
3347  1,
3348  2,
3349  zxdg_exporter_v1_interface_requests,
3350  0,
3351  zxdg_exporter_v1_interface_events,
3352  };
3353 
3354 const wl_interface* zxdg_importer_v1_interface_destroy_request[0] = {
3355 };
3356 
3357 const wl_interface* zxdg_importer_v1_interface_import_request[2] = {
3358  &zxdg_imported_v1_interface,
3359  nullptr,
3360 };
3361 
3362 const wl_message zxdg_importer_v1_interface_requests[2] = {
3363  {
3364  "destroy",
3365  "",
3366  zxdg_importer_v1_interface_destroy_request,
3367  },
3368  {
3369  "import",
3370  "ns",
3371  zxdg_importer_v1_interface_import_request,
3372  },
3373 };
3374 
3375 const wl_message zxdg_importer_v1_interface_events[0] = {
3376 };
3377 
3378 const wl_interface wayland::detail::zxdg_importer_v1_interface =
3379  {
3380  "zxdg_importer_v1",
3381  1,
3382  2,
3383  zxdg_importer_v1_interface_requests,
3384  0,
3385  zxdg_importer_v1_interface_events,
3386  };
3387 
3388 const wl_interface* zxdg_exported_v1_interface_destroy_request[0] = {
3389 };
3390 
3391 const wl_interface* zxdg_exported_v1_interface_handle_event[1] = {
3392  nullptr,
3393 };
3394 
3395 const wl_message zxdg_exported_v1_interface_requests[1] = {
3396  {
3397  "destroy",
3398  "",
3399  zxdg_exported_v1_interface_destroy_request,
3400  },
3401 };
3402 
3403 const wl_message zxdg_exported_v1_interface_events[1] = {
3404  {
3405  "handle",
3406  "s",
3407  zxdg_exported_v1_interface_handle_event,
3408  },
3409 };
3410 
3411 const wl_interface wayland::detail::zxdg_exported_v1_interface =
3412  {
3413  "zxdg_exported_v1",
3414  1,
3415  1,
3416  zxdg_exported_v1_interface_requests,
3417  1,
3418  zxdg_exported_v1_interface_events,
3419  };
3420 
3421 const wl_interface* zxdg_imported_v1_interface_destroy_request[0] = {
3422 };
3423 
3424 const wl_interface* zxdg_imported_v1_interface_set_parent_of_request[1] = {
3425  &surface_interface,
3426 };
3427 
3428 const wl_interface* zxdg_imported_v1_interface_destroyed_event[0] = {
3429 };
3430 
3431 const wl_message zxdg_imported_v1_interface_requests[2] = {
3432  {
3433  "destroy",
3434  "",
3435  zxdg_imported_v1_interface_destroy_request,
3436  },
3437  {
3438  "set_parent_of",
3439  "o",
3440  zxdg_imported_v1_interface_set_parent_of_request,
3441  },
3442 };
3443 
3444 const wl_message zxdg_imported_v1_interface_events[1] = {
3445  {
3446  "destroyed",
3447  "",
3448  zxdg_imported_v1_interface_destroyed_event,
3449  },
3450 };
3451 
3452 const wl_interface wayland::detail::zxdg_imported_v1_interface =
3453  {
3454  "zxdg_imported_v1",
3455  1,
3456  2,
3457  zxdg_imported_v1_interface_requests,
3458  1,
3459  zxdg_imported_v1_interface_events,
3460  };
3461 
3462 const wl_interface* zxdg_exporter_v2_interface_destroy_request[0] = {
3463 };
3464 
3465 const wl_interface* zxdg_exporter_v2_interface_export_toplevel_request[2] = {
3466  &zxdg_exported_v2_interface,
3467  &surface_interface,
3468 };
3469 
3470 const wl_message zxdg_exporter_v2_interface_requests[2] = {
3471  {
3472  "destroy",
3473  "",
3474  zxdg_exporter_v2_interface_destroy_request,
3475  },
3476  {
3477  "export_toplevel",
3478  "no",
3479  zxdg_exporter_v2_interface_export_toplevel_request,
3480  },
3481 };
3482 
3483 const wl_message zxdg_exporter_v2_interface_events[0] = {
3484 };
3485 
3486 const wl_interface wayland::detail::zxdg_exporter_v2_interface =
3487  {
3488  "zxdg_exporter_v2",
3489  1,
3490  2,
3491  zxdg_exporter_v2_interface_requests,
3492  0,
3493  zxdg_exporter_v2_interface_events,
3494  };
3495 
3496 const wl_interface* zxdg_importer_v2_interface_destroy_request[0] = {
3497 };
3498 
3499 const wl_interface* zxdg_importer_v2_interface_import_toplevel_request[2] = {
3500  &zxdg_imported_v2_interface,
3501  nullptr,
3502 };
3503 
3504 const wl_message zxdg_importer_v2_interface_requests[2] = {
3505  {
3506  "destroy",
3507  "",
3508  zxdg_importer_v2_interface_destroy_request,
3509  },
3510  {
3511  "import_toplevel",
3512  "ns",
3513  zxdg_importer_v2_interface_import_toplevel_request,
3514  },
3515 };
3516 
3517 const wl_message zxdg_importer_v2_interface_events[0] = {
3518 };
3519 
3520 const wl_interface wayland::detail::zxdg_importer_v2_interface =
3521  {
3522  "zxdg_importer_v2",
3523  1,
3524  2,
3525  zxdg_importer_v2_interface_requests,
3526  0,
3527  zxdg_importer_v2_interface_events,
3528  };
3529 
3530 const wl_interface* zxdg_exported_v2_interface_destroy_request[0] = {
3531 };
3532 
3533 const wl_interface* zxdg_exported_v2_interface_handle_event[1] = {
3534  nullptr,
3535 };
3536 
3537 const wl_message zxdg_exported_v2_interface_requests[1] = {
3538  {
3539  "destroy",
3540  "",
3541  zxdg_exported_v2_interface_destroy_request,
3542  },
3543 };
3544 
3545 const wl_message zxdg_exported_v2_interface_events[1] = {
3546  {
3547  "handle",
3548  "s",
3549  zxdg_exported_v2_interface_handle_event,
3550  },
3551 };
3552 
3553 const wl_interface wayland::detail::zxdg_exported_v2_interface =
3554  {
3555  "zxdg_exported_v2",
3556  1,
3557  1,
3558  zxdg_exported_v2_interface_requests,
3559  1,
3560  zxdg_exported_v2_interface_events,
3561  };
3562 
3563 const wl_interface* zxdg_imported_v2_interface_destroy_request[0] = {
3564 };
3565 
3566 const wl_interface* zxdg_imported_v2_interface_set_parent_of_request[1] = {
3567  &surface_interface,
3568 };
3569 
3570 const wl_interface* zxdg_imported_v2_interface_destroyed_event[0] = {
3571 };
3572 
3573 const wl_message zxdg_imported_v2_interface_requests[2] = {
3574  {
3575  "destroy",
3576  "",
3577  zxdg_imported_v2_interface_destroy_request,
3578  },
3579  {
3580  "set_parent_of",
3581  "o",
3582  zxdg_imported_v2_interface_set_parent_of_request,
3583  },
3584 };
3585 
3586 const wl_message zxdg_imported_v2_interface_events[1] = {
3587  {
3588  "destroyed",
3589  "",
3590  zxdg_imported_v2_interface_destroyed_event,
3591  },
3592 };
3593 
3594 const wl_interface wayland::detail::zxdg_imported_v2_interface =
3595  {
3596  "zxdg_imported_v2",
3597  1,
3598  2,
3599  zxdg_imported_v2_interface_requests,
3600  1,
3601  zxdg_imported_v2_interface_events,
3602  };
3603 
3604 const wl_interface* zxdg_output_manager_v1_interface_destroy_request[0] = {
3605 };
3606 
3607 const wl_interface* zxdg_output_manager_v1_interface_get_xdg_output_request[2] = {
3608  &zxdg_output_v1_interface,
3609  &output_interface,
3610 };
3611 
3612 const wl_message zxdg_output_manager_v1_interface_requests[2] = {
3613  {
3614  "destroy",
3615  "",
3616  zxdg_output_manager_v1_interface_destroy_request,
3617  },
3618  {
3619  "get_xdg_output",
3620  "no",
3621  zxdg_output_manager_v1_interface_get_xdg_output_request,
3622  },
3623 };
3624 
3625 const wl_message zxdg_output_manager_v1_interface_events[0] = {
3626 };
3627 
3628 const wl_interface wayland::detail::zxdg_output_manager_v1_interface =
3629  {
3630  "zxdg_output_manager_v1",
3631  3,
3632  2,
3633  zxdg_output_manager_v1_interface_requests,
3634  0,
3635  zxdg_output_manager_v1_interface_events,
3636  };
3637 
3638 const wl_interface* zxdg_output_v1_interface_destroy_request[0] = {
3639 };
3640 
3641 const wl_interface* zxdg_output_v1_interface_logical_position_event[2] = {
3642  nullptr,
3643  nullptr,
3644 };
3645 
3646 const wl_interface* zxdg_output_v1_interface_logical_size_event[2] = {
3647  nullptr,
3648  nullptr,
3649 };
3650 
3651 const wl_interface* zxdg_output_v1_interface_done_event[0] = {
3652 };
3653 
3654 const wl_interface* zxdg_output_v1_interface_name_event[1] = {
3655  nullptr,
3656 };
3657 
3658 const wl_interface* zxdg_output_v1_interface_description_event[1] = {
3659  nullptr,
3660 };
3661 
3662 const wl_message zxdg_output_v1_interface_requests[1] = {
3663  {
3664  "destroy",
3665  "",
3666  zxdg_output_v1_interface_destroy_request,
3667  },
3668 };
3669 
3670 const wl_message zxdg_output_v1_interface_events[5] = {
3671  {
3672  "logical_position",
3673  "ii",
3674  zxdg_output_v1_interface_logical_position_event,
3675  },
3676  {
3677  "logical_size",
3678  "ii",
3679  zxdg_output_v1_interface_logical_size_event,
3680  },
3681  {
3682  "done",
3683  "",
3684  zxdg_output_v1_interface_done_event,
3685  },
3686  {
3687  "name",
3688  "2s",
3689  zxdg_output_v1_interface_name_event,
3690  },
3691  {
3692  "description",
3693  "2s",
3694  zxdg_output_v1_interface_description_event,
3695  },
3696 };
3697 
3698 const wl_interface wayland::detail::zxdg_output_v1_interface =
3699  {
3700  "zxdg_output_v1",
3701  3,
3702  1,
3703  zxdg_output_v1_interface_requests,
3704  5,
3705  zxdg_output_v1_interface_events,
3706  };
3707 
3708 const wl_interface* zxdg_shell_v6_interface_destroy_request[0] = {
3709 };
3710 
3711 const wl_interface* zxdg_shell_v6_interface_create_positioner_request[1] = {
3712  &zxdg_positioner_v6_interface,
3713 };
3714 
3715 const wl_interface* zxdg_shell_v6_interface_get_xdg_surface_request[2] = {
3716  &zxdg_surface_v6_interface,
3717  &surface_interface,
3718 };
3719 
3720 const wl_interface* zxdg_shell_v6_interface_pong_request[1] = {
3721  nullptr,
3722 };
3723 
3724 const wl_interface* zxdg_shell_v6_interface_ping_event[1] = {
3725  nullptr,
3726 };
3727 
3728 const wl_message zxdg_shell_v6_interface_requests[4] = {
3729  {
3730  "destroy",
3731  "",
3732  zxdg_shell_v6_interface_destroy_request,
3733  },
3734  {
3735  "create_positioner",
3736  "n",
3737  zxdg_shell_v6_interface_create_positioner_request,
3738  },
3739  {
3740  "get_xdg_surface",
3741  "no",
3742  zxdg_shell_v6_interface_get_xdg_surface_request,
3743  },
3744  {
3745  "pong",
3746  "u",
3747  zxdg_shell_v6_interface_pong_request,
3748  },
3749 };
3750 
3751 const wl_message zxdg_shell_v6_interface_events[1] = {
3752  {
3753  "ping",
3754  "u",
3755  zxdg_shell_v6_interface_ping_event,
3756  },
3757 };
3758 
3759 const wl_interface wayland::detail::zxdg_shell_v6_interface =
3760  {
3761  "zxdg_shell_v6",
3762  1,
3763  4,
3764  zxdg_shell_v6_interface_requests,
3765  1,
3766  zxdg_shell_v6_interface_events,
3767  };
3768 
3769 const wl_interface* zxdg_positioner_v6_interface_destroy_request[0] = {
3770 };
3771 
3772 const wl_interface* zxdg_positioner_v6_interface_set_size_request[2] = {
3773  nullptr,
3774  nullptr,
3775 };
3776 
3777 const wl_interface* zxdg_positioner_v6_interface_set_anchor_rect_request[4] = {
3778  nullptr,
3779  nullptr,
3780  nullptr,
3781  nullptr,
3782 };
3783 
3784 const wl_interface* zxdg_positioner_v6_interface_set_anchor_request[1] = {
3785  nullptr,
3786 };
3787 
3788 const wl_interface* zxdg_positioner_v6_interface_set_gravity_request[1] = {
3789  nullptr,
3790 };
3791 
3792 const wl_interface* zxdg_positioner_v6_interface_set_constraint_adjustment_request[1] = {
3793  nullptr,
3794 };
3795 
3796 const wl_interface* zxdg_positioner_v6_interface_set_offset_request[2] = {
3797  nullptr,
3798  nullptr,
3799 };
3800 
3801 const wl_message zxdg_positioner_v6_interface_requests[7] = {
3802  {
3803  "destroy",
3804  "",
3805  zxdg_positioner_v6_interface_destroy_request,
3806  },
3807  {
3808  "set_size",
3809  "ii",
3810  zxdg_positioner_v6_interface_set_size_request,
3811  },
3812  {
3813  "set_anchor_rect",
3814  "iiii",
3815  zxdg_positioner_v6_interface_set_anchor_rect_request,
3816  },
3817  {
3818  "set_anchor",
3819  "u",
3820  zxdg_positioner_v6_interface_set_anchor_request,
3821  },
3822  {
3823  "set_gravity",
3824  "u",
3825  zxdg_positioner_v6_interface_set_gravity_request,
3826  },
3827  {
3828  "set_constraint_adjustment",
3829  "u",
3830  zxdg_positioner_v6_interface_set_constraint_adjustment_request,
3831  },
3832  {
3833  "set_offset",
3834  "ii",
3835  zxdg_positioner_v6_interface_set_offset_request,
3836  },
3837 };
3838 
3839 const wl_message zxdg_positioner_v6_interface_events[0] = {
3840 };
3841 
3842 const wl_interface wayland::detail::zxdg_positioner_v6_interface =
3843  {
3844  "zxdg_positioner_v6",
3845  1,
3846  7,
3847  zxdg_positioner_v6_interface_requests,
3848  0,
3849  zxdg_positioner_v6_interface_events,
3850  };
3851 
3852 const wl_interface* zxdg_surface_v6_interface_destroy_request[0] = {
3853 };
3854 
3855 const wl_interface* zxdg_surface_v6_interface_get_toplevel_request[1] = {
3856  &zxdg_toplevel_v6_interface,
3857 };
3858 
3859 const wl_interface* zxdg_surface_v6_interface_get_popup_request[3] = {
3860  &zxdg_popup_v6_interface,
3861  &zxdg_surface_v6_interface,
3862  &zxdg_positioner_v6_interface,
3863 };
3864 
3865 const wl_interface* zxdg_surface_v6_interface_set_window_geometry_request[4] = {
3866  nullptr,
3867  nullptr,
3868  nullptr,
3869  nullptr,
3870 };
3871 
3872 const wl_interface* zxdg_surface_v6_interface_ack_configure_request[1] = {
3873  nullptr,
3874 };
3875 
3876 const wl_interface* zxdg_surface_v6_interface_configure_event[1] = {
3877  nullptr,
3878 };
3879 
3880 const wl_message zxdg_surface_v6_interface_requests[5] = {
3881  {
3882  "destroy",
3883  "",
3884  zxdg_surface_v6_interface_destroy_request,
3885  },
3886  {
3887  "get_toplevel",
3888  "n",
3889  zxdg_surface_v6_interface_get_toplevel_request,
3890  },
3891  {
3892  "get_popup",
3893  "noo",
3894  zxdg_surface_v6_interface_get_popup_request,
3895  },
3896  {
3897  "set_window_geometry",
3898  "iiii",
3899  zxdg_surface_v6_interface_set_window_geometry_request,
3900  },
3901  {
3902  "ack_configure",
3903  "u",
3904  zxdg_surface_v6_interface_ack_configure_request,
3905  },
3906 };
3907 
3908 const wl_message zxdg_surface_v6_interface_events[1] = {
3909  {
3910  "configure",
3911  "u",
3912  zxdg_surface_v6_interface_configure_event,
3913  },
3914 };
3915 
3916 const wl_interface wayland::detail::zxdg_surface_v6_interface =
3917  {
3918  "zxdg_surface_v6",
3919  1,
3920  5,
3921  zxdg_surface_v6_interface_requests,
3922  1,
3923  zxdg_surface_v6_interface_events,
3924  };
3925 
3926 const wl_interface* zxdg_toplevel_v6_interface_destroy_request[0] = {
3927 };
3928 
3929 const wl_interface* zxdg_toplevel_v6_interface_set_parent_request[1] = {
3930  &zxdg_toplevel_v6_interface,
3931 };
3932 
3933 const wl_interface* zxdg_toplevel_v6_interface_set_title_request[1] = {
3934  nullptr,
3935 };
3936 
3937 const wl_interface* zxdg_toplevel_v6_interface_set_app_id_request[1] = {
3938  nullptr,
3939 };
3940 
3941 const wl_interface* zxdg_toplevel_v6_interface_show_window_menu_request[4] = {
3942  &seat_interface,
3943  nullptr,
3944  nullptr,
3945  nullptr,
3946 };
3947 
3948 const wl_interface* zxdg_toplevel_v6_interface_move_request[2] = {
3949  &seat_interface,
3950  nullptr,
3951 };
3952 
3953 const wl_interface* zxdg_toplevel_v6_interface_resize_request[3] = {
3954  &seat_interface,
3955  nullptr,
3956  nullptr,
3957 };
3958 
3959 const wl_interface* zxdg_toplevel_v6_interface_set_max_size_request[2] = {
3960  nullptr,
3961  nullptr,
3962 };
3963 
3964 const wl_interface* zxdg_toplevel_v6_interface_set_min_size_request[2] = {
3965  nullptr,
3966  nullptr,
3967 };
3968 
3969 const wl_interface* zxdg_toplevel_v6_interface_set_maximized_request[0] = {
3970 };
3971 
3972 const wl_interface* zxdg_toplevel_v6_interface_unset_maximized_request[0] = {
3973 };
3974 
3975 const wl_interface* zxdg_toplevel_v6_interface_set_fullscreen_request[1] = {
3976  &output_interface,
3977 };
3978 
3979 const wl_interface* zxdg_toplevel_v6_interface_unset_fullscreen_request[0] = {
3980 };
3981 
3982 const wl_interface* zxdg_toplevel_v6_interface_set_minimized_request[0] = {
3983 };
3984 
3985 const wl_interface* zxdg_toplevel_v6_interface_configure_event[3] = {
3986  nullptr,
3987  nullptr,
3988  nullptr,
3989 };
3990 
3991 const wl_interface* zxdg_toplevel_v6_interface_close_event[0] = {
3992 };
3993 
3994 const wl_message zxdg_toplevel_v6_interface_requests[14] = {
3995  {
3996  "destroy",
3997  "",
3998  zxdg_toplevel_v6_interface_destroy_request,
3999  },
4000  {
4001  "set_parent",
4002  "?o",
4003  zxdg_toplevel_v6_interface_set_parent_request,
4004  },
4005  {
4006  "set_title",
4007  "s",
4008  zxdg_toplevel_v6_interface_set_title_request,
4009  },
4010  {
4011  "set_app_id",
4012  "s",
4013  zxdg_toplevel_v6_interface_set_app_id_request,
4014  },
4015  {
4016  "show_window_menu",
4017  "ouii",
4018  zxdg_toplevel_v6_interface_show_window_menu_request,
4019  },
4020  {
4021  "move",
4022  "ou",
4023  zxdg_toplevel_v6_interface_move_request,
4024  },
4025  {
4026  "resize",
4027  "ouu",
4028  zxdg_toplevel_v6_interface_resize_request,
4029  },
4030  {
4031  "set_max_size",
4032  "ii",
4033  zxdg_toplevel_v6_interface_set_max_size_request,
4034  },
4035  {
4036  "set_min_size",
4037  "ii",
4038  zxdg_toplevel_v6_interface_set_min_size_request,
4039  },
4040  {
4041  "set_maximized",
4042  "",
4043  zxdg_toplevel_v6_interface_set_maximized_request,
4044  },
4045  {
4046  "unset_maximized",
4047  "",
4048  zxdg_toplevel_v6_interface_unset_maximized_request,
4049  },
4050  {
4051  "set_fullscreen",
4052  "?o",
4053  zxdg_toplevel_v6_interface_set_fullscreen_request,
4054  },
4055  {
4056  "unset_fullscreen",
4057  "",
4058  zxdg_toplevel_v6_interface_unset_fullscreen_request,
4059  },
4060  {
4061  "set_minimized",
4062  "",
4063  zxdg_toplevel_v6_interface_set_minimized_request,
4064  },
4065 };
4066 
4067 const wl_message zxdg_toplevel_v6_interface_events[2] = {
4068  {
4069  "configure",
4070  "iia",
4071  zxdg_toplevel_v6_interface_configure_event,
4072  },
4073  {
4074  "close",
4075  "",
4076  zxdg_toplevel_v6_interface_close_event,
4077  },
4078 };
4079 
4080 const wl_interface wayland::detail::zxdg_toplevel_v6_interface =
4081  {
4082  "zxdg_toplevel_v6",
4083  1,
4084  14,
4085  zxdg_toplevel_v6_interface_requests,
4086  2,
4087  zxdg_toplevel_v6_interface_events,
4088  };
4089 
4090 const wl_interface* zxdg_popup_v6_interface_destroy_request[0] = {
4091 };
4092 
4093 const wl_interface* zxdg_popup_v6_interface_grab_request[2] = {
4094  &seat_interface,
4095  nullptr,
4096 };
4097 
4098 const wl_interface* zxdg_popup_v6_interface_configure_event[4] = {
4099  nullptr,
4100  nullptr,
4101  nullptr,
4102  nullptr,
4103 };
4104 
4105 const wl_interface* zxdg_popup_v6_interface_popup_done_event[0] = {
4106 };
4107 
4108 const wl_message zxdg_popup_v6_interface_requests[2] = {
4109  {
4110  "destroy",
4111  "",
4112  zxdg_popup_v6_interface_destroy_request,
4113  },
4114  {
4115  "grab",
4116  "ou",
4117  zxdg_popup_v6_interface_grab_request,
4118  },
4119 };
4120 
4121 const wl_message zxdg_popup_v6_interface_events[2] = {
4122  {
4123  "configure",
4124  "iiii",
4125  zxdg_popup_v6_interface_configure_event,
4126  },
4127  {
4128  "popup_done",
4129  "",
4130  zxdg_popup_v6_interface_popup_done_event,
4131  },
4132 };
4133 
4134 const wl_interface wayland::detail::zxdg_popup_v6_interface =
4135  {
4136  "zxdg_popup_v6",
4137  1,
4138  2,
4139  zxdg_popup_v6_interface_requests,
4140  2,
4141  zxdg_popup_v6_interface_events,
4142  };
4143 
4144 const wl_interface* zwp_xwayland_keyboard_grab_manager_v1_interface_destroy_request[0] = {
4145 };
4146 
4147 const wl_interface* zwp_xwayland_keyboard_grab_manager_v1_interface_grab_keyboard_request[3] = {
4148  &zwp_xwayland_keyboard_grab_v1_interface,
4149  &surface_interface,
4150  &seat_interface,
4151 };
4152 
4153 const wl_message zwp_xwayland_keyboard_grab_manager_v1_interface_requests[2] = {
4154  {
4155  "destroy",
4156  "",
4157  zwp_xwayland_keyboard_grab_manager_v1_interface_destroy_request,
4158  },
4159  {
4160  "grab_keyboard",
4161  "noo",
4162  zwp_xwayland_keyboard_grab_manager_v1_interface_grab_keyboard_request,
4163  },
4164 };
4165 
4166 const wl_message zwp_xwayland_keyboard_grab_manager_v1_interface_events[0] = {
4167 };
4168 
4169 const wl_interface wayland::detail::zwp_xwayland_keyboard_grab_manager_v1_interface =
4170  {
4171  "zwp_xwayland_keyboard_grab_manager_v1",
4172  1,
4173  2,
4174  zwp_xwayland_keyboard_grab_manager_v1_interface_requests,
4175  0,
4176  zwp_xwayland_keyboard_grab_manager_v1_interface_events,
4177  };
4178 
4179 const wl_interface* zwp_xwayland_keyboard_grab_v1_interface_destroy_request[0] = {
4180 };
4181 
4182 const wl_message zwp_xwayland_keyboard_grab_v1_interface_requests[1] = {
4183  {
4184  "destroy",
4185  "",
4186  zwp_xwayland_keyboard_grab_v1_interface_destroy_request,
4187  },
4188 };
4189 
4190 const wl_message zwp_xwayland_keyboard_grab_v1_interface_events[0] = {
4191 };
4192 
4193 const wl_interface wayland::detail::zwp_xwayland_keyboard_grab_v1_interface =
4194  {
4195  "zwp_xwayland_keyboard_grab_v1",
4196  1,
4197  1,
4198  zwp_xwayland_keyboard_grab_v1_interface_requests,
4199  0,
4200  zwp_xwayland_keyboard_grab_v1_interface_events,
4201  };
4202 
4203 zwp_fullscreen_shell_v1_t::zwp_fullscreen_shell_v1_t(const proxy_t &p)
4204  : proxy_t(p)
4205 {
4206  if(proxy_has_object() && get_wrapper_type() == wrapper_type::standard)
4207  {
4208  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
4209  }
4210  set_interface(&zwp_fullscreen_shell_v1_interface);
4211  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4212  { return zwp_fullscreen_shell_v1_t(p); });
4213 }
4214 
4215 zwp_fullscreen_shell_v1_t::zwp_fullscreen_shell_v1_t()
4216 {
4217  set_interface(&zwp_fullscreen_shell_v1_interface);
4218  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4219  { return zwp_fullscreen_shell_v1_t(p); });
4220 }
4221 
4222 zwp_fullscreen_shell_v1_t::zwp_fullscreen_shell_v1_t(zwp_fullscreen_shell_v1 *p, wrapper_type t)
4223  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4224  if(proxy_has_object() && get_wrapper_type() == wrapper_type::standard)
4225  {
4226  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
4227  }
4228  set_interface(&zwp_fullscreen_shell_v1_interface);
4229  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4230  { return zwp_fullscreen_shell_v1_t(p); });
4231 }
4232 
4233 zwp_fullscreen_shell_v1_t::zwp_fullscreen_shell_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
4234  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4235  set_interface(&zwp_fullscreen_shell_v1_interface);
4236  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4237  { return zwp_fullscreen_shell_v1_t(p); });
4238 }
4239 
4240 zwp_fullscreen_shell_v1_t zwp_fullscreen_shell_v1_t::proxy_create_wrapper()
4241 {
4242  return {*this, construct_proxy_wrapper_tag()};
4243 }
4244 
4245 const std::string zwp_fullscreen_shell_v1_t::interface_name = "zwp_fullscreen_shell_v1";
4246 
4247 zwp_fullscreen_shell_v1_t::operator zwp_fullscreen_shell_v1*() const
4248 {
4249  return reinterpret_cast<zwp_fullscreen_shell_v1*> (c_ptr());
4250 }
4251 
4253 {
4254  marshal(0U);
4255 }
4256 
4257 
4258 void zwp_fullscreen_shell_v1_t::present_surface(surface_t const& surface, zwp_fullscreen_shell_v1_present_method const& method, output_t const& output)
4259 {
4260  marshal(1U, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr, static_cast<uint32_t>(method), output.proxy_has_object() ? reinterpret_cast<wl_object*>(output.c_ptr()) : nullptr);
4261 }
4262 
4263 
4264 zwp_fullscreen_shell_mode_feedback_v1_t zwp_fullscreen_shell_v1_t::present_surface_for_mode(surface_t const& surface, output_t const& output, int32_t framerate)
4265 {
4266  proxy_t p = marshal_constructor(2U, &zwp_fullscreen_shell_mode_feedback_v1_interface, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr, output.proxy_has_object() ? reinterpret_cast<wl_object*>(output.c_ptr()) : nullptr, framerate, nullptr);
4267  return zwp_fullscreen_shell_mode_feedback_v1_t(p);
4268 }
4269 
4270 
4271 std::function<void(zwp_fullscreen_shell_v1_capability)> &zwp_fullscreen_shell_v1_t::on_capability()
4272 {
4273  return std::static_pointer_cast<events_t>(get_events())->capability;
4274 }
4275 
4276 int zwp_fullscreen_shell_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
4277 {
4278  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
4279  switch(opcode)
4280  {
4281  case 0:
4282  if(events->capability) events->capability(zwp_fullscreen_shell_v1_capability(args[0].get<uint32_t>()));
4283  break;
4284  }
4285  return 0;
4286 }
4287 
4288 
4289 
4290 
4291 zwp_fullscreen_shell_mode_feedback_v1_t::zwp_fullscreen_shell_mode_feedback_v1_t(const proxy_t &p)
4292  : proxy_t(p)
4293 {
4295  {
4296  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
4297  }
4298  set_interface(&zwp_fullscreen_shell_mode_feedback_v1_interface);
4299  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4300  { return zwp_fullscreen_shell_mode_feedback_v1_t(p); });
4301 }
4302 
4303 zwp_fullscreen_shell_mode_feedback_v1_t::zwp_fullscreen_shell_mode_feedback_v1_t()
4304 {
4305  set_interface(&zwp_fullscreen_shell_mode_feedback_v1_interface);
4306  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4307  { return zwp_fullscreen_shell_mode_feedback_v1_t(p); });
4308 }
4309 
4310 zwp_fullscreen_shell_mode_feedback_v1_t::zwp_fullscreen_shell_mode_feedback_v1_t(zwp_fullscreen_shell_mode_feedback_v1 *p, wrapper_type t)
4311  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4313  {
4314  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
4315  }
4316  set_interface(&zwp_fullscreen_shell_mode_feedback_v1_interface);
4317  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4318  { return zwp_fullscreen_shell_mode_feedback_v1_t(p); });
4319 }
4320 
4321 zwp_fullscreen_shell_mode_feedback_v1_t::zwp_fullscreen_shell_mode_feedback_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
4322  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4323  set_interface(&zwp_fullscreen_shell_mode_feedback_v1_interface);
4324  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4325  { return zwp_fullscreen_shell_mode_feedback_v1_t(p); });
4326 }
4327 
4328 zwp_fullscreen_shell_mode_feedback_v1_t zwp_fullscreen_shell_mode_feedback_v1_t::proxy_create_wrapper()
4329 {
4330  return {*this, construct_proxy_wrapper_tag()};
4331 }
4332 
4333 const std::string zwp_fullscreen_shell_mode_feedback_v1_t::interface_name = "zwp_fullscreen_shell_mode_feedback_v1";
4334 
4335 zwp_fullscreen_shell_mode_feedback_v1_t::operator zwp_fullscreen_shell_mode_feedback_v1*() const
4336 {
4337  return reinterpret_cast<zwp_fullscreen_shell_mode_feedback_v1*> (c_ptr());
4338 }
4339 
4340 std::function<void()> &zwp_fullscreen_shell_mode_feedback_v1_t::on_mode_successful()
4341 {
4342  return std::static_pointer_cast<events_t>(get_events())->mode_successful;
4343 }
4344 
4345 std::function<void()> &zwp_fullscreen_shell_mode_feedback_v1_t::on_mode_failed()
4346 {
4347  return std::static_pointer_cast<events_t>(get_events())->mode_failed;
4348 }
4349 
4350 std::function<void()> &zwp_fullscreen_shell_mode_feedback_v1_t::on_present_cancelled()
4351 {
4352  return std::static_pointer_cast<events_t>(get_events())->present_cancelled;
4353 }
4354 
4355 int zwp_fullscreen_shell_mode_feedback_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
4356 {
4357  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
4358  switch(opcode)
4359  {
4360  case 0:
4361  if(events->mode_successful) events->mode_successful();
4362  break;
4363  case 1:
4364  if(events->mode_failed) events->mode_failed();
4365  break;
4366  case 2:
4367  if(events->present_cancelled) events->present_cancelled();
4368  break;
4369  }
4370  return 0;
4371 }
4372 
4373 zwp_idle_inhibit_manager_v1_t::zwp_idle_inhibit_manager_v1_t(const proxy_t &p)
4374  : proxy_t(p)
4375 {
4377  {
4378  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
4379  set_destroy_opcode(0U);
4380  }
4381  set_interface(&zwp_idle_inhibit_manager_v1_interface);
4382  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4383  { return zwp_idle_inhibit_manager_v1_t(p); });
4384 }
4385 
4386 zwp_idle_inhibit_manager_v1_t::zwp_idle_inhibit_manager_v1_t()
4387 {
4388  set_interface(&zwp_idle_inhibit_manager_v1_interface);
4389  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4390  { return zwp_idle_inhibit_manager_v1_t(p); });
4391 }
4392 
4393 zwp_idle_inhibit_manager_v1_t::zwp_idle_inhibit_manager_v1_t(zwp_idle_inhibit_manager_v1 *p, wrapper_type t)
4394  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4396  {
4397  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
4398  set_destroy_opcode(0U);
4399  }
4400  set_interface(&zwp_idle_inhibit_manager_v1_interface);
4401  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4402  { return zwp_idle_inhibit_manager_v1_t(p); });
4403 }
4404 
4405 zwp_idle_inhibit_manager_v1_t::zwp_idle_inhibit_manager_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
4406  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4407  set_interface(&zwp_idle_inhibit_manager_v1_interface);
4408  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4409  { return zwp_idle_inhibit_manager_v1_t(p); });
4410 }
4411 
4412 zwp_idle_inhibit_manager_v1_t zwp_idle_inhibit_manager_v1_t::proxy_create_wrapper()
4413 {
4414  return {*this, construct_proxy_wrapper_tag()};
4415 }
4416 
4417 const std::string zwp_idle_inhibit_manager_v1_t::interface_name = "zwp_idle_inhibit_manager_v1";
4418 
4419 zwp_idle_inhibit_manager_v1_t::operator zwp_idle_inhibit_manager_v1*() const
4420 {
4421  return reinterpret_cast<zwp_idle_inhibit_manager_v1*> (c_ptr());
4422 }
4423 
4425 {
4426  proxy_t p = marshal_constructor(1U, &zwp_idle_inhibitor_v1_interface, nullptr, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr);
4427  return zwp_idle_inhibitor_v1_t(p);
4428 }
4429 
4430 
4431 int zwp_idle_inhibit_manager_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
4432 {
4433  return 0;
4434 }
4435 
4436 zwp_idle_inhibitor_v1_t::zwp_idle_inhibitor_v1_t(const proxy_t &p)
4437  : proxy_t(p)
4438 {
4440  {
4441  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
4442  set_destroy_opcode(0U);
4443  }
4444  set_interface(&zwp_idle_inhibitor_v1_interface);
4445  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4446  { return zwp_idle_inhibitor_v1_t(p); });
4447 }
4448 
4449 zwp_idle_inhibitor_v1_t::zwp_idle_inhibitor_v1_t()
4450 {
4451  set_interface(&zwp_idle_inhibitor_v1_interface);
4452  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4453  { return zwp_idle_inhibitor_v1_t(p); });
4454 }
4455 
4456 zwp_idle_inhibitor_v1_t::zwp_idle_inhibitor_v1_t(zwp_idle_inhibitor_v1 *p, wrapper_type t)
4457  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4459  {
4460  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
4461  set_destroy_opcode(0U);
4462  }
4463  set_interface(&zwp_idle_inhibitor_v1_interface);
4464  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4465  { return zwp_idle_inhibitor_v1_t(p); });
4466 }
4467 
4468 zwp_idle_inhibitor_v1_t::zwp_idle_inhibitor_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
4469  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4470  set_interface(&zwp_idle_inhibitor_v1_interface);
4471  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4472  { return zwp_idle_inhibitor_v1_t(p); });
4473 }
4474 
4475 zwp_idle_inhibitor_v1_t zwp_idle_inhibitor_v1_t::proxy_create_wrapper()
4476 {
4477  return {*this, construct_proxy_wrapper_tag()};
4478 }
4479 
4480 const std::string zwp_idle_inhibitor_v1_t::interface_name = "zwp_idle_inhibitor_v1";
4481 
4482 zwp_idle_inhibitor_v1_t::operator zwp_idle_inhibitor_v1*() const
4483 {
4484  return reinterpret_cast<zwp_idle_inhibitor_v1*> (c_ptr());
4485 }
4486 
4487 int zwp_idle_inhibitor_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
4488 {
4489  return 0;
4490 }
4491 
4492 zwp_input_method_context_v1_t::zwp_input_method_context_v1_t(const proxy_t &p)
4493  : proxy_t(p)
4494 {
4496  {
4497  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
4498  set_destroy_opcode(0U);
4499  }
4500  set_interface(&zwp_input_method_context_v1_interface);
4501  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4502  { return zwp_input_method_context_v1_t(p); });
4503 }
4504 
4505 zwp_input_method_context_v1_t::zwp_input_method_context_v1_t()
4506 {
4507  set_interface(&zwp_input_method_context_v1_interface);
4508  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4509  { return zwp_input_method_context_v1_t(p); });
4510 }
4511 
4512 zwp_input_method_context_v1_t::zwp_input_method_context_v1_t(zwp_input_method_context_v1 *p, wrapper_type t)
4513  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4515  {
4516  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
4517  set_destroy_opcode(0U);
4518  }
4519  set_interface(&zwp_input_method_context_v1_interface);
4520  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4521  { return zwp_input_method_context_v1_t(p); });
4522 }
4523 
4524 zwp_input_method_context_v1_t::zwp_input_method_context_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
4525  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4526  set_interface(&zwp_input_method_context_v1_interface);
4527  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4528  { return zwp_input_method_context_v1_t(p); });
4529 }
4530 
4531 zwp_input_method_context_v1_t zwp_input_method_context_v1_t::proxy_create_wrapper()
4532 {
4533  return {*this, construct_proxy_wrapper_tag()};
4534 }
4535 
4536 const std::string zwp_input_method_context_v1_t::interface_name = "zwp_input_method_context_v1";
4537 
4538 zwp_input_method_context_v1_t::operator zwp_input_method_context_v1*() const
4539 {
4540  return reinterpret_cast<zwp_input_method_context_v1*> (c_ptr());
4541 }
4542 
4543 void zwp_input_method_context_v1_t::commit_string(uint32_t serial, std::string const& text)
4544 {
4545  marshal(1U, serial, text);
4546 }
4547 
4548 
4549 void zwp_input_method_context_v1_t::preedit_string(uint32_t serial, std::string const& text, std::string const& commit)
4550 {
4551  marshal(2U, serial, text, commit);
4552 }
4553 
4554 
4555 void zwp_input_method_context_v1_t::preedit_styling(uint32_t index, uint32_t length, zwp_text_input_v1_preedit_style const& style)
4556 {
4557  marshal(3U, index, length, static_cast<uint32_t>(style));
4558 }
4559 
4560 
4562 {
4563  marshal(4U, index);
4564 }
4565 
4566 
4568 {
4569  marshal(5U, index, length);
4570 }
4571 
4572 
4573 void zwp_input_method_context_v1_t::cursor_position(int32_t index, int32_t anchor)
4574 {
4575  marshal(6U, index, anchor);
4576 }
4577 
4578 
4580 {
4581  marshal(7U, map);
4582 }
4583 
4584 
4585 void zwp_input_method_context_v1_t::keysym(uint32_t serial, uint32_t time, uint32_t sym, keyboard_key_state const& state, uint32_t modifiers)
4586 {
4587  marshal(8U, serial, time, sym, static_cast<uint32_t>(state), modifiers);
4588 }
4589 
4590 
4592 {
4593  proxy_t p = marshal_constructor(9U, &keyboard_interface, nullptr);
4594  return keyboard_t(p);
4595 }
4596 
4597 
4598 void zwp_input_method_context_v1_t::key(uint32_t serial, uint32_t time, uint32_t key, keyboard_key_state const& state)
4599 {
4600  marshal(10U, serial, time, key, static_cast<uint32_t>(state));
4601 }
4602 
4603 
4604 void zwp_input_method_context_v1_t::modifiers(uint32_t serial, uint32_t mods_depressed, uint32_t mods_latched, uint32_t mods_locked, uint32_t group)
4605 {
4606  marshal(11U, serial, mods_depressed, mods_latched, mods_locked, group);
4607 }
4608 
4609 
4610 void zwp_input_method_context_v1_t::language(uint32_t serial, std::string const& language)
4611 {
4612  marshal(12U, serial, language);
4613 }
4614 
4615 
4616 void zwp_input_method_context_v1_t::text_direction(uint32_t serial, uint32_t direction)
4617 {
4618  marshal(13U, serial, direction);
4619 }
4620 
4621 
4622 std::function<void(std::string, uint32_t, uint32_t)> &zwp_input_method_context_v1_t::on_surrounding_text()
4623 {
4624  return std::static_pointer_cast<events_t>(get_events())->surrounding_text;
4625 }
4626 
4627 std::function<void()> &zwp_input_method_context_v1_t::on_reset()
4628 {
4629  return std::static_pointer_cast<events_t>(get_events())->reset;
4630 }
4631 
4632 std::function<void(zwp_text_input_v1_content_hint, zwp_text_input_v1_content_purpose)> &zwp_input_method_context_v1_t::on_content_type()
4633 {
4634  return std::static_pointer_cast<events_t>(get_events())->content_type;
4635 }
4636 
4637 std::function<void(uint32_t, uint32_t)> &zwp_input_method_context_v1_t::on_invoke_action()
4638 {
4639  return std::static_pointer_cast<events_t>(get_events())->invoke_action;
4640 }
4641 
4642 std::function<void(uint32_t)> &zwp_input_method_context_v1_t::on_commit_state()
4643 {
4644  return std::static_pointer_cast<events_t>(get_events())->commit_state;
4645 }
4646 
4647 std::function<void(std::string)> &zwp_input_method_context_v1_t::on_preferred_language()
4648 {
4649  return std::static_pointer_cast<events_t>(get_events())->preferred_language;
4650 }
4651 
4652 int zwp_input_method_context_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
4653 {
4654  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
4655  switch(opcode)
4656  {
4657  case 0:
4658  if(events->surrounding_text) events->surrounding_text(args[0].get<std::string>(), args[1].get<uint32_t>(), args[2].get<uint32_t>());
4659  break;
4660  case 1:
4661  if(events->reset) events->reset();
4662  break;
4663  case 2:
4664  if(events->content_type) events->content_type(zwp_text_input_v1_content_hint(args[0].get<uint32_t>()), zwp_text_input_v1_content_purpose(args[1].get<uint32_t>()));
4665  break;
4666  case 3:
4667  if(events->invoke_action) events->invoke_action(args[0].get<uint32_t>(), args[1].get<uint32_t>());
4668  break;
4669  case 4:
4670  if(events->commit_state) events->commit_state(args[0].get<uint32_t>());
4671  break;
4672  case 5:
4673  if(events->preferred_language) events->preferred_language(args[0].get<std::string>());
4674  break;
4675  }
4676  return 0;
4677 }
4678 
4679 zwp_input_method_v1_t::zwp_input_method_v1_t(const proxy_t &p)
4680  : proxy_t(p)
4681 {
4683  {
4684  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
4685  }
4686  set_interface(&zwp_input_method_v1_interface);
4687  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4688  { return zwp_input_method_v1_t(p); });
4689 }
4690 
4691 zwp_input_method_v1_t::zwp_input_method_v1_t()
4692 {
4693  set_interface(&zwp_input_method_v1_interface);
4694  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4695  { return zwp_input_method_v1_t(p); });
4696 }
4697 
4698 zwp_input_method_v1_t::zwp_input_method_v1_t(zwp_input_method_v1 *p, wrapper_type t)
4699  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4701  {
4702  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
4703  }
4704  set_interface(&zwp_input_method_v1_interface);
4705  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4706  { return zwp_input_method_v1_t(p); });
4707 }
4708 
4709 zwp_input_method_v1_t::zwp_input_method_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
4710  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4711  set_interface(&zwp_input_method_v1_interface);
4712  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4713  { return zwp_input_method_v1_t(p); });
4714 }
4715 
4716 zwp_input_method_v1_t zwp_input_method_v1_t::proxy_create_wrapper()
4717 {
4718  return {*this, construct_proxy_wrapper_tag()};
4719 }
4720 
4721 const std::string zwp_input_method_v1_t::interface_name = "zwp_input_method_v1";
4722 
4723 zwp_input_method_v1_t::operator zwp_input_method_v1*() const
4724 {
4725  return reinterpret_cast<zwp_input_method_v1*> (c_ptr());
4726 }
4727 
4729 {
4730  return std::static_pointer_cast<events_t>(get_events())->activate;
4731 }
4732 
4734 {
4735  return std::static_pointer_cast<events_t>(get_events())->deactivate;
4736 }
4737 
4738 int zwp_input_method_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
4739 {
4740  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
4741  switch(opcode)
4742  {
4743  case 0:
4744  if(events->activate) events->activate(zwp_input_method_context_v1_t(args[0].get<proxy_t>()));
4745  break;
4746  case 1:
4747  if(events->deactivate) events->deactivate(zwp_input_method_context_v1_t(args[0].get<proxy_t>()));
4748  break;
4749  }
4750  return 0;
4751 }
4752 
4753 zwp_input_panel_v1_t::zwp_input_panel_v1_t(const proxy_t &p)
4754  : proxy_t(p)
4755 {
4757  {
4758  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
4759  }
4760  set_interface(&zwp_input_panel_v1_interface);
4761  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4762  { return zwp_input_panel_v1_t(p); });
4763 }
4764 
4765 zwp_input_panel_v1_t::zwp_input_panel_v1_t()
4766 {
4767  set_interface(&zwp_input_panel_v1_interface);
4768  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4769  { return zwp_input_panel_v1_t(p); });
4770 }
4771 
4772 zwp_input_panel_v1_t::zwp_input_panel_v1_t(zwp_input_panel_v1 *p, wrapper_type t)
4773  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4775  {
4776  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
4777  }
4778  set_interface(&zwp_input_panel_v1_interface);
4779  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4780  { return zwp_input_panel_v1_t(p); });
4781 }
4782 
4783 zwp_input_panel_v1_t::zwp_input_panel_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
4784  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4785  set_interface(&zwp_input_panel_v1_interface);
4786  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4787  { return zwp_input_panel_v1_t(p); });
4788 }
4789 
4790 zwp_input_panel_v1_t zwp_input_panel_v1_t::proxy_create_wrapper()
4791 {
4792  return {*this, construct_proxy_wrapper_tag()};
4793 }
4794 
4795 const std::string zwp_input_panel_v1_t::interface_name = "zwp_input_panel_v1";
4796 
4797 zwp_input_panel_v1_t::operator zwp_input_panel_v1*() const
4798 {
4799  return reinterpret_cast<zwp_input_panel_v1*> (c_ptr());
4800 }
4801 
4802 zwp_input_panel_surface_v1_t zwp_input_panel_v1_t::get_input_panel_surface(surface_t const& surface)
4803 {
4804  proxy_t p = marshal_constructor(0U, &zwp_input_panel_surface_v1_interface, nullptr, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr);
4805  return zwp_input_panel_surface_v1_t(p);
4806 }
4807 
4808 
4809 int zwp_input_panel_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
4810 {
4811  return 0;
4812 }
4813 
4814 zwp_input_panel_surface_v1_t::zwp_input_panel_surface_v1_t(const proxy_t &p)
4815  : proxy_t(p)
4816 {
4818  {
4819  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
4820  }
4821  set_interface(&zwp_input_panel_surface_v1_interface);
4822  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4823  { return zwp_input_panel_surface_v1_t(p); });
4824 }
4825 
4826 zwp_input_panel_surface_v1_t::zwp_input_panel_surface_v1_t()
4827 {
4828  set_interface(&zwp_input_panel_surface_v1_interface);
4829  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4830  { return zwp_input_panel_surface_v1_t(p); });
4831 }
4832 
4833 zwp_input_panel_surface_v1_t::zwp_input_panel_surface_v1_t(zwp_input_panel_surface_v1 *p, wrapper_type t)
4834  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4836  {
4837  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
4838  }
4839  set_interface(&zwp_input_panel_surface_v1_interface);
4840  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4841  { return zwp_input_panel_surface_v1_t(p); });
4842 }
4843 
4844 zwp_input_panel_surface_v1_t::zwp_input_panel_surface_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
4845  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4846  set_interface(&zwp_input_panel_surface_v1_interface);
4847  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4848  { return zwp_input_panel_surface_v1_t(p); });
4849 }
4850 
4851 zwp_input_panel_surface_v1_t zwp_input_panel_surface_v1_t::proxy_create_wrapper()
4852 {
4853  return {*this, construct_proxy_wrapper_tag()};
4854 }
4855 
4856 const std::string zwp_input_panel_surface_v1_t::interface_name = "zwp_input_panel_surface_v1";
4857 
4858 zwp_input_panel_surface_v1_t::operator zwp_input_panel_surface_v1*() const
4859 {
4860  return reinterpret_cast<zwp_input_panel_surface_v1*> (c_ptr());
4861 }
4862 
4863 void zwp_input_panel_surface_v1_t::set_toplevel(output_t const& output, zwp_input_panel_surface_v1_position const& position)
4864 {
4865  marshal(0U, output.proxy_has_object() ? reinterpret_cast<wl_object*>(output.c_ptr()) : nullptr, static_cast<uint32_t>(position));
4866 }
4867 
4868 
4869 void zwp_input_panel_surface_v1_t::set_overlay_panel()
4870 {
4871  marshal(1U);
4872 }
4873 
4874 
4875 int zwp_input_panel_surface_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
4876 {
4877  return 0;
4878 }
4879 
4880 
4881 zwp_input_timestamps_manager_v1_t::zwp_input_timestamps_manager_v1_t(const proxy_t &p)
4882  : proxy_t(p)
4883 {
4885  {
4886  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
4887  set_destroy_opcode(0U);
4888  }
4889  set_interface(&zwp_input_timestamps_manager_v1_interface);
4890  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4891  { return zwp_input_timestamps_manager_v1_t(p); });
4892 }
4893 
4894 zwp_input_timestamps_manager_v1_t::zwp_input_timestamps_manager_v1_t()
4895 {
4896  set_interface(&zwp_input_timestamps_manager_v1_interface);
4897  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4898  { return zwp_input_timestamps_manager_v1_t(p); });
4899 }
4900 
4901 zwp_input_timestamps_manager_v1_t::zwp_input_timestamps_manager_v1_t(zwp_input_timestamps_manager_v1 *p, wrapper_type t)
4902  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4904  {
4905  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
4906  set_destroy_opcode(0U);
4907  }
4908  set_interface(&zwp_input_timestamps_manager_v1_interface);
4909  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4910  { return zwp_input_timestamps_manager_v1_t(p); });
4911 }
4912 
4913 zwp_input_timestamps_manager_v1_t::zwp_input_timestamps_manager_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
4914  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4915  set_interface(&zwp_input_timestamps_manager_v1_interface);
4916  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4917  { return zwp_input_timestamps_manager_v1_t(p); });
4918 }
4919 
4920 zwp_input_timestamps_manager_v1_t zwp_input_timestamps_manager_v1_t::proxy_create_wrapper()
4921 {
4922  return {*this, construct_proxy_wrapper_tag()};
4923 }
4924 
4925 const std::string zwp_input_timestamps_manager_v1_t::interface_name = "zwp_input_timestamps_manager_v1";
4926 
4927 zwp_input_timestamps_manager_v1_t::operator zwp_input_timestamps_manager_v1*() const
4928 {
4929  return reinterpret_cast<zwp_input_timestamps_manager_v1*> (c_ptr());
4930 }
4931 
4933 {
4934  proxy_t p = marshal_constructor(1U, &zwp_input_timestamps_v1_interface, nullptr, keyboard.proxy_has_object() ? reinterpret_cast<wl_object*>(keyboard.c_ptr()) : nullptr);
4935  return zwp_input_timestamps_v1_t(p);
4936 }
4937 
4938 
4940 {
4941  proxy_t p = marshal_constructor(2U, &zwp_input_timestamps_v1_interface, nullptr, pointer.proxy_has_object() ? reinterpret_cast<wl_object*>(pointer.c_ptr()) : nullptr);
4942  return zwp_input_timestamps_v1_t(p);
4943 }
4944 
4945 
4947 {
4948  proxy_t p = marshal_constructor(3U, &zwp_input_timestamps_v1_interface, nullptr, touch.proxy_has_object() ? reinterpret_cast<wl_object*>(touch.c_ptr()) : nullptr);
4949  return zwp_input_timestamps_v1_t(p);
4950 }
4951 
4952 
4953 int zwp_input_timestamps_manager_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
4954 {
4955  return 0;
4956 }
4957 
4958 zwp_input_timestamps_v1_t::zwp_input_timestamps_v1_t(const proxy_t &p)
4959  : proxy_t(p)
4960 {
4962  {
4963  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
4964  set_destroy_opcode(0U);
4965  }
4966  set_interface(&zwp_input_timestamps_v1_interface);
4967  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4968  { return zwp_input_timestamps_v1_t(p); });
4969 }
4970 
4971 zwp_input_timestamps_v1_t::zwp_input_timestamps_v1_t()
4972 {
4973  set_interface(&zwp_input_timestamps_v1_interface);
4974  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4975  { return zwp_input_timestamps_v1_t(p); });
4976 }
4977 
4978 zwp_input_timestamps_v1_t::zwp_input_timestamps_v1_t(zwp_input_timestamps_v1 *p, wrapper_type t)
4979  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
4981  {
4982  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
4983  set_destroy_opcode(0U);
4984  }
4985  set_interface(&zwp_input_timestamps_v1_interface);
4986  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4987  { return zwp_input_timestamps_v1_t(p); });
4988 }
4989 
4990 zwp_input_timestamps_v1_t::zwp_input_timestamps_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
4991  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
4992  set_interface(&zwp_input_timestamps_v1_interface);
4993  set_copy_constructor([] (const proxy_t &p) -> proxy_t
4994  { return zwp_input_timestamps_v1_t(p); });
4995 }
4996 
4997 zwp_input_timestamps_v1_t zwp_input_timestamps_v1_t::proxy_create_wrapper()
4998 {
4999  return {*this, construct_proxy_wrapper_tag()};
5000 }
5001 
5002 const std::string zwp_input_timestamps_v1_t::interface_name = "zwp_input_timestamps_v1";
5003 
5004 zwp_input_timestamps_v1_t::operator zwp_input_timestamps_v1*() const
5005 {
5006  return reinterpret_cast<zwp_input_timestamps_v1*> (c_ptr());
5007 }
5008 
5009 std::function<void(uint32_t, uint32_t, uint32_t)> &zwp_input_timestamps_v1_t::on_timestamp()
5010 {
5011  return std::static_pointer_cast<events_t>(get_events())->timestamp;
5012 }
5013 
5014 int zwp_input_timestamps_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
5015 {
5016  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5017  switch(opcode)
5018  {
5019  case 0:
5020  if(events->timestamp) events->timestamp(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<uint32_t>());
5021  break;
5022  }
5023  return 0;
5024 }
5025 
5026 zwp_keyboard_shortcuts_inhibit_manager_v1_t::zwp_keyboard_shortcuts_inhibit_manager_v1_t(const proxy_t &p)
5027  : proxy_t(p)
5028 {
5030  {
5031  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5032  set_destroy_opcode(0U);
5033  }
5034  set_interface(&zwp_keyboard_shortcuts_inhibit_manager_v1_interface);
5035  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5037 }
5038 
5039 zwp_keyboard_shortcuts_inhibit_manager_v1_t::zwp_keyboard_shortcuts_inhibit_manager_v1_t()
5040 {
5041  set_interface(&zwp_keyboard_shortcuts_inhibit_manager_v1_interface);
5042  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5044 }
5045 
5046 zwp_keyboard_shortcuts_inhibit_manager_v1_t::zwp_keyboard_shortcuts_inhibit_manager_v1_t(zwp_keyboard_shortcuts_inhibit_manager_v1 *p, wrapper_type t)
5047  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5049  {
5050  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5051  set_destroy_opcode(0U);
5052  }
5053  set_interface(&zwp_keyboard_shortcuts_inhibit_manager_v1_interface);
5054  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5056 }
5057 
5058 zwp_keyboard_shortcuts_inhibit_manager_v1_t::zwp_keyboard_shortcuts_inhibit_manager_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
5059  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5060  set_interface(&zwp_keyboard_shortcuts_inhibit_manager_v1_interface);
5061  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5063 }
5064 
5065 zwp_keyboard_shortcuts_inhibit_manager_v1_t zwp_keyboard_shortcuts_inhibit_manager_v1_t::proxy_create_wrapper()
5066 {
5067  return {*this, construct_proxy_wrapper_tag()};
5068 }
5069 
5070 const std::string zwp_keyboard_shortcuts_inhibit_manager_v1_t::interface_name = "zwp_keyboard_shortcuts_inhibit_manager_v1";
5071 
5072 zwp_keyboard_shortcuts_inhibit_manager_v1_t::operator zwp_keyboard_shortcuts_inhibit_manager_v1*() const
5073 {
5074  return reinterpret_cast<zwp_keyboard_shortcuts_inhibit_manager_v1*> (c_ptr());
5075 }
5076 
5078 {
5079  proxy_t p = marshal_constructor(1U, &zwp_keyboard_shortcuts_inhibitor_v1_interface, nullptr, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr, seat.proxy_has_object() ? reinterpret_cast<wl_object*>(seat.c_ptr()) : nullptr);
5081 }
5082 
5083 
5084 int zwp_keyboard_shortcuts_inhibit_manager_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
5085 {
5086  return 0;
5087 }
5088 
5089 
5090 zwp_keyboard_shortcuts_inhibitor_v1_t::zwp_keyboard_shortcuts_inhibitor_v1_t(const proxy_t &p)
5091  : proxy_t(p)
5092 {
5094  {
5095  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5096  set_destroy_opcode(0U);
5097  }
5098  set_interface(&zwp_keyboard_shortcuts_inhibitor_v1_interface);
5099  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5100  { return zwp_keyboard_shortcuts_inhibitor_v1_t(p); });
5101 }
5102 
5103 zwp_keyboard_shortcuts_inhibitor_v1_t::zwp_keyboard_shortcuts_inhibitor_v1_t()
5104 {
5105  set_interface(&zwp_keyboard_shortcuts_inhibitor_v1_interface);
5106  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5107  { return zwp_keyboard_shortcuts_inhibitor_v1_t(p); });
5108 }
5109 
5110 zwp_keyboard_shortcuts_inhibitor_v1_t::zwp_keyboard_shortcuts_inhibitor_v1_t(zwp_keyboard_shortcuts_inhibitor_v1 *p, wrapper_type t)
5111  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5113  {
5114  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5115  set_destroy_opcode(0U);
5116  }
5117  set_interface(&zwp_keyboard_shortcuts_inhibitor_v1_interface);
5118  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5119  { return zwp_keyboard_shortcuts_inhibitor_v1_t(p); });
5120 }
5121 
5122 zwp_keyboard_shortcuts_inhibitor_v1_t::zwp_keyboard_shortcuts_inhibitor_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
5123  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5124  set_interface(&zwp_keyboard_shortcuts_inhibitor_v1_interface);
5125  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5126  { return zwp_keyboard_shortcuts_inhibitor_v1_t(p); });
5127 }
5128 
5129 zwp_keyboard_shortcuts_inhibitor_v1_t zwp_keyboard_shortcuts_inhibitor_v1_t::proxy_create_wrapper()
5130 {
5131  return {*this, construct_proxy_wrapper_tag()};
5132 }
5133 
5134 const std::string zwp_keyboard_shortcuts_inhibitor_v1_t::interface_name = "zwp_keyboard_shortcuts_inhibitor_v1";
5135 
5136 zwp_keyboard_shortcuts_inhibitor_v1_t::operator zwp_keyboard_shortcuts_inhibitor_v1*() const
5137 {
5138  return reinterpret_cast<zwp_keyboard_shortcuts_inhibitor_v1*> (c_ptr());
5139 }
5140 
5142 {
5143  return std::static_pointer_cast<events_t>(get_events())->active;
5144 }
5145 
5147 {
5148  return std::static_pointer_cast<events_t>(get_events())->inactive;
5149 }
5150 
5151 int zwp_keyboard_shortcuts_inhibitor_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
5152 {
5153  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5154  switch(opcode)
5155  {
5156  case 0:
5157  if(events->active) events->active();
5158  break;
5159  case 1:
5160  if(events->inactive) events->inactive();
5161  break;
5162  }
5163  return 0;
5164 }
5165 
5166 zwp_linux_dmabuf_v1_t::zwp_linux_dmabuf_v1_t(const proxy_t &p)
5167  : proxy_t(p)
5168 {
5170  {
5171  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5172  set_destroy_opcode(0U);
5173  }
5174  set_interface(&zwp_linux_dmabuf_v1_interface);
5175  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5176  { return zwp_linux_dmabuf_v1_t(p); });
5177 }
5178 
5179 zwp_linux_dmabuf_v1_t::zwp_linux_dmabuf_v1_t()
5180 {
5181  set_interface(&zwp_linux_dmabuf_v1_interface);
5182  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5183  { return zwp_linux_dmabuf_v1_t(p); });
5184 }
5185 
5186 zwp_linux_dmabuf_v1_t::zwp_linux_dmabuf_v1_t(zwp_linux_dmabuf_v1 *p, wrapper_type t)
5187  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5189  {
5190  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5191  set_destroy_opcode(0U);
5192  }
5193  set_interface(&zwp_linux_dmabuf_v1_interface);
5194  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5195  { return zwp_linux_dmabuf_v1_t(p); });
5196 }
5197 
5198 zwp_linux_dmabuf_v1_t::zwp_linux_dmabuf_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
5199  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5200  set_interface(&zwp_linux_dmabuf_v1_interface);
5201  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5202  { return zwp_linux_dmabuf_v1_t(p); });
5203 }
5204 
5205 zwp_linux_dmabuf_v1_t zwp_linux_dmabuf_v1_t::proxy_create_wrapper()
5206 {
5207  return {*this, construct_proxy_wrapper_tag()};
5208 }
5209 
5210 const std::string zwp_linux_dmabuf_v1_t::interface_name = "zwp_linux_dmabuf_v1";
5211 
5212 zwp_linux_dmabuf_v1_t::operator zwp_linux_dmabuf_v1*() const
5213 {
5214  return reinterpret_cast<zwp_linux_dmabuf_v1*> (c_ptr());
5215 }
5216 
5218 {
5219  proxy_t p = marshal_constructor(1U, &zwp_linux_buffer_params_v1_interface, nullptr);
5220  return zwp_linux_buffer_params_v1_t(p);
5221 }
5222 
5223 
5225 {
5226  proxy_t p = marshal_constructor(2U, &zwp_linux_dmabuf_feedback_v1_interface, nullptr);
5228 }
5229 
5231 {
5233 }
5234 
5235 
5237 {
5238  proxy_t p = marshal_constructor(3U, &zwp_linux_dmabuf_feedback_v1_interface, nullptr, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr);
5240 }
5241 
5243 {
5245 }
5246 
5247 
5248 std::function<void(uint32_t)> &zwp_linux_dmabuf_v1_t::on_format()
5249 {
5250  return std::static_pointer_cast<events_t>(get_events())->format;
5251 }
5252 
5253 std::function<void(uint32_t, uint32_t, uint32_t)> &zwp_linux_dmabuf_v1_t::on_modifier()
5254 {
5255  return std::static_pointer_cast<events_t>(get_events())->modifier;
5256 }
5257 
5258 int zwp_linux_dmabuf_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
5259 {
5260  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5261  switch(opcode)
5262  {
5263  case 0:
5264  if(events->format) events->format(args[0].get<uint32_t>());
5265  break;
5266  case 1:
5267  if(events->modifier) events->modifier(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<uint32_t>());
5268  break;
5269  }
5270  return 0;
5271 }
5272 
5273 zwp_linux_buffer_params_v1_t::zwp_linux_buffer_params_v1_t(const proxy_t &p)
5274  : proxy_t(p)
5275 {
5277  {
5278  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5279  set_destroy_opcode(0U);
5280  }
5281  set_interface(&zwp_linux_buffer_params_v1_interface);
5282  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5283  { return zwp_linux_buffer_params_v1_t(p); });
5284 }
5285 
5286 zwp_linux_buffer_params_v1_t::zwp_linux_buffer_params_v1_t()
5287 {
5288  set_interface(&zwp_linux_buffer_params_v1_interface);
5289  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5290  { return zwp_linux_buffer_params_v1_t(p); });
5291 }
5292 
5293 zwp_linux_buffer_params_v1_t::zwp_linux_buffer_params_v1_t(zwp_linux_buffer_params_v1 *p, wrapper_type t)
5294  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5296  {
5297  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5298  set_destroy_opcode(0U);
5299  }
5300  set_interface(&zwp_linux_buffer_params_v1_interface);
5301  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5302  { return zwp_linux_buffer_params_v1_t(p); });
5303 }
5304 
5305 zwp_linux_buffer_params_v1_t::zwp_linux_buffer_params_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
5306  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5307  set_interface(&zwp_linux_buffer_params_v1_interface);
5308  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5309  { return zwp_linux_buffer_params_v1_t(p); });
5310 }
5311 
5312 zwp_linux_buffer_params_v1_t zwp_linux_buffer_params_v1_t::proxy_create_wrapper()
5313 {
5314  return {*this, construct_proxy_wrapper_tag()};
5315 }
5316 
5317 const std::string zwp_linux_buffer_params_v1_t::interface_name = "zwp_linux_buffer_params_v1";
5318 
5319 zwp_linux_buffer_params_v1_t::operator zwp_linux_buffer_params_v1*() const
5320 {
5321  return reinterpret_cast<zwp_linux_buffer_params_v1*> (c_ptr());
5322 }
5323 
5324 void zwp_linux_buffer_params_v1_t::add(int fd, uint32_t plane_idx, uint32_t offset, uint32_t stride, uint32_t modifier_hi, uint32_t modifier_lo)
5325 {
5326  marshal(1U, argument_t::fd(fd), plane_idx, offset, stride, modifier_hi, modifier_lo);
5327 }
5328 
5329 
5330 void zwp_linux_buffer_params_v1_t::create(int32_t width, int32_t height, uint32_t format, zwp_linux_buffer_params_v1_flags const& flags)
5331 {
5332  marshal(2U, width, height, format, static_cast<uint32_t>(flags));
5333 }
5334 
5335 
5336 buffer_t zwp_linux_buffer_params_v1_t::create_immed(int32_t width, int32_t height, uint32_t format, zwp_linux_buffer_params_v1_flags const& flags)
5337 {
5338  proxy_t p = marshal_constructor(3U, &buffer_interface, nullptr, width, height, format, static_cast<uint32_t>(flags));
5339  return buffer_t(p);
5340 }
5341 
5343 {
5345 }
5346 
5347 
5349 {
5350  return std::static_pointer_cast<events_t>(get_events())->created;
5351 }
5352 
5354 {
5355  return std::static_pointer_cast<events_t>(get_events())->failed;
5356 }
5357 
5358 int zwp_linux_buffer_params_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
5359 {
5360  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5361  switch(opcode)
5362  {
5363  case 0:
5364  if(events->created) events->created(buffer_t(args[0].get<proxy_t>()));
5365  break;
5366  case 1:
5367  if(events->failed) events->failed();
5368  break;
5369  }
5370  return 0;
5371 }
5372 
5373 const bitfield<3, 6> zwp_linux_buffer_params_v1_flags::y_invert{1};
5374 const bitfield<3, 6> zwp_linux_buffer_params_v1_flags::interlaced{2};
5375 const bitfield<3, 6> zwp_linux_buffer_params_v1_flags::bottom_first{4};
5376 
5377 
5378 zwp_linux_dmabuf_feedback_v1_t::zwp_linux_dmabuf_feedback_v1_t(const proxy_t &p)
5379  : proxy_t(p)
5380 {
5382  {
5383  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5384  set_destroy_opcode(0U);
5385  }
5386  set_interface(&zwp_linux_dmabuf_feedback_v1_interface);
5387  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5388  { return zwp_linux_dmabuf_feedback_v1_t(p); });
5389 }
5390 
5391 zwp_linux_dmabuf_feedback_v1_t::zwp_linux_dmabuf_feedback_v1_t()
5392 {
5393  set_interface(&zwp_linux_dmabuf_feedback_v1_interface);
5394  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5395  { return zwp_linux_dmabuf_feedback_v1_t(p); });
5396 }
5397 
5398 zwp_linux_dmabuf_feedback_v1_t::zwp_linux_dmabuf_feedback_v1_t(zwp_linux_dmabuf_feedback_v1 *p, wrapper_type t)
5399  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5401  {
5402  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5403  set_destroy_opcode(0U);
5404  }
5405  set_interface(&zwp_linux_dmabuf_feedback_v1_interface);
5406  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5407  { return zwp_linux_dmabuf_feedback_v1_t(p); });
5408 }
5409 
5410 zwp_linux_dmabuf_feedback_v1_t::zwp_linux_dmabuf_feedback_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
5411  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5412  set_interface(&zwp_linux_dmabuf_feedback_v1_interface);
5413  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5414  { return zwp_linux_dmabuf_feedback_v1_t(p); });
5415 }
5416 
5417 zwp_linux_dmabuf_feedback_v1_t zwp_linux_dmabuf_feedback_v1_t::proxy_create_wrapper()
5418 {
5419  return {*this, construct_proxy_wrapper_tag()};
5420 }
5421 
5422 const std::string zwp_linux_dmabuf_feedback_v1_t::interface_name = "zwp_linux_dmabuf_feedback_v1";
5423 
5424 zwp_linux_dmabuf_feedback_v1_t::operator zwp_linux_dmabuf_feedback_v1*() const
5425 {
5426  return reinterpret_cast<zwp_linux_dmabuf_feedback_v1*> (c_ptr());
5427 }
5428 
5430 {
5431  return std::static_pointer_cast<events_t>(get_events())->done;
5432 }
5433 
5434 std::function<void(int, uint32_t)> &zwp_linux_dmabuf_feedback_v1_t::on_format_table()
5435 {
5436  return std::static_pointer_cast<events_t>(get_events())->format_table;
5437 }
5438 
5439 std::function<void(array_t)> &zwp_linux_dmabuf_feedback_v1_t::on_main_device()
5440 {
5441  return std::static_pointer_cast<events_t>(get_events())->main_device;
5442 }
5443 
5445 {
5446  return std::static_pointer_cast<events_t>(get_events())->tranche_done;
5447 }
5448 
5450 {
5451  return std::static_pointer_cast<events_t>(get_events())->tranche_target_device;
5452 }
5453 
5455 {
5456  return std::static_pointer_cast<events_t>(get_events())->tranche_formats;
5457 }
5458 
5459 std::function<void(zwp_linux_dmabuf_feedback_v1_tranche_flags)> &zwp_linux_dmabuf_feedback_v1_t::on_tranche_flags()
5460 {
5461  return std::static_pointer_cast<events_t>(get_events())->tranche_flags;
5462 }
5463 
5464 int zwp_linux_dmabuf_feedback_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
5465 {
5466  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5467  switch(opcode)
5468  {
5469  case 0:
5470  if(events->done) events->done();
5471  break;
5472  case 1:
5473  if(events->format_table) events->format_table(args[0].get<int>(), args[1].get<uint32_t>());
5474  break;
5475  case 2:
5476  if(events->main_device) events->main_device(args[0].get<array_t>());
5477  break;
5478  case 3:
5479  if(events->tranche_done) events->tranche_done();
5480  break;
5481  case 4:
5482  if(events->tranche_target_device) events->tranche_target_device(args[0].get<array_t>());
5483  break;
5484  case 5:
5485  if(events->tranche_formats) events->tranche_formats(args[0].get<array_t>());
5486  break;
5487  case 6:
5488  if(events->tranche_flags) events->tranche_flags(zwp_linux_dmabuf_feedback_v1_tranche_flags(args[0].get<uint32_t>()));
5489  break;
5490  }
5491  return 0;
5492 }
5493 const bitfield<1, 7> zwp_linux_dmabuf_feedback_v1_tranche_flags::scanout{1};
5494 
5495 
5496 zwp_linux_explicit_synchronization_v1_t::zwp_linux_explicit_synchronization_v1_t(const proxy_t &p)
5497  : proxy_t(p)
5498 {
5500  {
5501  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5502  set_destroy_opcode(0U);
5503  }
5504  set_interface(&zwp_linux_explicit_synchronization_v1_interface);
5505  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5507 }
5508 
5509 zwp_linux_explicit_synchronization_v1_t::zwp_linux_explicit_synchronization_v1_t()
5510 {
5511  set_interface(&zwp_linux_explicit_synchronization_v1_interface);
5512  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5514 }
5515 
5516 zwp_linux_explicit_synchronization_v1_t::zwp_linux_explicit_synchronization_v1_t(zwp_linux_explicit_synchronization_v1 *p, wrapper_type t)
5517  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5519  {
5520  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5521  set_destroy_opcode(0U);
5522  }
5523  set_interface(&zwp_linux_explicit_synchronization_v1_interface);
5524  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5526 }
5527 
5528 zwp_linux_explicit_synchronization_v1_t::zwp_linux_explicit_synchronization_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
5529  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5530  set_interface(&zwp_linux_explicit_synchronization_v1_interface);
5531  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5533 }
5534 
5535 zwp_linux_explicit_synchronization_v1_t zwp_linux_explicit_synchronization_v1_t::proxy_create_wrapper()
5536 {
5537  return {*this, construct_proxy_wrapper_tag()};
5538 }
5539 
5540 const std::string zwp_linux_explicit_synchronization_v1_t::interface_name = "zwp_linux_explicit_synchronization_v1";
5541 
5542 zwp_linux_explicit_synchronization_v1_t::operator zwp_linux_explicit_synchronization_v1*() const
5543 {
5544  return reinterpret_cast<zwp_linux_explicit_synchronization_v1*> (c_ptr());
5545 }
5546 
5548 {
5549  proxy_t p = marshal_constructor(1U, &zwp_linux_surface_synchronization_v1_interface, nullptr, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr);
5551 }
5552 
5553 
5554 int zwp_linux_explicit_synchronization_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
5555 {
5556  return 0;
5557 }
5558 
5559 
5560 zwp_linux_surface_synchronization_v1_t::zwp_linux_surface_synchronization_v1_t(const proxy_t &p)
5561  : proxy_t(p)
5562 {
5564  {
5565  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5566  set_destroy_opcode(0U);
5567  }
5568  set_interface(&zwp_linux_surface_synchronization_v1_interface);
5569  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5571 }
5572 
5573 zwp_linux_surface_synchronization_v1_t::zwp_linux_surface_synchronization_v1_t()
5574 {
5575  set_interface(&zwp_linux_surface_synchronization_v1_interface);
5576  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5578 }
5579 
5580 zwp_linux_surface_synchronization_v1_t::zwp_linux_surface_synchronization_v1_t(zwp_linux_surface_synchronization_v1 *p, wrapper_type t)
5581  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5583  {
5584  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5585  set_destroy_opcode(0U);
5586  }
5587  set_interface(&zwp_linux_surface_synchronization_v1_interface);
5588  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5590 }
5591 
5592 zwp_linux_surface_synchronization_v1_t::zwp_linux_surface_synchronization_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
5593  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5594  set_interface(&zwp_linux_surface_synchronization_v1_interface);
5595  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5597 }
5598 
5599 zwp_linux_surface_synchronization_v1_t zwp_linux_surface_synchronization_v1_t::proxy_create_wrapper()
5600 {
5601  return {*this, construct_proxy_wrapper_tag()};
5602 }
5603 
5604 const std::string zwp_linux_surface_synchronization_v1_t::interface_name = "zwp_linux_surface_synchronization_v1";
5605 
5606 zwp_linux_surface_synchronization_v1_t::operator zwp_linux_surface_synchronization_v1*() const
5607 {
5608  return reinterpret_cast<zwp_linux_surface_synchronization_v1*> (c_ptr());
5609 }
5610 
5612 {
5613  marshal(1U, argument_t::fd(fd));
5614 }
5615 
5616 
5618 {
5619  proxy_t p = marshal_constructor(2U, &zwp_linux_buffer_release_v1_interface, nullptr);
5621 }
5622 
5623 
5624 int zwp_linux_surface_synchronization_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
5625 {
5626  return 0;
5627 }
5628 
5629 
5630 zwp_linux_buffer_release_v1_t::zwp_linux_buffer_release_v1_t(const proxy_t &p)
5631  : proxy_t(p)
5632 {
5634  {
5635  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5636  }
5637  set_interface(&zwp_linux_buffer_release_v1_interface);
5638  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5639  { return zwp_linux_buffer_release_v1_t(p); });
5640 }
5641 
5642 zwp_linux_buffer_release_v1_t::zwp_linux_buffer_release_v1_t()
5643 {
5644  set_interface(&zwp_linux_buffer_release_v1_interface);
5645  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5646  { return zwp_linux_buffer_release_v1_t(p); });
5647 }
5648 
5649 zwp_linux_buffer_release_v1_t::zwp_linux_buffer_release_v1_t(zwp_linux_buffer_release_v1 *p, wrapper_type t)
5650  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5652  {
5653  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5654  }
5655  set_interface(&zwp_linux_buffer_release_v1_interface);
5656  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5657  { return zwp_linux_buffer_release_v1_t(p); });
5658 }
5659 
5660 zwp_linux_buffer_release_v1_t::zwp_linux_buffer_release_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
5661  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5662  set_interface(&zwp_linux_buffer_release_v1_interface);
5663  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5664  { return zwp_linux_buffer_release_v1_t(p); });
5665 }
5666 
5667 zwp_linux_buffer_release_v1_t zwp_linux_buffer_release_v1_t::proxy_create_wrapper()
5668 {
5669  return {*this, construct_proxy_wrapper_tag()};
5670 }
5671 
5672 const std::string zwp_linux_buffer_release_v1_t::interface_name = "zwp_linux_buffer_release_v1";
5673 
5674 zwp_linux_buffer_release_v1_t::operator zwp_linux_buffer_release_v1*() const
5675 {
5676  return reinterpret_cast<zwp_linux_buffer_release_v1*> (c_ptr());
5677 }
5678 
5680 {
5681  return std::static_pointer_cast<events_t>(get_events())->fenced_release;
5682 }
5683 
5685 {
5686  return std::static_pointer_cast<events_t>(get_events())->immediate_release;
5687 }
5688 
5689 int zwp_linux_buffer_release_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
5690 {
5691  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5692  switch(opcode)
5693  {
5694  case 0:
5695  if(events->fenced_release) events->fenced_release(args[0].get<int>());
5696  break;
5697  case 1:
5698  if(events->immediate_release) events->immediate_release();
5699  break;
5700  }
5701  return 0;
5702 }
5703 
5704 zwp_pointer_constraints_v1_t::zwp_pointer_constraints_v1_t(const proxy_t &p)
5705  : proxy_t(p)
5706 {
5708  {
5709  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5710  set_destroy_opcode(0U);
5711  }
5712  set_interface(&zwp_pointer_constraints_v1_interface);
5713  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5714  { return zwp_pointer_constraints_v1_t(p); });
5715 }
5716 
5717 zwp_pointer_constraints_v1_t::zwp_pointer_constraints_v1_t()
5718 {
5719  set_interface(&zwp_pointer_constraints_v1_interface);
5720  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5721  { return zwp_pointer_constraints_v1_t(p); });
5722 }
5723 
5724 zwp_pointer_constraints_v1_t::zwp_pointer_constraints_v1_t(zwp_pointer_constraints_v1 *p, wrapper_type t)
5725  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5727  {
5728  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5729  set_destroy_opcode(0U);
5730  }
5731  set_interface(&zwp_pointer_constraints_v1_interface);
5732  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5733  { return zwp_pointer_constraints_v1_t(p); });
5734 }
5735 
5736 zwp_pointer_constraints_v1_t::zwp_pointer_constraints_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
5737  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5738  set_interface(&zwp_pointer_constraints_v1_interface);
5739  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5740  { return zwp_pointer_constraints_v1_t(p); });
5741 }
5742 
5743 zwp_pointer_constraints_v1_t zwp_pointer_constraints_v1_t::proxy_create_wrapper()
5744 {
5745  return {*this, construct_proxy_wrapper_tag()};
5746 }
5747 
5748 const std::string zwp_pointer_constraints_v1_t::interface_name = "zwp_pointer_constraints_v1";
5749 
5750 zwp_pointer_constraints_v1_t::operator zwp_pointer_constraints_v1*() const
5751 {
5752  return reinterpret_cast<zwp_pointer_constraints_v1*> (c_ptr());
5753 }
5754 
5755 zwp_locked_pointer_v1_t zwp_pointer_constraints_v1_t::lock_pointer(surface_t const& surface, pointer_t const& pointer, region_t const& region, zwp_pointer_constraints_v1_lifetime const& lifetime)
5756 {
5757  proxy_t p = marshal_constructor(1U, &zwp_locked_pointer_v1_interface, nullptr, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr, pointer.proxy_has_object() ? reinterpret_cast<wl_object*>(pointer.c_ptr()) : nullptr, region.proxy_has_object() ? reinterpret_cast<wl_object*>(region.c_ptr()) : nullptr, static_cast<uint32_t>(lifetime));
5758  return zwp_locked_pointer_v1_t(p);
5759 }
5760 
5761 
5762 zwp_confined_pointer_v1_t zwp_pointer_constraints_v1_t::confine_pointer(surface_t const& surface, pointer_t const& pointer, region_t const& region, zwp_pointer_constraints_v1_lifetime const& lifetime)
5763 {
5764  proxy_t p = marshal_constructor(2U, &zwp_confined_pointer_v1_interface, nullptr, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr, pointer.proxy_has_object() ? reinterpret_cast<wl_object*>(pointer.c_ptr()) : nullptr, region.proxy_has_object() ? reinterpret_cast<wl_object*>(region.c_ptr()) : nullptr, static_cast<uint32_t>(lifetime));
5765  return zwp_confined_pointer_v1_t(p);
5766 }
5767 
5768 
5769 int zwp_pointer_constraints_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
5770 {
5771  return 0;
5772 }
5773 
5774 
5775 
5776 zwp_locked_pointer_v1_t::zwp_locked_pointer_v1_t(const proxy_t &p)
5777  : proxy_t(p)
5778 {
5780  {
5781  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5782  set_destroy_opcode(0U);
5783  }
5784  set_interface(&zwp_locked_pointer_v1_interface);
5785  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5786  { return zwp_locked_pointer_v1_t(p); });
5787 }
5788 
5789 zwp_locked_pointer_v1_t::zwp_locked_pointer_v1_t()
5790 {
5791  set_interface(&zwp_locked_pointer_v1_interface);
5792  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5793  { return zwp_locked_pointer_v1_t(p); });
5794 }
5795 
5796 zwp_locked_pointer_v1_t::zwp_locked_pointer_v1_t(zwp_locked_pointer_v1 *p, wrapper_type t)
5797  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5799  {
5800  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5801  set_destroy_opcode(0U);
5802  }
5803  set_interface(&zwp_locked_pointer_v1_interface);
5804  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5805  { return zwp_locked_pointer_v1_t(p); });
5806 }
5807 
5808 zwp_locked_pointer_v1_t::zwp_locked_pointer_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
5809  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5810  set_interface(&zwp_locked_pointer_v1_interface);
5811  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5812  { return zwp_locked_pointer_v1_t(p); });
5813 }
5814 
5815 zwp_locked_pointer_v1_t zwp_locked_pointer_v1_t::proxy_create_wrapper()
5816 {
5817  return {*this, construct_proxy_wrapper_tag()};
5818 }
5819 
5820 const std::string zwp_locked_pointer_v1_t::interface_name = "zwp_locked_pointer_v1";
5821 
5822 zwp_locked_pointer_v1_t::operator zwp_locked_pointer_v1*() const
5823 {
5824  return reinterpret_cast<zwp_locked_pointer_v1*> (c_ptr());
5825 }
5826 
5827 void zwp_locked_pointer_v1_t::set_cursor_position_hint(double surface_x, double surface_y)
5828 {
5829  marshal(1U, surface_x, surface_y);
5830 }
5831 
5832 
5834 {
5835  marshal(2U, region.proxy_has_object() ? reinterpret_cast<wl_object*>(region.c_ptr()) : nullptr);
5836 }
5837 
5838 
5839 std::function<void()> &zwp_locked_pointer_v1_t::on_locked()
5840 {
5841  return std::static_pointer_cast<events_t>(get_events())->locked;
5842 }
5843 
5845 {
5846  return std::static_pointer_cast<events_t>(get_events())->unlocked;
5847 }
5848 
5849 int zwp_locked_pointer_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
5850 {
5851  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5852  switch(opcode)
5853  {
5854  case 0:
5855  if(events->locked) events->locked();
5856  break;
5857  case 1:
5858  if(events->unlocked) events->unlocked();
5859  break;
5860  }
5861  return 0;
5862 }
5863 
5864 zwp_confined_pointer_v1_t::zwp_confined_pointer_v1_t(const proxy_t &p)
5865  : proxy_t(p)
5866 {
5868  {
5869  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5870  set_destroy_opcode(0U);
5871  }
5872  set_interface(&zwp_confined_pointer_v1_interface);
5873  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5874  { return zwp_confined_pointer_v1_t(p); });
5875 }
5876 
5877 zwp_confined_pointer_v1_t::zwp_confined_pointer_v1_t()
5878 {
5879  set_interface(&zwp_confined_pointer_v1_interface);
5880  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5881  { return zwp_confined_pointer_v1_t(p); });
5882 }
5883 
5884 zwp_confined_pointer_v1_t::zwp_confined_pointer_v1_t(zwp_confined_pointer_v1 *p, wrapper_type t)
5885  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5887  {
5888  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5889  set_destroy_opcode(0U);
5890  }
5891  set_interface(&zwp_confined_pointer_v1_interface);
5892  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5893  { return zwp_confined_pointer_v1_t(p); });
5894 }
5895 
5896 zwp_confined_pointer_v1_t::zwp_confined_pointer_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
5897  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5898  set_interface(&zwp_confined_pointer_v1_interface);
5899  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5900  { return zwp_confined_pointer_v1_t(p); });
5901 }
5902 
5903 zwp_confined_pointer_v1_t zwp_confined_pointer_v1_t::proxy_create_wrapper()
5904 {
5905  return {*this, construct_proxy_wrapper_tag()};
5906 }
5907 
5908 const std::string zwp_confined_pointer_v1_t::interface_name = "zwp_confined_pointer_v1";
5909 
5910 zwp_confined_pointer_v1_t::operator zwp_confined_pointer_v1*() const
5911 {
5912  return reinterpret_cast<zwp_confined_pointer_v1*> (c_ptr());
5913 }
5914 
5916 {
5917  marshal(1U, region.proxy_has_object() ? reinterpret_cast<wl_object*>(region.c_ptr()) : nullptr);
5918 }
5919 
5920 
5922 {
5923  return std::static_pointer_cast<events_t>(get_events())->confined;
5924 }
5925 
5927 {
5928  return std::static_pointer_cast<events_t>(get_events())->unconfined;
5929 }
5930 
5931 int zwp_confined_pointer_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
5932 {
5933  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
5934  switch(opcode)
5935  {
5936  case 0:
5937  if(events->confined) events->confined();
5938  break;
5939  case 1:
5940  if(events->unconfined) events->unconfined();
5941  break;
5942  }
5943  return 0;
5944 }
5945 
5946 zwp_pointer_gestures_v1_t::zwp_pointer_gestures_v1_t(const proxy_t &p)
5947  : proxy_t(p)
5948 {
5950  {
5951  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5952  }
5953  set_interface(&zwp_pointer_gestures_v1_interface);
5954  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5955  { return zwp_pointer_gestures_v1_t(p); });
5956 }
5957 
5958 zwp_pointer_gestures_v1_t::zwp_pointer_gestures_v1_t()
5959 {
5960  set_interface(&zwp_pointer_gestures_v1_interface);
5961  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5962  { return zwp_pointer_gestures_v1_t(p); });
5963 }
5964 
5965 zwp_pointer_gestures_v1_t::zwp_pointer_gestures_v1_t(zwp_pointer_gestures_v1 *p, wrapper_type t)
5966  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
5968  {
5969  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
5970  }
5971  set_interface(&zwp_pointer_gestures_v1_interface);
5972  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5973  { return zwp_pointer_gestures_v1_t(p); });
5974 }
5975 
5976 zwp_pointer_gestures_v1_t::zwp_pointer_gestures_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
5977  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
5978  set_interface(&zwp_pointer_gestures_v1_interface);
5979  set_copy_constructor([] (const proxy_t &p) -> proxy_t
5980  { return zwp_pointer_gestures_v1_t(p); });
5981 }
5982 
5983 zwp_pointer_gestures_v1_t zwp_pointer_gestures_v1_t::proxy_create_wrapper()
5984 {
5985  return {*this, construct_proxy_wrapper_tag()};
5986 }
5987 
5988 const std::string zwp_pointer_gestures_v1_t::interface_name = "zwp_pointer_gestures_v1";
5989 
5990 zwp_pointer_gestures_v1_t::operator zwp_pointer_gestures_v1*() const
5991 {
5992  return reinterpret_cast<zwp_pointer_gestures_v1*> (c_ptr());
5993 }
5994 
5996 {
5997  proxy_t p = marshal_constructor(0U, &zwp_pointer_gesture_swipe_v1_interface, nullptr, pointer.proxy_has_object() ? reinterpret_cast<wl_object*>(pointer.c_ptr()) : nullptr);
5999 }
6000 
6001 
6003 {
6004  proxy_t p = marshal_constructor(1U, &zwp_pointer_gesture_pinch_v1_interface, nullptr, pointer.proxy_has_object() ? reinterpret_cast<wl_object*>(pointer.c_ptr()) : nullptr);
6006 }
6007 
6008 
6010 {
6011  marshal(2U);
6012 }
6013 
6015 {
6016  return (get_version() >= release_since_version);
6017 }
6018 
6019 
6021 {
6022  proxy_t p = marshal_constructor(3U, &zwp_pointer_gesture_hold_v1_interface, nullptr, pointer.proxy_has_object() ? reinterpret_cast<wl_object*>(pointer.c_ptr()) : nullptr);
6024 }
6025 
6027 {
6029 }
6030 
6031 
6032 int zwp_pointer_gestures_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
6033 {
6034  return 0;
6035 }
6036 
6037 zwp_pointer_gesture_swipe_v1_t::zwp_pointer_gesture_swipe_v1_t(const proxy_t &p)
6038  : proxy_t(p)
6039 {
6041  {
6042  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6043  set_destroy_opcode(0U);
6044  }
6045  set_interface(&zwp_pointer_gesture_swipe_v1_interface);
6046  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6047  { return zwp_pointer_gesture_swipe_v1_t(p); });
6048 }
6049 
6050 zwp_pointer_gesture_swipe_v1_t::zwp_pointer_gesture_swipe_v1_t()
6051 {
6052  set_interface(&zwp_pointer_gesture_swipe_v1_interface);
6053  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6054  { return zwp_pointer_gesture_swipe_v1_t(p); });
6055 }
6056 
6057 zwp_pointer_gesture_swipe_v1_t::zwp_pointer_gesture_swipe_v1_t(zwp_pointer_gesture_swipe_v1 *p, wrapper_type t)
6058  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6060  {
6061  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6062  set_destroy_opcode(0U);
6063  }
6064  set_interface(&zwp_pointer_gesture_swipe_v1_interface);
6065  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6066  { return zwp_pointer_gesture_swipe_v1_t(p); });
6067 }
6068 
6069 zwp_pointer_gesture_swipe_v1_t::zwp_pointer_gesture_swipe_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
6070  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6071  set_interface(&zwp_pointer_gesture_swipe_v1_interface);
6072  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6073  { return zwp_pointer_gesture_swipe_v1_t(p); });
6074 }
6075 
6076 zwp_pointer_gesture_swipe_v1_t zwp_pointer_gesture_swipe_v1_t::proxy_create_wrapper()
6077 {
6078  return {*this, construct_proxy_wrapper_tag()};
6079 }
6080 
6081 const std::string zwp_pointer_gesture_swipe_v1_t::interface_name = "zwp_pointer_gesture_swipe_v1";
6082 
6083 zwp_pointer_gesture_swipe_v1_t::operator zwp_pointer_gesture_swipe_v1*() const
6084 {
6085  return reinterpret_cast<zwp_pointer_gesture_swipe_v1*> (c_ptr());
6086 }
6087 
6088 std::function<void(uint32_t, uint32_t, surface_t, uint32_t)> &zwp_pointer_gesture_swipe_v1_t::on_begin()
6089 {
6090  return std::static_pointer_cast<events_t>(get_events())->begin;
6091 }
6092 
6093 std::function<void(uint32_t, double, double)> &zwp_pointer_gesture_swipe_v1_t::on_update()
6094 {
6095  return std::static_pointer_cast<events_t>(get_events())->update;
6096 }
6097 
6098 std::function<void(uint32_t, uint32_t, int32_t)> &zwp_pointer_gesture_swipe_v1_t::on_end()
6099 {
6100  return std::static_pointer_cast<events_t>(get_events())->end;
6101 }
6102 
6103 int zwp_pointer_gesture_swipe_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
6104 {
6105  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6106  switch(opcode)
6107  {
6108  case 0:
6109  if(events->begin) events->begin(args[0].get<uint32_t>(), args[1].get<uint32_t>(), surface_t(args[2].get<proxy_t>()), args[3].get<uint32_t>());
6110  break;
6111  case 1:
6112  if(events->update) events->update(args[0].get<uint32_t>(), args[1].get<double>(), args[2].get<double>());
6113  break;
6114  case 2:
6115  if(events->end) events->end(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<int32_t>());
6116  break;
6117  }
6118  return 0;
6119 }
6120 
6121 zwp_pointer_gesture_pinch_v1_t::zwp_pointer_gesture_pinch_v1_t(const proxy_t &p)
6122  : proxy_t(p)
6123 {
6125  {
6126  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6127  set_destroy_opcode(0U);
6128  }
6129  set_interface(&zwp_pointer_gesture_pinch_v1_interface);
6130  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6131  { return zwp_pointer_gesture_pinch_v1_t(p); });
6132 }
6133 
6134 zwp_pointer_gesture_pinch_v1_t::zwp_pointer_gesture_pinch_v1_t()
6135 {
6136  set_interface(&zwp_pointer_gesture_pinch_v1_interface);
6137  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6138  { return zwp_pointer_gesture_pinch_v1_t(p); });
6139 }
6140 
6141 zwp_pointer_gesture_pinch_v1_t::zwp_pointer_gesture_pinch_v1_t(zwp_pointer_gesture_pinch_v1 *p, wrapper_type t)
6142  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6144  {
6145  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6146  set_destroy_opcode(0U);
6147  }
6148  set_interface(&zwp_pointer_gesture_pinch_v1_interface);
6149  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6150  { return zwp_pointer_gesture_pinch_v1_t(p); });
6151 }
6152 
6153 zwp_pointer_gesture_pinch_v1_t::zwp_pointer_gesture_pinch_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
6154  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6155  set_interface(&zwp_pointer_gesture_pinch_v1_interface);
6156  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6157  { return zwp_pointer_gesture_pinch_v1_t(p); });
6158 }
6159 
6160 zwp_pointer_gesture_pinch_v1_t zwp_pointer_gesture_pinch_v1_t::proxy_create_wrapper()
6161 {
6162  return {*this, construct_proxy_wrapper_tag()};
6163 }
6164 
6165 const std::string zwp_pointer_gesture_pinch_v1_t::interface_name = "zwp_pointer_gesture_pinch_v1";
6166 
6167 zwp_pointer_gesture_pinch_v1_t::operator zwp_pointer_gesture_pinch_v1*() const
6168 {
6169  return reinterpret_cast<zwp_pointer_gesture_pinch_v1*> (c_ptr());
6170 }
6171 
6172 std::function<void(uint32_t, uint32_t, surface_t, uint32_t)> &zwp_pointer_gesture_pinch_v1_t::on_begin()
6173 {
6174  return std::static_pointer_cast<events_t>(get_events())->begin;
6175 }
6176 
6177 std::function<void(uint32_t, double, double, double, double)> &zwp_pointer_gesture_pinch_v1_t::on_update()
6178 {
6179  return std::static_pointer_cast<events_t>(get_events())->update;
6180 }
6181 
6182 std::function<void(uint32_t, uint32_t, int32_t)> &zwp_pointer_gesture_pinch_v1_t::on_end()
6183 {
6184  return std::static_pointer_cast<events_t>(get_events())->end;
6185 }
6186 
6187 int zwp_pointer_gesture_pinch_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
6188 {
6189  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6190  switch(opcode)
6191  {
6192  case 0:
6193  if(events->begin) events->begin(args[0].get<uint32_t>(), args[1].get<uint32_t>(), surface_t(args[2].get<proxy_t>()), args[3].get<uint32_t>());
6194  break;
6195  case 1:
6196  if(events->update) events->update(args[0].get<uint32_t>(), args[1].get<double>(), args[2].get<double>(), args[3].get<double>(), args[4].get<double>());
6197  break;
6198  case 2:
6199  if(events->end) events->end(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<int32_t>());
6200  break;
6201  }
6202  return 0;
6203 }
6204 
6205 zwp_pointer_gesture_hold_v1_t::zwp_pointer_gesture_hold_v1_t(const proxy_t &p)
6206  : proxy_t(p)
6207 {
6209  {
6210  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6211  set_destroy_opcode(0U);
6212  }
6213  set_interface(&zwp_pointer_gesture_hold_v1_interface);
6214  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6215  { return zwp_pointer_gesture_hold_v1_t(p); });
6216 }
6217 
6218 zwp_pointer_gesture_hold_v1_t::zwp_pointer_gesture_hold_v1_t()
6219 {
6220  set_interface(&zwp_pointer_gesture_hold_v1_interface);
6221  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6222  { return zwp_pointer_gesture_hold_v1_t(p); });
6223 }
6224 
6225 zwp_pointer_gesture_hold_v1_t::zwp_pointer_gesture_hold_v1_t(zwp_pointer_gesture_hold_v1 *p, wrapper_type t)
6226  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6228  {
6229  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6230  set_destroy_opcode(0U);
6231  }
6232  set_interface(&zwp_pointer_gesture_hold_v1_interface);
6233  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6234  { return zwp_pointer_gesture_hold_v1_t(p); });
6235 }
6236 
6237 zwp_pointer_gesture_hold_v1_t::zwp_pointer_gesture_hold_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
6238  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6239  set_interface(&zwp_pointer_gesture_hold_v1_interface);
6240  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6241  { return zwp_pointer_gesture_hold_v1_t(p); });
6242 }
6243 
6244 zwp_pointer_gesture_hold_v1_t zwp_pointer_gesture_hold_v1_t::proxy_create_wrapper()
6245 {
6246  return {*this, construct_proxy_wrapper_tag()};
6247 }
6248 
6249 const std::string zwp_pointer_gesture_hold_v1_t::interface_name = "zwp_pointer_gesture_hold_v1";
6250 
6251 zwp_pointer_gesture_hold_v1_t::operator zwp_pointer_gesture_hold_v1*() const
6252 {
6253  return reinterpret_cast<zwp_pointer_gesture_hold_v1*> (c_ptr());
6254 }
6255 
6256 std::function<void(uint32_t, uint32_t, surface_t, uint32_t)> &zwp_pointer_gesture_hold_v1_t::on_begin()
6257 {
6258  return std::static_pointer_cast<events_t>(get_events())->begin;
6259 }
6260 
6261 std::function<void(uint32_t, uint32_t, int32_t)> &zwp_pointer_gesture_hold_v1_t::on_end()
6262 {
6263  return std::static_pointer_cast<events_t>(get_events())->end;
6264 }
6265 
6266 int zwp_pointer_gesture_hold_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
6267 {
6268  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6269  switch(opcode)
6270  {
6271  case 0:
6272  if(events->begin) events->begin(args[0].get<uint32_t>(), args[1].get<uint32_t>(), surface_t(args[2].get<proxy_t>()), args[3].get<uint32_t>());
6273  break;
6274  case 1:
6275  if(events->end) events->end(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<int32_t>());
6276  break;
6277  }
6278  return 0;
6279 }
6280 
6281 zwp_primary_selection_device_manager_v1_t::zwp_primary_selection_device_manager_v1_t(const proxy_t &p)
6282  : proxy_t(p)
6283 {
6285  {
6286  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6287  set_destroy_opcode(2U);
6288  }
6289  set_interface(&zwp_primary_selection_device_manager_v1_interface);
6290  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6292 }
6293 
6294 zwp_primary_selection_device_manager_v1_t::zwp_primary_selection_device_manager_v1_t()
6295 {
6296  set_interface(&zwp_primary_selection_device_manager_v1_interface);
6297  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6299 }
6300 
6301 zwp_primary_selection_device_manager_v1_t::zwp_primary_selection_device_manager_v1_t(zwp_primary_selection_device_manager_v1 *p, wrapper_type t)
6302  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6304  {
6305  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6306  set_destroy_opcode(2U);
6307  }
6308  set_interface(&zwp_primary_selection_device_manager_v1_interface);
6309  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6311 }
6312 
6313 zwp_primary_selection_device_manager_v1_t::zwp_primary_selection_device_manager_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
6314  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6315  set_interface(&zwp_primary_selection_device_manager_v1_interface);
6316  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6318 }
6319 
6320 zwp_primary_selection_device_manager_v1_t zwp_primary_selection_device_manager_v1_t::proxy_create_wrapper()
6321 {
6322  return {*this, construct_proxy_wrapper_tag()};
6323 }
6324 
6325 const std::string zwp_primary_selection_device_manager_v1_t::interface_name = "zwp_primary_selection_device_manager_v1";
6326 
6327 zwp_primary_selection_device_manager_v1_t::operator zwp_primary_selection_device_manager_v1*() const
6328 {
6329  return reinterpret_cast<zwp_primary_selection_device_manager_v1*> (c_ptr());
6330 }
6331 
6333 {
6334  proxy_t p = marshal_constructor(0U, &zwp_primary_selection_source_v1_interface, nullptr);
6336 }
6337 
6338 
6339 zwp_primary_selection_device_v1_t zwp_primary_selection_device_manager_v1_t::get_device(seat_t const& seat)
6340 {
6341  proxy_t p = marshal_constructor(1U, &zwp_primary_selection_device_v1_interface, nullptr, seat.proxy_has_object() ? reinterpret_cast<wl_object*>(seat.c_ptr()) : nullptr);
6342  return zwp_primary_selection_device_v1_t(p);
6343 }
6344 
6345 
6346 int zwp_primary_selection_device_manager_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
6347 {
6348  return 0;
6349 }
6350 
6351 zwp_primary_selection_device_v1_t::zwp_primary_selection_device_v1_t(const proxy_t &p)
6352  : proxy_t(p)
6353 {
6355  {
6356  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6357  set_destroy_opcode(1U);
6358  }
6359  set_interface(&zwp_primary_selection_device_v1_interface);
6360  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6361  { return zwp_primary_selection_device_v1_t(p); });
6362 }
6363 
6364 zwp_primary_selection_device_v1_t::zwp_primary_selection_device_v1_t()
6365 {
6366  set_interface(&zwp_primary_selection_device_v1_interface);
6367  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6368  { return zwp_primary_selection_device_v1_t(p); });
6369 }
6370 
6371 zwp_primary_selection_device_v1_t::zwp_primary_selection_device_v1_t(zwp_primary_selection_device_v1 *p, wrapper_type t)
6372  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6374  {
6375  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6376  set_destroy_opcode(1U);
6377  }
6378  set_interface(&zwp_primary_selection_device_v1_interface);
6379  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6380  { return zwp_primary_selection_device_v1_t(p); });
6381 }
6382 
6383 zwp_primary_selection_device_v1_t::zwp_primary_selection_device_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
6384  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6385  set_interface(&zwp_primary_selection_device_v1_interface);
6386  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6387  { return zwp_primary_selection_device_v1_t(p); });
6388 }
6389 
6390 zwp_primary_selection_device_v1_t zwp_primary_selection_device_v1_t::proxy_create_wrapper()
6391 {
6392  return {*this, construct_proxy_wrapper_tag()};
6393 }
6394 
6395 const std::string zwp_primary_selection_device_v1_t::interface_name = "zwp_primary_selection_device_v1";
6396 
6397 zwp_primary_selection_device_v1_t::operator zwp_primary_selection_device_v1*() const
6398 {
6399  return reinterpret_cast<zwp_primary_selection_device_v1*> (c_ptr());
6400 }
6401 
6402 void zwp_primary_selection_device_v1_t::set_selection(zwp_primary_selection_source_v1_t const& source, uint32_t serial)
6403 {
6404  marshal(0U, source.proxy_has_object() ? reinterpret_cast<wl_object*>(source.c_ptr()) : nullptr, serial);
6405 }
6406 
6407 
6408 std::function<void(zwp_primary_selection_offer_v1_t)> &zwp_primary_selection_device_v1_t::on_data_offer()
6409 {
6410  return std::static_pointer_cast<events_t>(get_events())->data_offer;
6411 }
6412 
6413 std::function<void(zwp_primary_selection_offer_v1_t)> &zwp_primary_selection_device_v1_t::on_selection()
6414 {
6415  return std::static_pointer_cast<events_t>(get_events())->selection;
6416 }
6417 
6418 int zwp_primary_selection_device_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
6419 {
6420  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6421  switch(opcode)
6422  {
6423  case 0:
6424  if(events->data_offer) events->data_offer(zwp_primary_selection_offer_v1_t(args[0].get<proxy_t>()));
6425  break;
6426  case 1:
6427  if(events->selection) events->selection(zwp_primary_selection_offer_v1_t(args[0].get<proxy_t>()));
6428  break;
6429  }
6430  return 0;
6431 }
6432 
6433 zwp_primary_selection_offer_v1_t::zwp_primary_selection_offer_v1_t(const proxy_t &p)
6434  : proxy_t(p)
6435 {
6437  {
6438  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6439  set_destroy_opcode(1U);
6440  }
6441  set_interface(&zwp_primary_selection_offer_v1_interface);
6442  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6443  { return zwp_primary_selection_offer_v1_t(p); });
6444 }
6445 
6446 zwp_primary_selection_offer_v1_t::zwp_primary_selection_offer_v1_t()
6447 {
6448  set_interface(&zwp_primary_selection_offer_v1_interface);
6449  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6450  { return zwp_primary_selection_offer_v1_t(p); });
6451 }
6452 
6453 zwp_primary_selection_offer_v1_t::zwp_primary_selection_offer_v1_t(zwp_primary_selection_offer_v1 *p, wrapper_type t)
6454  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6456  {
6457  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6458  set_destroy_opcode(1U);
6459  }
6460  set_interface(&zwp_primary_selection_offer_v1_interface);
6461  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6462  { return zwp_primary_selection_offer_v1_t(p); });
6463 }
6464 
6465 zwp_primary_selection_offer_v1_t::zwp_primary_selection_offer_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
6466  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6467  set_interface(&zwp_primary_selection_offer_v1_interface);
6468  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6469  { return zwp_primary_selection_offer_v1_t(p); });
6470 }
6471 
6472 zwp_primary_selection_offer_v1_t zwp_primary_selection_offer_v1_t::proxy_create_wrapper()
6473 {
6474  return {*this, construct_proxy_wrapper_tag()};
6475 }
6476 
6477 const std::string zwp_primary_selection_offer_v1_t::interface_name = "zwp_primary_selection_offer_v1";
6478 
6479 zwp_primary_selection_offer_v1_t::operator zwp_primary_selection_offer_v1*() const
6480 {
6481  return reinterpret_cast<zwp_primary_selection_offer_v1*> (c_ptr());
6482 }
6483 
6484 void zwp_primary_selection_offer_v1_t::receive(std::string const& mime_type, int fd)
6485 {
6486  marshal(0U, mime_type, argument_t::fd(fd));
6487 }
6488 
6489 
6490 std::function<void(std::string)> &zwp_primary_selection_offer_v1_t::on_offer()
6491 {
6492  return std::static_pointer_cast<events_t>(get_events())->offer;
6493 }
6494 
6495 int zwp_primary_selection_offer_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
6496 {
6497  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6498  switch(opcode)
6499  {
6500  case 0:
6501  if(events->offer) events->offer(args[0].get<std::string>());
6502  break;
6503  }
6504  return 0;
6505 }
6506 
6507 zwp_primary_selection_source_v1_t::zwp_primary_selection_source_v1_t(const proxy_t &p)
6508  : proxy_t(p)
6509 {
6511  {
6512  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6513  set_destroy_opcode(1U);
6514  }
6515  set_interface(&zwp_primary_selection_source_v1_interface);
6516  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6517  { return zwp_primary_selection_source_v1_t(p); });
6518 }
6519 
6520 zwp_primary_selection_source_v1_t::zwp_primary_selection_source_v1_t()
6521 {
6522  set_interface(&zwp_primary_selection_source_v1_interface);
6523  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6524  { return zwp_primary_selection_source_v1_t(p); });
6525 }
6526 
6527 zwp_primary_selection_source_v1_t::zwp_primary_selection_source_v1_t(zwp_primary_selection_source_v1 *p, wrapper_type t)
6528  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6530  {
6531  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6532  set_destroy_opcode(1U);
6533  }
6534  set_interface(&zwp_primary_selection_source_v1_interface);
6535  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6536  { return zwp_primary_selection_source_v1_t(p); });
6537 }
6538 
6539 zwp_primary_selection_source_v1_t::zwp_primary_selection_source_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
6540  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6541  set_interface(&zwp_primary_selection_source_v1_interface);
6542  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6543  { return zwp_primary_selection_source_v1_t(p); });
6544 }
6545 
6546 zwp_primary_selection_source_v1_t zwp_primary_selection_source_v1_t::proxy_create_wrapper()
6547 {
6548  return {*this, construct_proxy_wrapper_tag()};
6549 }
6550 
6551 const std::string zwp_primary_selection_source_v1_t::interface_name = "zwp_primary_selection_source_v1";
6552 
6553 zwp_primary_selection_source_v1_t::operator zwp_primary_selection_source_v1*() const
6554 {
6555  return reinterpret_cast<zwp_primary_selection_source_v1*> (c_ptr());
6556 }
6557 
6558 void zwp_primary_selection_source_v1_t::offer(std::string const& mime_type)
6559 {
6560  marshal(0U, mime_type);
6561 }
6562 
6563 
6564 std::function<void(std::string, int)> &zwp_primary_selection_source_v1_t::on_send()
6565 {
6566  return std::static_pointer_cast<events_t>(get_events())->send;
6567 }
6568 
6570 {
6571  return std::static_pointer_cast<events_t>(get_events())->cancelled;
6572 }
6573 
6574 int zwp_primary_selection_source_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
6575 {
6576  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6577  switch(opcode)
6578  {
6579  case 0:
6580  if(events->send) events->send(args[0].get<std::string>(), args[1].get<int>());
6581  break;
6582  case 1:
6583  if(events->cancelled) events->cancelled();
6584  break;
6585  }
6586  return 0;
6587 }
6588 
6589 zwp_relative_pointer_manager_v1_t::zwp_relative_pointer_manager_v1_t(const proxy_t &p)
6590  : proxy_t(p)
6591 {
6593  {
6594  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6595  set_destroy_opcode(0U);
6596  }
6597  set_interface(&zwp_relative_pointer_manager_v1_interface);
6598  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6599  { return zwp_relative_pointer_manager_v1_t(p); });
6600 }
6601 
6602 zwp_relative_pointer_manager_v1_t::zwp_relative_pointer_manager_v1_t()
6603 {
6604  set_interface(&zwp_relative_pointer_manager_v1_interface);
6605  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6606  { return zwp_relative_pointer_manager_v1_t(p); });
6607 }
6608 
6609 zwp_relative_pointer_manager_v1_t::zwp_relative_pointer_manager_v1_t(zwp_relative_pointer_manager_v1 *p, wrapper_type t)
6610  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6612  {
6613  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6614  set_destroy_opcode(0U);
6615  }
6616  set_interface(&zwp_relative_pointer_manager_v1_interface);
6617  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6618  { return zwp_relative_pointer_manager_v1_t(p); });
6619 }
6620 
6621 zwp_relative_pointer_manager_v1_t::zwp_relative_pointer_manager_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
6622  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6623  set_interface(&zwp_relative_pointer_manager_v1_interface);
6624  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6625  { return zwp_relative_pointer_manager_v1_t(p); });
6626 }
6627 
6628 zwp_relative_pointer_manager_v1_t zwp_relative_pointer_manager_v1_t::proxy_create_wrapper()
6629 {
6630  return {*this, construct_proxy_wrapper_tag()};
6631 }
6632 
6633 const std::string zwp_relative_pointer_manager_v1_t::interface_name = "zwp_relative_pointer_manager_v1";
6634 
6635 zwp_relative_pointer_manager_v1_t::operator zwp_relative_pointer_manager_v1*() const
6636 {
6637  return reinterpret_cast<zwp_relative_pointer_manager_v1*> (c_ptr());
6638 }
6639 
6641 {
6642  proxy_t p = marshal_constructor(1U, &zwp_relative_pointer_v1_interface, nullptr, pointer.proxy_has_object() ? reinterpret_cast<wl_object*>(pointer.c_ptr()) : nullptr);
6643  return zwp_relative_pointer_v1_t(p);
6644 }
6645 
6646 
6647 int zwp_relative_pointer_manager_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
6648 {
6649  return 0;
6650 }
6651 
6652 zwp_relative_pointer_v1_t::zwp_relative_pointer_v1_t(const proxy_t &p)
6653  : proxy_t(p)
6654 {
6656  {
6657  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6658  set_destroy_opcode(0U);
6659  }
6660  set_interface(&zwp_relative_pointer_v1_interface);
6661  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6662  { return zwp_relative_pointer_v1_t(p); });
6663 }
6664 
6665 zwp_relative_pointer_v1_t::zwp_relative_pointer_v1_t()
6666 {
6667  set_interface(&zwp_relative_pointer_v1_interface);
6668  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6669  { return zwp_relative_pointer_v1_t(p); });
6670 }
6671 
6672 zwp_relative_pointer_v1_t::zwp_relative_pointer_v1_t(zwp_relative_pointer_v1 *p, wrapper_type t)
6673  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6675  {
6676  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6677  set_destroy_opcode(0U);
6678  }
6679  set_interface(&zwp_relative_pointer_v1_interface);
6680  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6681  { return zwp_relative_pointer_v1_t(p); });
6682 }
6683 
6684 zwp_relative_pointer_v1_t::zwp_relative_pointer_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
6685  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6686  set_interface(&zwp_relative_pointer_v1_interface);
6687  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6688  { return zwp_relative_pointer_v1_t(p); });
6689 }
6690 
6691 zwp_relative_pointer_v1_t zwp_relative_pointer_v1_t::proxy_create_wrapper()
6692 {
6693  return {*this, construct_proxy_wrapper_tag()};
6694 }
6695 
6696 const std::string zwp_relative_pointer_v1_t::interface_name = "zwp_relative_pointer_v1";
6697 
6698 zwp_relative_pointer_v1_t::operator zwp_relative_pointer_v1*() const
6699 {
6700  return reinterpret_cast<zwp_relative_pointer_v1*> (c_ptr());
6701 }
6702 
6703 std::function<void(uint32_t, uint32_t, double, double, double, double)> &zwp_relative_pointer_v1_t::on_relative_motion()
6704 {
6705  return std::static_pointer_cast<events_t>(get_events())->relative_motion;
6706 }
6707 
6708 int zwp_relative_pointer_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
6709 {
6710  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6711  switch(opcode)
6712  {
6713  case 0:
6714  if(events->relative_motion) events->relative_motion(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<double>(), args[3].get<double>(), args[4].get<double>(), args[5].get<double>());
6715  break;
6716  }
6717  return 0;
6718 }
6719 
6720 zwp_tablet_manager_v1_t::zwp_tablet_manager_v1_t(const proxy_t &p)
6721  : proxy_t(p)
6722 {
6724  {
6725  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6726  set_destroy_opcode(1U);
6727  }
6728  set_interface(&zwp_tablet_manager_v1_interface);
6729  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6730  { return zwp_tablet_manager_v1_t(p); });
6731 }
6732 
6733 zwp_tablet_manager_v1_t::zwp_tablet_manager_v1_t()
6734 {
6735  set_interface(&zwp_tablet_manager_v1_interface);
6736  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6737  { return zwp_tablet_manager_v1_t(p); });
6738 }
6739 
6740 zwp_tablet_manager_v1_t::zwp_tablet_manager_v1_t(zwp_tablet_manager_v1 *p, wrapper_type t)
6741  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6743  {
6744  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6745  set_destroy_opcode(1U);
6746  }
6747  set_interface(&zwp_tablet_manager_v1_interface);
6748  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6749  { return zwp_tablet_manager_v1_t(p); });
6750 }
6751 
6752 zwp_tablet_manager_v1_t::zwp_tablet_manager_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
6753  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6754  set_interface(&zwp_tablet_manager_v1_interface);
6755  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6756  { return zwp_tablet_manager_v1_t(p); });
6757 }
6758 
6759 zwp_tablet_manager_v1_t zwp_tablet_manager_v1_t::proxy_create_wrapper()
6760 {
6761  return {*this, construct_proxy_wrapper_tag()};
6762 }
6763 
6764 const std::string zwp_tablet_manager_v1_t::interface_name = "zwp_tablet_manager_v1";
6765 
6766 zwp_tablet_manager_v1_t::operator zwp_tablet_manager_v1*() const
6767 {
6768  return reinterpret_cast<zwp_tablet_manager_v1*> (c_ptr());
6769 }
6770 
6772 {
6773  proxy_t p = marshal_constructor(0U, &zwp_tablet_seat_v1_interface, nullptr, seat.proxy_has_object() ? reinterpret_cast<wl_object*>(seat.c_ptr()) : nullptr);
6774  return zwp_tablet_seat_v1_t(p);
6775 }
6776 
6777 
6778 int zwp_tablet_manager_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
6779 {
6780  return 0;
6781 }
6782 
6783 zwp_tablet_seat_v1_t::zwp_tablet_seat_v1_t(const proxy_t &p)
6784  : proxy_t(p)
6785 {
6787  {
6788  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6789  set_destroy_opcode(0U);
6790  }
6791  set_interface(&zwp_tablet_seat_v1_interface);
6792  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6793  { return zwp_tablet_seat_v1_t(p); });
6794 }
6795 
6796 zwp_tablet_seat_v1_t::zwp_tablet_seat_v1_t()
6797 {
6798  set_interface(&zwp_tablet_seat_v1_interface);
6799  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6800  { return zwp_tablet_seat_v1_t(p); });
6801 }
6802 
6803 zwp_tablet_seat_v1_t::zwp_tablet_seat_v1_t(zwp_tablet_seat_v1 *p, wrapper_type t)
6804  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6806  {
6807  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6808  set_destroy_opcode(0U);
6809  }
6810  set_interface(&zwp_tablet_seat_v1_interface);
6811  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6812  { return zwp_tablet_seat_v1_t(p); });
6813 }
6814 
6815 zwp_tablet_seat_v1_t::zwp_tablet_seat_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
6816  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6817  set_interface(&zwp_tablet_seat_v1_interface);
6818  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6819  { return zwp_tablet_seat_v1_t(p); });
6820 }
6821 
6822 zwp_tablet_seat_v1_t zwp_tablet_seat_v1_t::proxy_create_wrapper()
6823 {
6824  return {*this, construct_proxy_wrapper_tag()};
6825 }
6826 
6827 const std::string zwp_tablet_seat_v1_t::interface_name = "zwp_tablet_seat_v1";
6828 
6829 zwp_tablet_seat_v1_t::operator zwp_tablet_seat_v1*() const
6830 {
6831  return reinterpret_cast<zwp_tablet_seat_v1*> (c_ptr());
6832 }
6833 
6835 {
6836  return std::static_pointer_cast<events_t>(get_events())->tablet_added;
6837 }
6838 
6840 {
6841  return std::static_pointer_cast<events_t>(get_events())->tool_added;
6842 }
6843 
6844 int zwp_tablet_seat_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
6845 {
6846  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
6847  switch(opcode)
6848  {
6849  case 0:
6850  if(events->tablet_added) events->tablet_added(zwp_tablet_v1_t(args[0].get<proxy_t>()));
6851  break;
6852  case 1:
6853  if(events->tool_added) events->tool_added(zwp_tablet_tool_v1_t(args[0].get<proxy_t>()));
6854  break;
6855  }
6856  return 0;
6857 }
6858 
6859 zwp_tablet_tool_v1_t::zwp_tablet_tool_v1_t(const proxy_t &p)
6860  : proxy_t(p)
6861 {
6863  {
6864  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6865  set_destroy_opcode(1U);
6866  }
6867  set_interface(&zwp_tablet_tool_v1_interface);
6868  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6869  { return zwp_tablet_tool_v1_t(p); });
6870 }
6871 
6872 zwp_tablet_tool_v1_t::zwp_tablet_tool_v1_t()
6873 {
6874  set_interface(&zwp_tablet_tool_v1_interface);
6875  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6876  { return zwp_tablet_tool_v1_t(p); });
6877 }
6878 
6879 zwp_tablet_tool_v1_t::zwp_tablet_tool_v1_t(zwp_tablet_tool_v1 *p, wrapper_type t)
6880  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
6882  {
6883  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
6884  set_destroy_opcode(1U);
6885  }
6886  set_interface(&zwp_tablet_tool_v1_interface);
6887  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6888  { return zwp_tablet_tool_v1_t(p); });
6889 }
6890 
6891 zwp_tablet_tool_v1_t::zwp_tablet_tool_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
6892  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
6893  set_interface(&zwp_tablet_tool_v1_interface);
6894  set_copy_constructor([] (const proxy_t &p) -> proxy_t
6895  { return zwp_tablet_tool_v1_t(p); });
6896 }
6897 
6898 zwp_tablet_tool_v1_t zwp_tablet_tool_v1_t::proxy_create_wrapper()
6899 {
6900  return {*this, construct_proxy_wrapper_tag()};
6901 }
6902 
6903 const std::string zwp_tablet_tool_v1_t::interface_name = "zwp_tablet_tool_v1";
6904 
6905 zwp_tablet_tool_v1_t::operator zwp_tablet_tool_v1*() const
6906 {
6907  return reinterpret_cast<zwp_tablet_tool_v1*> (c_ptr());
6908 }
6909 
6910 void zwp_tablet_tool_v1_t::set_cursor(uint32_t serial, surface_t const& surface, int32_t hotspot_x, int32_t hotspot_y)
6911 {
6912  marshal(0U, serial, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr, hotspot_x, hotspot_y);
6913 }
6914 
6915 
6916 std::function<void(zwp_tablet_tool_v1_type)> &zwp_tablet_tool_v1_t::on_type()
6917 {
6918  return std::static_pointer_cast<events_t>(get_events())->type;
6919 }
6920 
6921 std::function<void(uint32_t, uint32_t)> &zwp_tablet_tool_v1_t::on_hardware_serial()
6922 {
6923  return std::static_pointer_cast<events_t>(get_events())->hardware_serial;
6924 }
6925 
6926 std::function<void(uint32_t, uint32_t)> &zwp_tablet_tool_v1_t::on_hardware_id_wacom()
6927 {
6928  return std::static_pointer_cast<events_t>(get_events())->hardware_id_wacom;
6929 }
6930 
6931 std::function<void(zwp_tablet_tool_v1_capability)> &zwp_tablet_tool_v1_t::on_capability()
6932 {
6933  return std::static_pointer_cast<events_t>(get_events())->capability;
6934 }
6935 
6936 std::function<void()> &zwp_tablet_tool_v1_t::on_done()
6937 {
6938  return std::static_pointer_cast<events_t>(get_events())->done;
6939 }
6940 
6941 std::function<void()> &zwp_tablet_tool_v1_t::on_removed()
6942 {
6943  return std::static_pointer_cast<events_t>(get_events())->removed;
6944 }
6945 
6947 {
6948  return std::static_pointer_cast<events_t>(get_events())->proximity_in;
6949 }
6950 
6952 {
6953  return std::static_pointer_cast<events_t>(get_events())->proximity_out;
6954 }
6955 
6956 std::function<void(uint32_t)> &zwp_tablet_tool_v1_t::on_down()
6957 {
6958  return std::static_pointer_cast<events_t>(get_events())->down;
6959 }
6960 
6961 std::function<void()> &zwp_tablet_tool_v1_t::on_up()
6962 {
6963  return std::static_pointer_cast<events_t>(get_events())->up;
6964 }
6965 
6966 std::function<void(double, double)> &zwp_tablet_tool_v1_t::on_motion()
6967 {
6968  return std::static_pointer_cast<events_t>(get_events())->motion;
6969 }
6970 
6971 std::function<void(uint32_t)> &zwp_tablet_tool_v1_t::on_pressure()
6972 {
6973  return std::static_pointer_cast<events_t>(get_events())->pressure;
6974 }
6975 
6976 std::function<void(uint32_t)> &zwp_tablet_tool_v1_t::on_distance()
6977 {
6978  return std::static_pointer_cast<events_t>(get_events())->distance;
6979 }
6980 
6981 std::function<void(int32_t, int32_t)> &zwp_tablet_tool_v1_t::on_tilt()
6982 {
6983  return std::static_pointer_cast<events_t>(get_events())->tilt;
6984 }
6985 
6986 std::function<void(int32_t)> &zwp_tablet_tool_v1_t::on_rotation()
6987 {
6988  return std::static_pointer_cast<events_t>(get_events())->rotation;
6989 }
6990 
6991 std::function<void(int32_t)> &zwp_tablet_tool_v1_t::on_slider()
6992 {
6993  return std::static_pointer_cast<events_t>(get_events())->slider;
6994 }
6995 
6996 std::function<void(int32_t, int32_t)> &zwp_tablet_tool_v1_t::on_wheel()
6997 {
6998  return std::static_pointer_cast<events_t>(get_events())->wheel;
6999 }
7000 
7001 std::function<void(uint32_t, uint32_t, zwp_tablet_tool_v1_button_state)> &zwp_tablet_tool_v1_t::on_button()
7002 {
7003  return std::static_pointer_cast<events_t>(get_events())->button;
7004 }
7005 
7006 std::function<void(uint32_t)> &zwp_tablet_tool_v1_t::on_frame()
7007 {
7008  return std::static_pointer_cast<events_t>(get_events())->frame;
7009 }
7010 
7011 int zwp_tablet_tool_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
7012 {
7013  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7014  switch(opcode)
7015  {
7016  case 0:
7017  if(events->type) events->type(zwp_tablet_tool_v1_type(args[0].get<uint32_t>()));
7018  break;
7019  case 1:
7020  if(events->hardware_serial) events->hardware_serial(args[0].get<uint32_t>(), args[1].get<uint32_t>());
7021  break;
7022  case 2:
7023  if(events->hardware_id_wacom) events->hardware_id_wacom(args[0].get<uint32_t>(), args[1].get<uint32_t>());
7024  break;
7025  case 3:
7026  if(events->capability) events->capability(zwp_tablet_tool_v1_capability(args[0].get<uint32_t>()));
7027  break;
7028  case 4:
7029  if(events->done) events->done();
7030  break;
7031  case 5:
7032  if(events->removed) events->removed();
7033  break;
7034  case 6:
7035  if(events->proximity_in) events->proximity_in(args[0].get<uint32_t>(), zwp_tablet_v1_t(args[1].get<proxy_t>()), surface_t(args[2].get<proxy_t>()));
7036  break;
7037  case 7:
7038  if(events->proximity_out) events->proximity_out();
7039  break;
7040  case 8:
7041  if(events->down) events->down(args[0].get<uint32_t>());
7042  break;
7043  case 9:
7044  if(events->up) events->up();
7045  break;
7046  case 10:
7047  if(events->motion) events->motion(args[0].get<double>(), args[1].get<double>());
7048  break;
7049  case 11:
7050  if(events->pressure) events->pressure(args[0].get<uint32_t>());
7051  break;
7052  case 12:
7053  if(events->distance) events->distance(args[0].get<uint32_t>());
7054  break;
7055  case 13:
7056  if(events->tilt) events->tilt(args[0].get<int32_t>(), args[1].get<int32_t>());
7057  break;
7058  case 14:
7059  if(events->rotation) events->rotation(args[0].get<int32_t>());
7060  break;
7061  case 15:
7062  if(events->slider) events->slider(args[0].get<int32_t>());
7063  break;
7064  case 16:
7065  if(events->wheel) events->wheel(args[0].get<int32_t>(), args[1].get<int32_t>());
7066  break;
7067  case 17:
7068  if(events->button) events->button(args[0].get<uint32_t>(), args[1].get<uint32_t>(), zwp_tablet_tool_v1_button_state(args[2].get<uint32_t>()));
7069  break;
7070  case 18:
7071  if(events->frame) events->frame(args[0].get<uint32_t>());
7072  break;
7073  }
7074  return 0;
7075 }
7076 
7077 
7078 
7079 
7080 
7081 zwp_tablet_v1_t::zwp_tablet_v1_t(const proxy_t &p)
7082  : proxy_t(p)
7083 {
7085  {
7086  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
7087  set_destroy_opcode(0U);
7088  }
7089  set_interface(&zwp_tablet_v1_interface);
7090  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7091  { return zwp_tablet_v1_t(p); });
7092 }
7093 
7094 zwp_tablet_v1_t::zwp_tablet_v1_t()
7095 {
7096  set_interface(&zwp_tablet_v1_interface);
7097  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7098  { return zwp_tablet_v1_t(p); });
7099 }
7100 
7101 zwp_tablet_v1_t::zwp_tablet_v1_t(zwp_tablet_v1 *p, wrapper_type t)
7102  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7104  {
7105  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
7106  set_destroy_opcode(0U);
7107  }
7108  set_interface(&zwp_tablet_v1_interface);
7109  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7110  { return zwp_tablet_v1_t(p); });
7111 }
7112 
7113 zwp_tablet_v1_t::zwp_tablet_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
7114  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7115  set_interface(&zwp_tablet_v1_interface);
7116  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7117  { return zwp_tablet_v1_t(p); });
7118 }
7119 
7120 zwp_tablet_v1_t zwp_tablet_v1_t::proxy_create_wrapper()
7121 {
7122  return {*this, construct_proxy_wrapper_tag()};
7123 }
7124 
7125 const std::string zwp_tablet_v1_t::interface_name = "zwp_tablet_v1";
7126 
7127 zwp_tablet_v1_t::operator zwp_tablet_v1*() const
7128 {
7129  return reinterpret_cast<zwp_tablet_v1*> (c_ptr());
7130 }
7131 
7132 std::function<void(std::string)> &zwp_tablet_v1_t::on_name()
7133 {
7134  return std::static_pointer_cast<events_t>(get_events())->name;
7135 }
7136 
7137 std::function<void(uint32_t, uint32_t)> &zwp_tablet_v1_t::on_id()
7138 {
7139  return std::static_pointer_cast<events_t>(get_events())->id;
7140 }
7141 
7142 std::function<void(std::string)> &zwp_tablet_v1_t::on_path()
7143 {
7144  return std::static_pointer_cast<events_t>(get_events())->path;
7145 }
7146 
7147 std::function<void()> &zwp_tablet_v1_t::on_done()
7148 {
7149  return std::static_pointer_cast<events_t>(get_events())->done;
7150 }
7151 
7152 std::function<void()> &zwp_tablet_v1_t::on_removed()
7153 {
7154  return std::static_pointer_cast<events_t>(get_events())->removed;
7155 }
7156 
7157 int zwp_tablet_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
7158 {
7159  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7160  switch(opcode)
7161  {
7162  case 0:
7163  if(events->name) events->name(args[0].get<std::string>());
7164  break;
7165  case 1:
7166  if(events->id) events->id(args[0].get<uint32_t>(), args[1].get<uint32_t>());
7167  break;
7168  case 2:
7169  if(events->path) events->path(args[0].get<std::string>());
7170  break;
7171  case 3:
7172  if(events->done) events->done();
7173  break;
7174  case 4:
7175  if(events->removed) events->removed();
7176  break;
7177  }
7178  return 0;
7179 }
7180 
7181 zwp_tablet_manager_v2_t::zwp_tablet_manager_v2_t(const proxy_t &p)
7182  : proxy_t(p)
7183 {
7185  {
7186  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
7187  set_destroy_opcode(1U);
7188  }
7189  set_interface(&zwp_tablet_manager_v2_interface);
7190  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7191  { return zwp_tablet_manager_v2_t(p); });
7192 }
7193 
7194 zwp_tablet_manager_v2_t::zwp_tablet_manager_v2_t()
7195 {
7196  set_interface(&zwp_tablet_manager_v2_interface);
7197  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7198  { return zwp_tablet_manager_v2_t(p); });
7199 }
7200 
7201 zwp_tablet_manager_v2_t::zwp_tablet_manager_v2_t(zwp_tablet_manager_v2 *p, wrapper_type t)
7202  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7204  {
7205  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
7206  set_destroy_opcode(1U);
7207  }
7208  set_interface(&zwp_tablet_manager_v2_interface);
7209  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7210  { return zwp_tablet_manager_v2_t(p); });
7211 }
7212 
7213 zwp_tablet_manager_v2_t::zwp_tablet_manager_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
7214  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7215  set_interface(&zwp_tablet_manager_v2_interface);
7216  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7217  { return zwp_tablet_manager_v2_t(p); });
7218 }
7219 
7220 zwp_tablet_manager_v2_t zwp_tablet_manager_v2_t::proxy_create_wrapper()
7221 {
7222  return {*this, construct_proxy_wrapper_tag()};
7223 }
7224 
7225 const std::string zwp_tablet_manager_v2_t::interface_name = "zwp_tablet_manager_v2";
7226 
7227 zwp_tablet_manager_v2_t::operator zwp_tablet_manager_v2*() const
7228 {
7229  return reinterpret_cast<zwp_tablet_manager_v2*> (c_ptr());
7230 }
7231 
7233 {
7234  proxy_t p = marshal_constructor(0U, &zwp_tablet_seat_v2_interface, nullptr, seat.proxy_has_object() ? reinterpret_cast<wl_object*>(seat.c_ptr()) : nullptr);
7235  return zwp_tablet_seat_v2_t(p);
7236 }
7237 
7238 
7239 int zwp_tablet_manager_v2_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
7240 {
7241  return 0;
7242 }
7243 
7244 zwp_tablet_seat_v2_t::zwp_tablet_seat_v2_t(const proxy_t &p)
7245  : proxy_t(p)
7246 {
7248  {
7249  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
7250  set_destroy_opcode(0U);
7251  }
7252  set_interface(&zwp_tablet_seat_v2_interface);
7253  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7254  { return zwp_tablet_seat_v2_t(p); });
7255 }
7256 
7257 zwp_tablet_seat_v2_t::zwp_tablet_seat_v2_t()
7258 {
7259  set_interface(&zwp_tablet_seat_v2_interface);
7260  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7261  { return zwp_tablet_seat_v2_t(p); });
7262 }
7263 
7264 zwp_tablet_seat_v2_t::zwp_tablet_seat_v2_t(zwp_tablet_seat_v2 *p, wrapper_type t)
7265  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7267  {
7268  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
7269  set_destroy_opcode(0U);
7270  }
7271  set_interface(&zwp_tablet_seat_v2_interface);
7272  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7273  { return zwp_tablet_seat_v2_t(p); });
7274 }
7275 
7276 zwp_tablet_seat_v2_t::zwp_tablet_seat_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
7277  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7278  set_interface(&zwp_tablet_seat_v2_interface);
7279  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7280  { return zwp_tablet_seat_v2_t(p); });
7281 }
7282 
7283 zwp_tablet_seat_v2_t zwp_tablet_seat_v2_t::proxy_create_wrapper()
7284 {
7285  return {*this, construct_proxy_wrapper_tag()};
7286 }
7287 
7288 const std::string zwp_tablet_seat_v2_t::interface_name = "zwp_tablet_seat_v2";
7289 
7290 zwp_tablet_seat_v2_t::operator zwp_tablet_seat_v2*() const
7291 {
7292  return reinterpret_cast<zwp_tablet_seat_v2*> (c_ptr());
7293 }
7294 
7296 {
7297  return std::static_pointer_cast<events_t>(get_events())->tablet_added;
7298 }
7299 
7301 {
7302  return std::static_pointer_cast<events_t>(get_events())->tool_added;
7303 }
7304 
7306 {
7307  return std::static_pointer_cast<events_t>(get_events())->pad_added;
7308 }
7309 
7310 int zwp_tablet_seat_v2_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
7311 {
7312  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7313  switch(opcode)
7314  {
7315  case 0:
7316  if(events->tablet_added) events->tablet_added(zwp_tablet_v2_t(args[0].get<proxy_t>()));
7317  break;
7318  case 1:
7319  if(events->tool_added) events->tool_added(zwp_tablet_tool_v2_t(args[0].get<proxy_t>()));
7320  break;
7321  case 2:
7322  if(events->pad_added) events->pad_added(zwp_tablet_pad_v2_t(args[0].get<proxy_t>()));
7323  break;
7324  }
7325  return 0;
7326 }
7327 
7328 zwp_tablet_tool_v2_t::zwp_tablet_tool_v2_t(const proxy_t &p)
7329  : proxy_t(p)
7330 {
7332  {
7333  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
7334  set_destroy_opcode(1U);
7335  }
7336  set_interface(&zwp_tablet_tool_v2_interface);
7337  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7338  { return zwp_tablet_tool_v2_t(p); });
7339 }
7340 
7341 zwp_tablet_tool_v2_t::zwp_tablet_tool_v2_t()
7342 {
7343  set_interface(&zwp_tablet_tool_v2_interface);
7344  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7345  { return zwp_tablet_tool_v2_t(p); });
7346 }
7347 
7348 zwp_tablet_tool_v2_t::zwp_tablet_tool_v2_t(zwp_tablet_tool_v2 *p, wrapper_type t)
7349  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7351  {
7352  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
7353  set_destroy_opcode(1U);
7354  }
7355  set_interface(&zwp_tablet_tool_v2_interface);
7356  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7357  { return zwp_tablet_tool_v2_t(p); });
7358 }
7359 
7360 zwp_tablet_tool_v2_t::zwp_tablet_tool_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
7361  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7362  set_interface(&zwp_tablet_tool_v2_interface);
7363  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7364  { return zwp_tablet_tool_v2_t(p); });
7365 }
7366 
7367 zwp_tablet_tool_v2_t zwp_tablet_tool_v2_t::proxy_create_wrapper()
7368 {
7369  return {*this, construct_proxy_wrapper_tag()};
7370 }
7371 
7372 const std::string zwp_tablet_tool_v2_t::interface_name = "zwp_tablet_tool_v2";
7373 
7374 zwp_tablet_tool_v2_t::operator zwp_tablet_tool_v2*() const
7375 {
7376  return reinterpret_cast<zwp_tablet_tool_v2*> (c_ptr());
7377 }
7378 
7379 void zwp_tablet_tool_v2_t::set_cursor(uint32_t serial, surface_t const& surface, int32_t hotspot_x, int32_t hotspot_y)
7380 {
7381  marshal(0U, serial, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr, hotspot_x, hotspot_y);
7382 }
7383 
7384 
7385 std::function<void(zwp_tablet_tool_v2_type)> &zwp_tablet_tool_v2_t::on_type()
7386 {
7387  return std::static_pointer_cast<events_t>(get_events())->type;
7388 }
7389 
7390 std::function<void(uint32_t, uint32_t)> &zwp_tablet_tool_v2_t::on_hardware_serial()
7391 {
7392  return std::static_pointer_cast<events_t>(get_events())->hardware_serial;
7393 }
7394 
7395 std::function<void(uint32_t, uint32_t)> &zwp_tablet_tool_v2_t::on_hardware_id_wacom()
7396 {
7397  return std::static_pointer_cast<events_t>(get_events())->hardware_id_wacom;
7398 }
7399 
7400 std::function<void(zwp_tablet_tool_v2_capability)> &zwp_tablet_tool_v2_t::on_capability()
7401 {
7402  return std::static_pointer_cast<events_t>(get_events())->capability;
7403 }
7404 
7405 std::function<void()> &zwp_tablet_tool_v2_t::on_done()
7406 {
7407  return std::static_pointer_cast<events_t>(get_events())->done;
7408 }
7409 
7410 std::function<void()> &zwp_tablet_tool_v2_t::on_removed()
7411 {
7412  return std::static_pointer_cast<events_t>(get_events())->removed;
7413 }
7414 
7416 {
7417  return std::static_pointer_cast<events_t>(get_events())->proximity_in;
7418 }
7419 
7421 {
7422  return std::static_pointer_cast<events_t>(get_events())->proximity_out;
7423 }
7424 
7425 std::function<void(uint32_t)> &zwp_tablet_tool_v2_t::on_down()
7426 {
7427  return std::static_pointer_cast<events_t>(get_events())->down;
7428 }
7429 
7430 std::function<void()> &zwp_tablet_tool_v2_t::on_up()
7431 {
7432  return std::static_pointer_cast<events_t>(get_events())->up;
7433 }
7434 
7435 std::function<void(double, double)> &zwp_tablet_tool_v2_t::on_motion()
7436 {
7437  return std::static_pointer_cast<events_t>(get_events())->motion;
7438 }
7439 
7440 std::function<void(uint32_t)> &zwp_tablet_tool_v2_t::on_pressure()
7441 {
7442  return std::static_pointer_cast<events_t>(get_events())->pressure;
7443 }
7444 
7445 std::function<void(uint32_t)> &zwp_tablet_tool_v2_t::on_distance()
7446 {
7447  return std::static_pointer_cast<events_t>(get_events())->distance;
7448 }
7449 
7450 std::function<void(double, double)> &zwp_tablet_tool_v2_t::on_tilt()
7451 {
7452  return std::static_pointer_cast<events_t>(get_events())->tilt;
7453 }
7454 
7455 std::function<void(double)> &zwp_tablet_tool_v2_t::on_rotation()
7456 {
7457  return std::static_pointer_cast<events_t>(get_events())->rotation;
7458 }
7459 
7460 std::function<void(int32_t)> &zwp_tablet_tool_v2_t::on_slider()
7461 {
7462  return std::static_pointer_cast<events_t>(get_events())->slider;
7463 }
7464 
7465 std::function<void(double, int32_t)> &zwp_tablet_tool_v2_t::on_wheel()
7466 {
7467  return std::static_pointer_cast<events_t>(get_events())->wheel;
7468 }
7469 
7470 std::function<void(uint32_t, uint32_t, zwp_tablet_tool_v2_button_state)> &zwp_tablet_tool_v2_t::on_button()
7471 {
7472  return std::static_pointer_cast<events_t>(get_events())->button;
7473 }
7474 
7475 std::function<void(uint32_t)> &zwp_tablet_tool_v2_t::on_frame()
7476 {
7477  return std::static_pointer_cast<events_t>(get_events())->frame;
7478 }
7479 
7480 int zwp_tablet_tool_v2_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
7481 {
7482  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7483  switch(opcode)
7484  {
7485  case 0:
7486  if(events->type) events->type(zwp_tablet_tool_v2_type(args[0].get<uint32_t>()));
7487  break;
7488  case 1:
7489  if(events->hardware_serial) events->hardware_serial(args[0].get<uint32_t>(), args[1].get<uint32_t>());
7490  break;
7491  case 2:
7492  if(events->hardware_id_wacom) events->hardware_id_wacom(args[0].get<uint32_t>(), args[1].get<uint32_t>());
7493  break;
7494  case 3:
7495  if(events->capability) events->capability(zwp_tablet_tool_v2_capability(args[0].get<uint32_t>()));
7496  break;
7497  case 4:
7498  if(events->done) events->done();
7499  break;
7500  case 5:
7501  if(events->removed) events->removed();
7502  break;
7503  case 6:
7504  if(events->proximity_in) events->proximity_in(args[0].get<uint32_t>(), zwp_tablet_v2_t(args[1].get<proxy_t>()), surface_t(args[2].get<proxy_t>()));
7505  break;
7506  case 7:
7507  if(events->proximity_out) events->proximity_out();
7508  break;
7509  case 8:
7510  if(events->down) events->down(args[0].get<uint32_t>());
7511  break;
7512  case 9:
7513  if(events->up) events->up();
7514  break;
7515  case 10:
7516  if(events->motion) events->motion(args[0].get<double>(), args[1].get<double>());
7517  break;
7518  case 11:
7519  if(events->pressure) events->pressure(args[0].get<uint32_t>());
7520  break;
7521  case 12:
7522  if(events->distance) events->distance(args[0].get<uint32_t>());
7523  break;
7524  case 13:
7525  if(events->tilt) events->tilt(args[0].get<double>(), args[1].get<double>());
7526  break;
7527  case 14:
7528  if(events->rotation) events->rotation(args[0].get<double>());
7529  break;
7530  case 15:
7531  if(events->slider) events->slider(args[0].get<int32_t>());
7532  break;
7533  case 16:
7534  if(events->wheel) events->wheel(args[0].get<double>(), args[1].get<int32_t>());
7535  break;
7536  case 17:
7537  if(events->button) events->button(args[0].get<uint32_t>(), args[1].get<uint32_t>(), zwp_tablet_tool_v2_button_state(args[2].get<uint32_t>()));
7538  break;
7539  case 18:
7540  if(events->frame) events->frame(args[0].get<uint32_t>());
7541  break;
7542  }
7543  return 0;
7544 }
7545 
7546 
7547 
7548 
7549 
7550 zwp_tablet_v2_t::zwp_tablet_v2_t(const proxy_t &p)
7551  : proxy_t(p)
7552 {
7554  {
7555  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
7556  set_destroy_opcode(0U);
7557  }
7558  set_interface(&zwp_tablet_v2_interface);
7559  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7560  { return zwp_tablet_v2_t(p); });
7561 }
7562 
7563 zwp_tablet_v2_t::zwp_tablet_v2_t()
7564 {
7565  set_interface(&zwp_tablet_v2_interface);
7566  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7567  { return zwp_tablet_v2_t(p); });
7568 }
7569 
7570 zwp_tablet_v2_t::zwp_tablet_v2_t(zwp_tablet_v2 *p, wrapper_type t)
7571  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7573  {
7574  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
7575  set_destroy_opcode(0U);
7576  }
7577  set_interface(&zwp_tablet_v2_interface);
7578  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7579  { return zwp_tablet_v2_t(p); });
7580 }
7581 
7582 zwp_tablet_v2_t::zwp_tablet_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
7583  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7584  set_interface(&zwp_tablet_v2_interface);
7585  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7586  { return zwp_tablet_v2_t(p); });
7587 }
7588 
7589 zwp_tablet_v2_t zwp_tablet_v2_t::proxy_create_wrapper()
7590 {
7591  return {*this, construct_proxy_wrapper_tag()};
7592 }
7593 
7594 const std::string zwp_tablet_v2_t::interface_name = "zwp_tablet_v2";
7595 
7596 zwp_tablet_v2_t::operator zwp_tablet_v2*() const
7597 {
7598  return reinterpret_cast<zwp_tablet_v2*> (c_ptr());
7599 }
7600 
7601 std::function<void(std::string)> &zwp_tablet_v2_t::on_name()
7602 {
7603  return std::static_pointer_cast<events_t>(get_events())->name;
7604 }
7605 
7606 std::function<void(uint32_t, uint32_t)> &zwp_tablet_v2_t::on_id()
7607 {
7608  return std::static_pointer_cast<events_t>(get_events())->id;
7609 }
7610 
7611 std::function<void(std::string)> &zwp_tablet_v2_t::on_path()
7612 {
7613  return std::static_pointer_cast<events_t>(get_events())->path;
7614 }
7615 
7616 std::function<void()> &zwp_tablet_v2_t::on_done()
7617 {
7618  return std::static_pointer_cast<events_t>(get_events())->done;
7619 }
7620 
7621 std::function<void()> &zwp_tablet_v2_t::on_removed()
7622 {
7623  return std::static_pointer_cast<events_t>(get_events())->removed;
7624 }
7625 
7626 int zwp_tablet_v2_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
7627 {
7628  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7629  switch(opcode)
7630  {
7631  case 0:
7632  if(events->name) events->name(args[0].get<std::string>());
7633  break;
7634  case 1:
7635  if(events->id) events->id(args[0].get<uint32_t>(), args[1].get<uint32_t>());
7636  break;
7637  case 2:
7638  if(events->path) events->path(args[0].get<std::string>());
7639  break;
7640  case 3:
7641  if(events->done) events->done();
7642  break;
7643  case 4:
7644  if(events->removed) events->removed();
7645  break;
7646  }
7647  return 0;
7648 }
7649 
7650 zwp_tablet_pad_ring_v2_t::zwp_tablet_pad_ring_v2_t(const proxy_t &p)
7651  : proxy_t(p)
7652 {
7654  {
7655  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
7656  set_destroy_opcode(1U);
7657  }
7658  set_interface(&zwp_tablet_pad_ring_v2_interface);
7659  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7660  { return zwp_tablet_pad_ring_v2_t(p); });
7661 }
7662 
7663 zwp_tablet_pad_ring_v2_t::zwp_tablet_pad_ring_v2_t()
7664 {
7665  set_interface(&zwp_tablet_pad_ring_v2_interface);
7666  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7667  { return zwp_tablet_pad_ring_v2_t(p); });
7668 }
7669 
7670 zwp_tablet_pad_ring_v2_t::zwp_tablet_pad_ring_v2_t(zwp_tablet_pad_ring_v2 *p, wrapper_type t)
7671  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7673  {
7674  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
7675  set_destroy_opcode(1U);
7676  }
7677  set_interface(&zwp_tablet_pad_ring_v2_interface);
7678  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7679  { return zwp_tablet_pad_ring_v2_t(p); });
7680 }
7681 
7682 zwp_tablet_pad_ring_v2_t::zwp_tablet_pad_ring_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
7683  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7684  set_interface(&zwp_tablet_pad_ring_v2_interface);
7685  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7686  { return zwp_tablet_pad_ring_v2_t(p); });
7687 }
7688 
7689 zwp_tablet_pad_ring_v2_t zwp_tablet_pad_ring_v2_t::proxy_create_wrapper()
7690 {
7691  return {*this, construct_proxy_wrapper_tag()};
7692 }
7693 
7694 const std::string zwp_tablet_pad_ring_v2_t::interface_name = "zwp_tablet_pad_ring_v2";
7695 
7696 zwp_tablet_pad_ring_v2_t::operator zwp_tablet_pad_ring_v2*() const
7697 {
7698  return reinterpret_cast<zwp_tablet_pad_ring_v2*> (c_ptr());
7699 }
7700 
7701 void zwp_tablet_pad_ring_v2_t::set_feedback(std::string const& description, uint32_t serial)
7702 {
7703  marshal(0U, description, serial);
7704 }
7705 
7706 
7707 std::function<void(zwp_tablet_pad_ring_v2_source)> &zwp_tablet_pad_ring_v2_t::on_source()
7708 {
7709  return std::static_pointer_cast<events_t>(get_events())->source;
7710 }
7711 
7712 std::function<void(double)> &zwp_tablet_pad_ring_v2_t::on_angle()
7713 {
7714  return std::static_pointer_cast<events_t>(get_events())->angle;
7715 }
7716 
7717 std::function<void()> &zwp_tablet_pad_ring_v2_t::on_stop()
7718 {
7719  return std::static_pointer_cast<events_t>(get_events())->stop;
7720 }
7721 
7722 std::function<void(uint32_t)> &zwp_tablet_pad_ring_v2_t::on_frame()
7723 {
7724  return std::static_pointer_cast<events_t>(get_events())->frame;
7725 }
7726 
7727 int zwp_tablet_pad_ring_v2_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
7728 {
7729  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7730  switch(opcode)
7731  {
7732  case 0:
7733  if(events->source) events->source(zwp_tablet_pad_ring_v2_source(args[0].get<uint32_t>()));
7734  break;
7735  case 1:
7736  if(events->angle) events->angle(args[0].get<double>());
7737  break;
7738  case 2:
7739  if(events->stop) events->stop();
7740  break;
7741  case 3:
7742  if(events->frame) events->frame(args[0].get<uint32_t>());
7743  break;
7744  }
7745  return 0;
7746 }
7747 
7748 
7749 zwp_tablet_pad_strip_v2_t::zwp_tablet_pad_strip_v2_t(const proxy_t &p)
7750  : proxy_t(p)
7751 {
7753  {
7754  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
7755  set_destroy_opcode(1U);
7756  }
7757  set_interface(&zwp_tablet_pad_strip_v2_interface);
7758  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7759  { return zwp_tablet_pad_strip_v2_t(p); });
7760 }
7761 
7762 zwp_tablet_pad_strip_v2_t::zwp_tablet_pad_strip_v2_t()
7763 {
7764  set_interface(&zwp_tablet_pad_strip_v2_interface);
7765  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7766  { return zwp_tablet_pad_strip_v2_t(p); });
7767 }
7768 
7769 zwp_tablet_pad_strip_v2_t::zwp_tablet_pad_strip_v2_t(zwp_tablet_pad_strip_v2 *p, wrapper_type t)
7770  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7772  {
7773  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
7774  set_destroy_opcode(1U);
7775  }
7776  set_interface(&zwp_tablet_pad_strip_v2_interface);
7777  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7778  { return zwp_tablet_pad_strip_v2_t(p); });
7779 }
7780 
7781 zwp_tablet_pad_strip_v2_t::zwp_tablet_pad_strip_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
7782  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7783  set_interface(&zwp_tablet_pad_strip_v2_interface);
7784  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7785  { return zwp_tablet_pad_strip_v2_t(p); });
7786 }
7787 
7788 zwp_tablet_pad_strip_v2_t zwp_tablet_pad_strip_v2_t::proxy_create_wrapper()
7789 {
7790  return {*this, construct_proxy_wrapper_tag()};
7791 }
7792 
7793 const std::string zwp_tablet_pad_strip_v2_t::interface_name = "zwp_tablet_pad_strip_v2";
7794 
7795 zwp_tablet_pad_strip_v2_t::operator zwp_tablet_pad_strip_v2*() const
7796 {
7797  return reinterpret_cast<zwp_tablet_pad_strip_v2*> (c_ptr());
7798 }
7799 
7800 void zwp_tablet_pad_strip_v2_t::set_feedback(std::string const& description, uint32_t serial)
7801 {
7802  marshal(0U, description, serial);
7803 }
7804 
7805 
7806 std::function<void(zwp_tablet_pad_strip_v2_source)> &zwp_tablet_pad_strip_v2_t::on_source()
7807 {
7808  return std::static_pointer_cast<events_t>(get_events())->source;
7809 }
7810 
7811 std::function<void(uint32_t)> &zwp_tablet_pad_strip_v2_t::on_position()
7812 {
7813  return std::static_pointer_cast<events_t>(get_events())->position;
7814 }
7815 
7816 std::function<void()> &zwp_tablet_pad_strip_v2_t::on_stop()
7817 {
7818  return std::static_pointer_cast<events_t>(get_events())->stop;
7819 }
7820 
7821 std::function<void(uint32_t)> &zwp_tablet_pad_strip_v2_t::on_frame()
7822 {
7823  return std::static_pointer_cast<events_t>(get_events())->frame;
7824 }
7825 
7826 int zwp_tablet_pad_strip_v2_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
7827 {
7828  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7829  switch(opcode)
7830  {
7831  case 0:
7832  if(events->source) events->source(zwp_tablet_pad_strip_v2_source(args[0].get<uint32_t>()));
7833  break;
7834  case 1:
7835  if(events->position) events->position(args[0].get<uint32_t>());
7836  break;
7837  case 2:
7838  if(events->stop) events->stop();
7839  break;
7840  case 3:
7841  if(events->frame) events->frame(args[0].get<uint32_t>());
7842  break;
7843  }
7844  return 0;
7845 }
7846 
7847 
7848 zwp_tablet_pad_group_v2_t::zwp_tablet_pad_group_v2_t(const proxy_t &p)
7849  : proxy_t(p)
7850 {
7852  {
7853  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
7854  set_destroy_opcode(0U);
7855  }
7856  set_interface(&zwp_tablet_pad_group_v2_interface);
7857  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7858  { return zwp_tablet_pad_group_v2_t(p); });
7859 }
7860 
7861 zwp_tablet_pad_group_v2_t::zwp_tablet_pad_group_v2_t()
7862 {
7863  set_interface(&zwp_tablet_pad_group_v2_interface);
7864  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7865  { return zwp_tablet_pad_group_v2_t(p); });
7866 }
7867 
7868 zwp_tablet_pad_group_v2_t::zwp_tablet_pad_group_v2_t(zwp_tablet_pad_group_v2 *p, wrapper_type t)
7869  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7871  {
7872  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
7873  set_destroy_opcode(0U);
7874  }
7875  set_interface(&zwp_tablet_pad_group_v2_interface);
7876  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7877  { return zwp_tablet_pad_group_v2_t(p); });
7878 }
7879 
7880 zwp_tablet_pad_group_v2_t::zwp_tablet_pad_group_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
7881  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7882  set_interface(&zwp_tablet_pad_group_v2_interface);
7883  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7884  { return zwp_tablet_pad_group_v2_t(p); });
7885 }
7886 
7887 zwp_tablet_pad_group_v2_t zwp_tablet_pad_group_v2_t::proxy_create_wrapper()
7888 {
7889  return {*this, construct_proxy_wrapper_tag()};
7890 }
7891 
7892 const std::string zwp_tablet_pad_group_v2_t::interface_name = "zwp_tablet_pad_group_v2";
7893 
7894 zwp_tablet_pad_group_v2_t::operator zwp_tablet_pad_group_v2*() const
7895 {
7896  return reinterpret_cast<zwp_tablet_pad_group_v2*> (c_ptr());
7897 }
7898 
7899 std::function<void(array_t)> &zwp_tablet_pad_group_v2_t::on_buttons()
7900 {
7901  return std::static_pointer_cast<events_t>(get_events())->buttons;
7902 }
7903 
7905 {
7906  return std::static_pointer_cast<events_t>(get_events())->ring;
7907 }
7908 
7910 {
7911  return std::static_pointer_cast<events_t>(get_events())->strip;
7912 }
7913 
7914 std::function<void(uint32_t)> &zwp_tablet_pad_group_v2_t::on_modes()
7915 {
7916  return std::static_pointer_cast<events_t>(get_events())->modes;
7917 }
7918 
7919 std::function<void()> &zwp_tablet_pad_group_v2_t::on_done()
7920 {
7921  return std::static_pointer_cast<events_t>(get_events())->done;
7922 }
7923 
7924 std::function<void(uint32_t, uint32_t, uint32_t)> &zwp_tablet_pad_group_v2_t::on_mode_switch()
7925 {
7926  return std::static_pointer_cast<events_t>(get_events())->mode_switch;
7927 }
7928 
7929 int zwp_tablet_pad_group_v2_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
7930 {
7931  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
7932  switch(opcode)
7933  {
7934  case 0:
7935  if(events->buttons) events->buttons(args[0].get<array_t>());
7936  break;
7937  case 1:
7938  if(events->ring) events->ring(zwp_tablet_pad_ring_v2_t(args[0].get<proxy_t>()));
7939  break;
7940  case 2:
7941  if(events->strip) events->strip(zwp_tablet_pad_strip_v2_t(args[0].get<proxy_t>()));
7942  break;
7943  case 3:
7944  if(events->modes) events->modes(args[0].get<uint32_t>());
7945  break;
7946  case 4:
7947  if(events->done) events->done();
7948  break;
7949  case 5:
7950  if(events->mode_switch) events->mode_switch(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<uint32_t>());
7951  break;
7952  }
7953  return 0;
7954 }
7955 
7956 zwp_tablet_pad_v2_t::zwp_tablet_pad_v2_t(const proxy_t &p)
7957  : proxy_t(p)
7958 {
7960  {
7961  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
7962  set_destroy_opcode(1U);
7963  }
7964  set_interface(&zwp_tablet_pad_v2_interface);
7965  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7966  { return zwp_tablet_pad_v2_t(p); });
7967 }
7968 
7969 zwp_tablet_pad_v2_t::zwp_tablet_pad_v2_t()
7970 {
7971  set_interface(&zwp_tablet_pad_v2_interface);
7972  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7973  { return zwp_tablet_pad_v2_t(p); });
7974 }
7975 
7976 zwp_tablet_pad_v2_t::zwp_tablet_pad_v2_t(zwp_tablet_pad_v2 *p, wrapper_type t)
7977  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
7979  {
7980  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
7981  set_destroy_opcode(1U);
7982  }
7983  set_interface(&zwp_tablet_pad_v2_interface);
7984  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7985  { return zwp_tablet_pad_v2_t(p); });
7986 }
7987 
7988 zwp_tablet_pad_v2_t::zwp_tablet_pad_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
7989  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
7990  set_interface(&zwp_tablet_pad_v2_interface);
7991  set_copy_constructor([] (const proxy_t &p) -> proxy_t
7992  { return zwp_tablet_pad_v2_t(p); });
7993 }
7994 
7995 zwp_tablet_pad_v2_t zwp_tablet_pad_v2_t::proxy_create_wrapper()
7996 {
7997  return {*this, construct_proxy_wrapper_tag()};
7998 }
7999 
8000 const std::string zwp_tablet_pad_v2_t::interface_name = "zwp_tablet_pad_v2";
8001 
8002 zwp_tablet_pad_v2_t::operator zwp_tablet_pad_v2*() const
8003 {
8004  return reinterpret_cast<zwp_tablet_pad_v2*> (c_ptr());
8005 }
8006 
8007 void zwp_tablet_pad_v2_t::set_feedback(uint32_t button, std::string const& description, uint32_t serial)
8008 {
8009  marshal(0U, button, description, serial);
8010 }
8011 
8012 
8014 {
8015  return std::static_pointer_cast<events_t>(get_events())->group;
8016 }
8017 
8018 std::function<void(std::string)> &zwp_tablet_pad_v2_t::on_path()
8019 {
8020  return std::static_pointer_cast<events_t>(get_events())->path;
8021 }
8022 
8023 std::function<void(uint32_t)> &zwp_tablet_pad_v2_t::on_buttons()
8024 {
8025  return std::static_pointer_cast<events_t>(get_events())->buttons;
8026 }
8027 
8028 std::function<void()> &zwp_tablet_pad_v2_t::on_done()
8029 {
8030  return std::static_pointer_cast<events_t>(get_events())->done;
8031 }
8032 
8033 std::function<void(uint32_t, uint32_t, zwp_tablet_pad_v2_button_state)> &zwp_tablet_pad_v2_t::on_button()
8034 {
8035  return std::static_pointer_cast<events_t>(get_events())->button;
8036 }
8037 
8038 std::function<void(uint32_t, zwp_tablet_v2_t, surface_t)> &zwp_tablet_pad_v2_t::on_enter()
8039 {
8040  return std::static_pointer_cast<events_t>(get_events())->enter;
8041 }
8042 
8043 std::function<void(uint32_t, surface_t)> &zwp_tablet_pad_v2_t::on_leave()
8044 {
8045  return std::static_pointer_cast<events_t>(get_events())->leave;
8046 }
8047 
8048 std::function<void()> &zwp_tablet_pad_v2_t::on_removed()
8049 {
8050  return std::static_pointer_cast<events_t>(get_events())->removed;
8051 }
8052 
8053 int zwp_tablet_pad_v2_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
8054 {
8055  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
8056  switch(opcode)
8057  {
8058  case 0:
8059  if(events->group) events->group(zwp_tablet_pad_group_v2_t(args[0].get<proxy_t>()));
8060  break;
8061  case 1:
8062  if(events->path) events->path(args[0].get<std::string>());
8063  break;
8064  case 2:
8065  if(events->buttons) events->buttons(args[0].get<uint32_t>());
8066  break;
8067  case 3:
8068  if(events->done) events->done();
8069  break;
8070  case 4:
8071  if(events->button) events->button(args[0].get<uint32_t>(), args[1].get<uint32_t>(), zwp_tablet_pad_v2_button_state(args[2].get<uint32_t>()));
8072  break;
8073  case 5:
8074  if(events->enter) events->enter(args[0].get<uint32_t>(), zwp_tablet_v2_t(args[1].get<proxy_t>()), surface_t(args[2].get<proxy_t>()));
8075  break;
8076  case 6:
8077  if(events->leave) events->leave(args[0].get<uint32_t>(), surface_t(args[1].get<proxy_t>()));
8078  break;
8079  case 7:
8080  if(events->removed) events->removed();
8081  break;
8082  }
8083  return 0;
8084 }
8085 
8086 
8087 zwp_text_input_v1_t::zwp_text_input_v1_t(const proxy_t &p)
8088  : proxy_t(p)
8089 {
8091  {
8092  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
8093  }
8094  set_interface(&zwp_text_input_v1_interface);
8095  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8096  { return zwp_text_input_v1_t(p); });
8097 }
8098 
8099 zwp_text_input_v1_t::zwp_text_input_v1_t()
8100 {
8101  set_interface(&zwp_text_input_v1_interface);
8102  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8103  { return zwp_text_input_v1_t(p); });
8104 }
8105 
8106 zwp_text_input_v1_t::zwp_text_input_v1_t(zwp_text_input_v1 *p, wrapper_type t)
8107  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8109  {
8110  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
8111  }
8112  set_interface(&zwp_text_input_v1_interface);
8113  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8114  { return zwp_text_input_v1_t(p); });
8115 }
8116 
8117 zwp_text_input_v1_t::zwp_text_input_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
8118  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8119  set_interface(&zwp_text_input_v1_interface);
8120  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8121  { return zwp_text_input_v1_t(p); });
8122 }
8123 
8124 zwp_text_input_v1_t zwp_text_input_v1_t::proxy_create_wrapper()
8125 {
8126  return {*this, construct_proxy_wrapper_tag()};
8127 }
8128 
8129 const std::string zwp_text_input_v1_t::interface_name = "zwp_text_input_v1";
8130 
8131 zwp_text_input_v1_t::operator zwp_text_input_v1*() const
8132 {
8133  return reinterpret_cast<zwp_text_input_v1*> (c_ptr());
8134 }
8135 
8136 void zwp_text_input_v1_t::activate(seat_t const& seat, surface_t const& surface)
8137 {
8138  marshal(0U, seat.proxy_has_object() ? reinterpret_cast<wl_object*>(seat.c_ptr()) : nullptr, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr);
8139 }
8140 
8141 
8143 {
8144  marshal(1U, seat.proxy_has_object() ? reinterpret_cast<wl_object*>(seat.c_ptr()) : nullptr);
8145 }
8146 
8147 
8149 {
8150  marshal(2U);
8151 }
8152 
8153 
8155 {
8156  marshal(3U);
8157 }
8158 
8159 
8161 {
8162  marshal(4U);
8163 }
8164 
8165 
8166 void zwp_text_input_v1_t::set_surrounding_text(std::string const& text, uint32_t cursor, uint32_t anchor)
8167 {
8168  marshal(5U, text, cursor, anchor);
8169 }
8170 
8171 
8172 void zwp_text_input_v1_t::set_content_type(zwp_text_input_v1_content_hint const& hint, zwp_text_input_v1_content_purpose const& purpose)
8173 {
8174  marshal(6U, static_cast<uint32_t>(hint), static_cast<uint32_t>(purpose));
8175 }
8176 
8177 
8178 void zwp_text_input_v1_t::set_cursor_rectangle(int32_t x, int32_t y, int32_t width, int32_t height)
8179 {
8180  marshal(7U, x, y, width, height);
8181 }
8182 
8183 
8184 void zwp_text_input_v1_t::set_preferred_language(std::string const& language)
8185 {
8186  marshal(8U, language);
8187 }
8188 
8189 
8191 {
8192  marshal(9U, serial);
8193 }
8194 
8195 
8196 void zwp_text_input_v1_t::invoke_action(uint32_t button, uint32_t index)
8197 {
8198  marshal(10U, button, index);
8199 }
8200 
8201 
8203 {
8204  return std::static_pointer_cast<events_t>(get_events())->enter;
8205 }
8206 
8207 std::function<void()> &zwp_text_input_v1_t::on_leave()
8208 {
8209  return std::static_pointer_cast<events_t>(get_events())->leave;
8210 }
8211 
8212 std::function<void(array_t)> &zwp_text_input_v1_t::on_modifiers_map()
8213 {
8214  return std::static_pointer_cast<events_t>(get_events())->modifiers_map;
8215 }
8216 
8217 std::function<void(uint32_t)> &zwp_text_input_v1_t::on_input_panel_state()
8218 {
8219  return std::static_pointer_cast<events_t>(get_events())->input_panel_state;
8220 }
8221 
8222 std::function<void(uint32_t, std::string, std::string)> &zwp_text_input_v1_t::on_preedit_string()
8223 {
8224  return std::static_pointer_cast<events_t>(get_events())->preedit_string;
8225 }
8226 
8227 std::function<void(uint32_t, uint32_t, zwp_text_input_v1_preedit_style)> &zwp_text_input_v1_t::on_preedit_styling()
8228 {
8229  return std::static_pointer_cast<events_t>(get_events())->preedit_styling;
8230 }
8231 
8232 std::function<void(int32_t)> &zwp_text_input_v1_t::on_preedit_cursor()
8233 {
8234  return std::static_pointer_cast<events_t>(get_events())->preedit_cursor;
8235 }
8236 
8237 std::function<void(uint32_t, std::string)> &zwp_text_input_v1_t::on_commit_string()
8238 {
8239  return std::static_pointer_cast<events_t>(get_events())->commit_string;
8240 }
8241 
8242 std::function<void(int32_t, int32_t)> &zwp_text_input_v1_t::on_cursor_position()
8243 {
8244  return std::static_pointer_cast<events_t>(get_events())->cursor_position;
8245 }
8246 
8247 std::function<void(int32_t, uint32_t)> &zwp_text_input_v1_t::on_delete_surrounding_text()
8248 {
8249  return std::static_pointer_cast<events_t>(get_events())->delete_surrounding_text;
8250 }
8251 
8252 std::function<void(uint32_t, uint32_t, uint32_t, keyboard_key_state, uint32_t)> &zwp_text_input_v1_t::on_keysym()
8253 {
8254  return std::static_pointer_cast<events_t>(get_events())->keysym;
8255 }
8256 
8257 std::function<void(uint32_t, std::string)> &zwp_text_input_v1_t::on_language()
8258 {
8259  return std::static_pointer_cast<events_t>(get_events())->language;
8260 }
8261 
8262 std::function<void(uint32_t, zwp_text_input_v1_text_direction)> &zwp_text_input_v1_t::on_text_direction()
8263 {
8264  return std::static_pointer_cast<events_t>(get_events())->text_direction;
8265 }
8266 
8267 int zwp_text_input_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
8268 {
8269  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
8270  switch(opcode)
8271  {
8272  case 0:
8273  if(events->enter) events->enter(surface_t(args[0].get<proxy_t>()));
8274  break;
8275  case 1:
8276  if(events->leave) events->leave();
8277  break;
8278  case 2:
8279  if(events->modifiers_map) events->modifiers_map(args[0].get<array_t>());
8280  break;
8281  case 3:
8282  if(events->input_panel_state) events->input_panel_state(args[0].get<uint32_t>());
8283  break;
8284  case 4:
8285  if(events->preedit_string) events->preedit_string(args[0].get<uint32_t>(), args[1].get<std::string>(), args[2].get<std::string>());
8286  break;
8287  case 5:
8288  if(events->preedit_styling) events->preedit_styling(args[0].get<uint32_t>(), args[1].get<uint32_t>(), zwp_text_input_v1_preedit_style(args[2].get<uint32_t>()));
8289  break;
8290  case 6:
8291  if(events->preedit_cursor) events->preedit_cursor(args[0].get<int32_t>());
8292  break;
8293  case 7:
8294  if(events->commit_string) events->commit_string(args[0].get<uint32_t>(), args[1].get<std::string>());
8295  break;
8296  case 8:
8297  if(events->cursor_position) events->cursor_position(args[0].get<int32_t>(), args[1].get<int32_t>());
8298  break;
8299  case 9:
8300  if(events->delete_surrounding_text) events->delete_surrounding_text(args[0].get<int32_t>(), args[1].get<uint32_t>());
8301  break;
8302  case 10:
8303  if(events->keysym) events->keysym(args[0].get<uint32_t>(), args[1].get<uint32_t>(), args[2].get<uint32_t>(), keyboard_key_state(args[3].get<uint32_t>()), args[4].get<uint32_t>());
8304  break;
8305  case 11:
8306  if(events->language) events->language(args[0].get<uint32_t>(), args[1].get<std::string>());
8307  break;
8308  case 12:
8309  if(events->text_direction) events->text_direction(args[0].get<uint32_t>(), zwp_text_input_v1_text_direction(args[1].get<uint32_t>()));
8310  break;
8311  }
8312  return 0;
8313 }
8314 const bitfield<10, 23> zwp_text_input_v1_content_hint::none{0x0};
8315 const bitfield<10, 23> zwp_text_input_v1_content_hint::_default{0x7};
8316 const bitfield<10, 23> zwp_text_input_v1_content_hint::password{0xc0};
8317 const bitfield<10, 23> zwp_text_input_v1_content_hint::auto_completion{0x1};
8318 const bitfield<10, 23> zwp_text_input_v1_content_hint::auto_correction{0x2};
8319 const bitfield<10, 23> zwp_text_input_v1_content_hint::auto_capitalization{0x4};
8320 const bitfield<10, 23> zwp_text_input_v1_content_hint::lowercase{0x8};
8321 const bitfield<10, 23> zwp_text_input_v1_content_hint::uppercase{0x10};
8322 const bitfield<10, 23> zwp_text_input_v1_content_hint::titlecase{0x20};
8323 const bitfield<10, 23> zwp_text_input_v1_content_hint::hidden_text{0x40};
8324 const bitfield<10, 23> zwp_text_input_v1_content_hint::sensitive_data{0x80};
8325 const bitfield<10, 23> zwp_text_input_v1_content_hint::latin{0x100};
8326 const bitfield<10, 23> zwp_text_input_v1_content_hint::multiline{0x200};
8327 
8328 
8329 
8330 
8331 
8332 zwp_text_input_manager_v1_t::zwp_text_input_manager_v1_t(const proxy_t &p)
8333  : proxy_t(p)
8334 {
8336  {
8337  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
8338  }
8339  set_interface(&zwp_text_input_manager_v1_interface);
8340  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8341  { return zwp_text_input_manager_v1_t(p); });
8342 }
8343 
8344 zwp_text_input_manager_v1_t::zwp_text_input_manager_v1_t()
8345 {
8346  set_interface(&zwp_text_input_manager_v1_interface);
8347  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8348  { return zwp_text_input_manager_v1_t(p); });
8349 }
8350 
8351 zwp_text_input_manager_v1_t::zwp_text_input_manager_v1_t(zwp_text_input_manager_v1 *p, wrapper_type t)
8352  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8354  {
8355  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
8356  }
8357  set_interface(&zwp_text_input_manager_v1_interface);
8358  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8359  { return zwp_text_input_manager_v1_t(p); });
8360 }
8361 
8362 zwp_text_input_manager_v1_t::zwp_text_input_manager_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
8363  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8364  set_interface(&zwp_text_input_manager_v1_interface);
8365  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8366  { return zwp_text_input_manager_v1_t(p); });
8367 }
8368 
8369 zwp_text_input_manager_v1_t zwp_text_input_manager_v1_t::proxy_create_wrapper()
8370 {
8371  return {*this, construct_proxy_wrapper_tag()};
8372 }
8373 
8374 const std::string zwp_text_input_manager_v1_t::interface_name = "zwp_text_input_manager_v1";
8375 
8376 zwp_text_input_manager_v1_t::operator zwp_text_input_manager_v1*() const
8377 {
8378  return reinterpret_cast<zwp_text_input_manager_v1*> (c_ptr());
8379 }
8380 
8382 {
8383  proxy_t p = marshal_constructor(0U, &zwp_text_input_v1_interface, nullptr);
8384  return zwp_text_input_v1_t(p);
8385 }
8386 
8387 
8388 int zwp_text_input_manager_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
8389 {
8390  return 0;
8391 }
8392 
8393 zwp_text_input_v3_t::zwp_text_input_v3_t(const proxy_t &p)
8394  : proxy_t(p)
8395 {
8397  {
8398  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
8399  set_destroy_opcode(0U);
8400  }
8401  set_interface(&zwp_text_input_v3_interface);
8402  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8403  { return zwp_text_input_v3_t(p); });
8404 }
8405 
8406 zwp_text_input_v3_t::zwp_text_input_v3_t()
8407 {
8408  set_interface(&zwp_text_input_v3_interface);
8409  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8410  { return zwp_text_input_v3_t(p); });
8411 }
8412 
8413 zwp_text_input_v3_t::zwp_text_input_v3_t(zwp_text_input_v3 *p, wrapper_type t)
8414  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8416  {
8417  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
8418  set_destroy_opcode(0U);
8419  }
8420  set_interface(&zwp_text_input_v3_interface);
8421  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8422  { return zwp_text_input_v3_t(p); });
8423 }
8424 
8425 zwp_text_input_v3_t::zwp_text_input_v3_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
8426  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8427  set_interface(&zwp_text_input_v3_interface);
8428  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8429  { return zwp_text_input_v3_t(p); });
8430 }
8431 
8432 zwp_text_input_v3_t zwp_text_input_v3_t::proxy_create_wrapper()
8433 {
8434  return {*this, construct_proxy_wrapper_tag()};
8435 }
8436 
8437 const std::string zwp_text_input_v3_t::interface_name = "zwp_text_input_v3";
8438 
8439 zwp_text_input_v3_t::operator zwp_text_input_v3*() const
8440 {
8441  return reinterpret_cast<zwp_text_input_v3*> (c_ptr());
8442 }
8443 
8445 {
8446  marshal(1U);
8447 }
8448 
8449 
8451 {
8452  marshal(2U);
8453 }
8454 
8455 
8456 void zwp_text_input_v3_t::set_surrounding_text(std::string const& text, int32_t cursor, int32_t anchor)
8457 {
8458  marshal(3U, text, cursor, anchor);
8459 }
8460 
8461 
8462 void zwp_text_input_v3_t::set_text_change_cause(zwp_text_input_v3_change_cause const& cause)
8463 {
8464  marshal(4U, static_cast<uint32_t>(cause));
8465 }
8466 
8467 
8468 void zwp_text_input_v3_t::set_content_type(zwp_text_input_v3_content_hint const& hint, zwp_text_input_v3_content_purpose const& purpose)
8469 {
8470  marshal(5U, static_cast<uint32_t>(hint), static_cast<uint32_t>(purpose));
8471 }
8472 
8473 
8474 void zwp_text_input_v3_t::set_cursor_rectangle(int32_t x, int32_t y, int32_t width, int32_t height)
8475 {
8476  marshal(6U, x, y, width, height);
8477 }
8478 
8479 
8481 {
8482  marshal(7U);
8483 }
8484 
8485 
8487 {
8488  return std::static_pointer_cast<events_t>(get_events())->enter;
8489 }
8490 
8492 {
8493  return std::static_pointer_cast<events_t>(get_events())->leave;
8494 }
8495 
8496 std::function<void(std::string, int32_t, int32_t)> &zwp_text_input_v3_t::on_preedit_string()
8497 {
8498  return std::static_pointer_cast<events_t>(get_events())->preedit_string;
8499 }
8500 
8501 std::function<void(std::string)> &zwp_text_input_v3_t::on_commit_string()
8502 {
8503  return std::static_pointer_cast<events_t>(get_events())->commit_string;
8504 }
8505 
8506 std::function<void(uint32_t, uint32_t)> &zwp_text_input_v3_t::on_delete_surrounding_text()
8507 {
8508  return std::static_pointer_cast<events_t>(get_events())->delete_surrounding_text;
8509 }
8510 
8511 std::function<void(uint32_t)> &zwp_text_input_v3_t::on_done()
8512 {
8513  return std::static_pointer_cast<events_t>(get_events())->done;
8514 }
8515 
8516 int zwp_text_input_v3_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
8517 {
8518  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
8519  switch(opcode)
8520  {
8521  case 0:
8522  if(events->enter) events->enter(surface_t(args[0].get<proxy_t>()));
8523  break;
8524  case 1:
8525  if(events->leave) events->leave(surface_t(args[0].get<proxy_t>()));
8526  break;
8527  case 2:
8528  if(events->preedit_string) events->preedit_string(args[0].get<std::string>(), args[1].get<int32_t>(), args[2].get<int32_t>());
8529  break;
8530  case 3:
8531  if(events->commit_string) events->commit_string(args[0].get<std::string>());
8532  break;
8533  case 4:
8534  if(events->delete_surrounding_text) events->delete_surrounding_text(args[0].get<uint32_t>(), args[1].get<uint32_t>());
8535  break;
8536  case 5:
8537  if(events->done) events->done(args[0].get<uint32_t>());
8538  break;
8539  }
8540  return 0;
8541 }
8542 
8543 const bitfield<10, 28> zwp_text_input_v3_content_hint::none{0x0};
8544 const bitfield<10, 28> zwp_text_input_v3_content_hint::completion{0x1};
8545 const bitfield<10, 28> zwp_text_input_v3_content_hint::spellcheck{0x2};
8546 const bitfield<10, 28> zwp_text_input_v3_content_hint::auto_capitalization{0x4};
8547 const bitfield<10, 28> zwp_text_input_v3_content_hint::lowercase{0x8};
8548 const bitfield<10, 28> zwp_text_input_v3_content_hint::uppercase{0x10};
8549 const bitfield<10, 28> zwp_text_input_v3_content_hint::titlecase{0x20};
8550 const bitfield<10, 28> zwp_text_input_v3_content_hint::hidden_text{0x40};
8551 const bitfield<10, 28> zwp_text_input_v3_content_hint::sensitive_data{0x80};
8552 const bitfield<10, 28> zwp_text_input_v3_content_hint::latin{0x100};
8553 const bitfield<10, 28> zwp_text_input_v3_content_hint::multiline{0x200};
8554 
8555 
8556 
8557 zwp_text_input_manager_v3_t::zwp_text_input_manager_v3_t(const proxy_t &p)
8558  : proxy_t(p)
8559 {
8561  {
8562  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
8563  set_destroy_opcode(0U);
8564  }
8565  set_interface(&zwp_text_input_manager_v3_interface);
8566  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8567  { return zwp_text_input_manager_v3_t(p); });
8568 }
8569 
8570 zwp_text_input_manager_v3_t::zwp_text_input_manager_v3_t()
8571 {
8572  set_interface(&zwp_text_input_manager_v3_interface);
8573  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8574  { return zwp_text_input_manager_v3_t(p); });
8575 }
8576 
8577 zwp_text_input_manager_v3_t::zwp_text_input_manager_v3_t(zwp_text_input_manager_v3 *p, wrapper_type t)
8578  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8580  {
8581  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
8582  set_destroy_opcode(0U);
8583  }
8584  set_interface(&zwp_text_input_manager_v3_interface);
8585  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8586  { return zwp_text_input_manager_v3_t(p); });
8587 }
8588 
8589 zwp_text_input_manager_v3_t::zwp_text_input_manager_v3_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
8590  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8591  set_interface(&zwp_text_input_manager_v3_interface);
8592  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8593  { return zwp_text_input_manager_v3_t(p); });
8594 }
8595 
8596 zwp_text_input_manager_v3_t zwp_text_input_manager_v3_t::proxy_create_wrapper()
8597 {
8598  return {*this, construct_proxy_wrapper_tag()};
8599 }
8600 
8601 const std::string zwp_text_input_manager_v3_t::interface_name = "zwp_text_input_manager_v3";
8602 
8603 zwp_text_input_manager_v3_t::operator zwp_text_input_manager_v3*() const
8604 {
8605  return reinterpret_cast<zwp_text_input_manager_v3*> (c_ptr());
8606 }
8607 
8609 {
8610  proxy_t p = marshal_constructor(1U, &zwp_text_input_v3_interface, nullptr, seat.proxy_has_object() ? reinterpret_cast<wl_object*>(seat.c_ptr()) : nullptr);
8611  return zwp_text_input_v3_t(p);
8612 }
8613 
8614 
8615 int zwp_text_input_manager_v3_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
8616 {
8617  return 0;
8618 }
8619 
8620 xdg_activation_v1_t::xdg_activation_v1_t(const proxy_t &p)
8621  : proxy_t(p)
8622 {
8624  {
8625  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
8626  set_destroy_opcode(0U);
8627  }
8628  set_interface(&xdg_activation_v1_interface);
8629  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8630  { return xdg_activation_v1_t(p); });
8631 }
8632 
8633 xdg_activation_v1_t::xdg_activation_v1_t()
8634 {
8635  set_interface(&xdg_activation_v1_interface);
8636  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8637  { return xdg_activation_v1_t(p); });
8638 }
8639 
8640 xdg_activation_v1_t::xdg_activation_v1_t(xdg_activation_v1 *p, wrapper_type t)
8641  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8643  {
8644  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
8645  set_destroy_opcode(0U);
8646  }
8647  set_interface(&xdg_activation_v1_interface);
8648  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8649  { return xdg_activation_v1_t(p); });
8650 }
8651 
8652 xdg_activation_v1_t::xdg_activation_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
8653  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8654  set_interface(&xdg_activation_v1_interface);
8655  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8656  { return xdg_activation_v1_t(p); });
8657 }
8658 
8659 xdg_activation_v1_t xdg_activation_v1_t::proxy_create_wrapper()
8660 {
8661  return {*this, construct_proxy_wrapper_tag()};
8662 }
8663 
8664 const std::string xdg_activation_v1_t::interface_name = "xdg_activation_v1";
8665 
8666 xdg_activation_v1_t::operator xdg_activation_v1*() const
8667 {
8668  return reinterpret_cast<xdg_activation_v1*> (c_ptr());
8669 }
8670 
8672 {
8673  proxy_t p = marshal_constructor(1U, &xdg_activation_token_v1_interface, nullptr);
8674  return xdg_activation_token_v1_t(p);
8675 }
8676 
8677 
8678 void xdg_activation_v1_t::activate(std::string const& token, surface_t const& surface)
8679 {
8680  marshal(2U, token, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr);
8681 }
8682 
8683 
8684 int xdg_activation_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
8685 {
8686  return 0;
8687 }
8688 
8689 xdg_activation_token_v1_t::xdg_activation_token_v1_t(const proxy_t &p)
8690  : proxy_t(p)
8691 {
8693  {
8694  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
8695  set_destroy_opcode(4U);
8696  }
8697  set_interface(&xdg_activation_token_v1_interface);
8698  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8699  { return xdg_activation_token_v1_t(p); });
8700 }
8701 
8702 xdg_activation_token_v1_t::xdg_activation_token_v1_t()
8703 {
8704  set_interface(&xdg_activation_token_v1_interface);
8705  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8706  { return xdg_activation_token_v1_t(p); });
8707 }
8708 
8709 xdg_activation_token_v1_t::xdg_activation_token_v1_t(xdg_activation_token_v1 *p, wrapper_type t)
8710  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8712  {
8713  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
8714  set_destroy_opcode(4U);
8715  }
8716  set_interface(&xdg_activation_token_v1_interface);
8717  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8718  { return xdg_activation_token_v1_t(p); });
8719 }
8720 
8721 xdg_activation_token_v1_t::xdg_activation_token_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
8722  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8723  set_interface(&xdg_activation_token_v1_interface);
8724  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8725  { return xdg_activation_token_v1_t(p); });
8726 }
8727 
8728 xdg_activation_token_v1_t xdg_activation_token_v1_t::proxy_create_wrapper()
8729 {
8730  return {*this, construct_proxy_wrapper_tag()};
8731 }
8732 
8733 const std::string xdg_activation_token_v1_t::interface_name = "xdg_activation_token_v1";
8734 
8735 xdg_activation_token_v1_t::operator xdg_activation_token_v1*() const
8736 {
8737  return reinterpret_cast<xdg_activation_token_v1*> (c_ptr());
8738 }
8739 
8740 void xdg_activation_token_v1_t::set_serial(uint32_t serial, seat_t const& seat)
8741 {
8742  marshal(0U, serial, seat.proxy_has_object() ? reinterpret_cast<wl_object*>(seat.c_ptr()) : nullptr);
8743 }
8744 
8745 
8746 void xdg_activation_token_v1_t::set_app_id(std::string const& app_id)
8747 {
8748  marshal(1U, app_id);
8749 }
8750 
8751 
8753 {
8754  marshal(2U, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr);
8755 }
8756 
8757 
8759 {
8760  marshal(3U);
8761 }
8762 
8763 
8764 std::function<void(std::string)> &xdg_activation_token_v1_t::on_done()
8765 {
8766  return std::static_pointer_cast<events_t>(get_events())->done;
8767 }
8768 
8769 int xdg_activation_token_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
8770 {
8771  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
8772  switch(opcode)
8773  {
8774  case 0:
8775  if(events->done) events->done(args[0].get<std::string>());
8776  break;
8777  }
8778  return 0;
8779 }
8780 
8781 
8782 zxdg_decoration_manager_v1_t::zxdg_decoration_manager_v1_t(const proxy_t &p)
8783  : proxy_t(p)
8784 {
8786  {
8787  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
8788  set_destroy_opcode(0U);
8789  }
8790  set_interface(&zxdg_decoration_manager_v1_interface);
8791  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8792  { return zxdg_decoration_manager_v1_t(p); });
8793 }
8794 
8795 zxdg_decoration_manager_v1_t::zxdg_decoration_manager_v1_t()
8796 {
8797  set_interface(&zxdg_decoration_manager_v1_interface);
8798  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8799  { return zxdg_decoration_manager_v1_t(p); });
8800 }
8801 
8802 zxdg_decoration_manager_v1_t::zxdg_decoration_manager_v1_t(zxdg_decoration_manager_v1 *p, wrapper_type t)
8803  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8805  {
8806  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
8807  set_destroy_opcode(0U);
8808  }
8809  set_interface(&zxdg_decoration_manager_v1_interface);
8810  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8811  { return zxdg_decoration_manager_v1_t(p); });
8812 }
8813 
8814 zxdg_decoration_manager_v1_t::zxdg_decoration_manager_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
8815  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8816  set_interface(&zxdg_decoration_manager_v1_interface);
8817  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8818  { return zxdg_decoration_manager_v1_t(p); });
8819 }
8820 
8821 zxdg_decoration_manager_v1_t zxdg_decoration_manager_v1_t::proxy_create_wrapper()
8822 {
8823  return {*this, construct_proxy_wrapper_tag()};
8824 }
8825 
8826 const std::string zxdg_decoration_manager_v1_t::interface_name = "zxdg_decoration_manager_v1";
8827 
8828 zxdg_decoration_manager_v1_t::operator zxdg_decoration_manager_v1*() const
8829 {
8830  return reinterpret_cast<zxdg_decoration_manager_v1*> (c_ptr());
8831 }
8832 
8834 {
8835  proxy_t p = marshal_constructor(1U, &zxdg_toplevel_decoration_v1_interface, nullptr, toplevel.proxy_has_object() ? reinterpret_cast<wl_object*>(toplevel.c_ptr()) : nullptr);
8837 }
8838 
8839 
8840 int zxdg_decoration_manager_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
8841 {
8842  return 0;
8843 }
8844 
8845 zxdg_toplevel_decoration_v1_t::zxdg_toplevel_decoration_v1_t(const proxy_t &p)
8846  : proxy_t(p)
8847 {
8849  {
8850  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
8851  set_destroy_opcode(0U);
8852  }
8853  set_interface(&zxdg_toplevel_decoration_v1_interface);
8854  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8855  { return zxdg_toplevel_decoration_v1_t(p); });
8856 }
8857 
8858 zxdg_toplevel_decoration_v1_t::zxdg_toplevel_decoration_v1_t()
8859 {
8860  set_interface(&zxdg_toplevel_decoration_v1_interface);
8861  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8862  { return zxdg_toplevel_decoration_v1_t(p); });
8863 }
8864 
8865 zxdg_toplevel_decoration_v1_t::zxdg_toplevel_decoration_v1_t(zxdg_toplevel_decoration_v1 *p, wrapper_type t)
8866  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8868  {
8869  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
8870  set_destroy_opcode(0U);
8871  }
8872  set_interface(&zxdg_toplevel_decoration_v1_interface);
8873  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8874  { return zxdg_toplevel_decoration_v1_t(p); });
8875 }
8876 
8877 zxdg_toplevel_decoration_v1_t::zxdg_toplevel_decoration_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
8878  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8879  set_interface(&zxdg_toplevel_decoration_v1_interface);
8880  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8881  { return zxdg_toplevel_decoration_v1_t(p); });
8882 }
8883 
8884 zxdg_toplevel_decoration_v1_t zxdg_toplevel_decoration_v1_t::proxy_create_wrapper()
8885 {
8886  return {*this, construct_proxy_wrapper_tag()};
8887 }
8888 
8889 const std::string zxdg_toplevel_decoration_v1_t::interface_name = "zxdg_toplevel_decoration_v1";
8890 
8891 zxdg_toplevel_decoration_v1_t::operator zxdg_toplevel_decoration_v1*() const
8892 {
8893  return reinterpret_cast<zxdg_toplevel_decoration_v1*> (c_ptr());
8894 }
8895 
8896 void zxdg_toplevel_decoration_v1_t::set_mode(zxdg_toplevel_decoration_v1_mode const& mode)
8897 {
8898  marshal(1U, static_cast<uint32_t>(mode));
8899 }
8900 
8901 
8903 {
8904  marshal(2U);
8905 }
8906 
8907 
8908 std::function<void(zxdg_toplevel_decoration_v1_mode)> &zxdg_toplevel_decoration_v1_t::on_configure()
8909 {
8910  return std::static_pointer_cast<events_t>(get_events())->configure;
8911 }
8912 
8913 int zxdg_toplevel_decoration_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
8914 {
8915  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
8916  switch(opcode)
8917  {
8918  case 0:
8919  if(events->configure) events->configure(zxdg_toplevel_decoration_v1_mode(args[0].get<uint32_t>()));
8920  break;
8921  }
8922  return 0;
8923 }
8924 
8925 
8926 
8927 zxdg_exporter_v1_t::zxdg_exporter_v1_t(const proxy_t &p)
8928  : proxy_t(p)
8929 {
8931  {
8932  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
8933  set_destroy_opcode(0U);
8934  }
8935  set_interface(&zxdg_exporter_v1_interface);
8936  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8937  { return zxdg_exporter_v1_t(p); });
8938 }
8939 
8940 zxdg_exporter_v1_t::zxdg_exporter_v1_t()
8941 {
8942  set_interface(&zxdg_exporter_v1_interface);
8943  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8944  { return zxdg_exporter_v1_t(p); });
8945 }
8946 
8947 zxdg_exporter_v1_t::zxdg_exporter_v1_t(zxdg_exporter_v1 *p, wrapper_type t)
8948  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
8950  {
8951  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
8952  set_destroy_opcode(0U);
8953  }
8954  set_interface(&zxdg_exporter_v1_interface);
8955  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8956  { return zxdg_exporter_v1_t(p); });
8957 }
8958 
8959 zxdg_exporter_v1_t::zxdg_exporter_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
8960  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
8961  set_interface(&zxdg_exporter_v1_interface);
8962  set_copy_constructor([] (const proxy_t &p) -> proxy_t
8963  { return zxdg_exporter_v1_t(p); });
8964 }
8965 
8966 zxdg_exporter_v1_t zxdg_exporter_v1_t::proxy_create_wrapper()
8967 {
8968  return {*this, construct_proxy_wrapper_tag()};
8969 }
8970 
8971 const std::string zxdg_exporter_v1_t::interface_name = "zxdg_exporter_v1";
8972 
8973 zxdg_exporter_v1_t::operator zxdg_exporter_v1*() const
8974 {
8975  return reinterpret_cast<zxdg_exporter_v1*> (c_ptr());
8976 }
8977 
8979 {
8980  proxy_t p = marshal_constructor(1U, &zxdg_exported_v1_interface, nullptr, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr);
8981  return zxdg_exported_v1_t(p);
8982 }
8983 
8984 
8985 int zxdg_exporter_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
8986 {
8987  return 0;
8988 }
8989 
8990 zxdg_importer_v1_t::zxdg_importer_v1_t(const proxy_t &p)
8991  : proxy_t(p)
8992 {
8994  {
8995  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
8996  set_destroy_opcode(0U);
8997  }
8998  set_interface(&zxdg_importer_v1_interface);
8999  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9000  { return zxdg_importer_v1_t(p); });
9001 }
9002 
9003 zxdg_importer_v1_t::zxdg_importer_v1_t()
9004 {
9005  set_interface(&zxdg_importer_v1_interface);
9006  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9007  { return zxdg_importer_v1_t(p); });
9008 }
9009 
9010 zxdg_importer_v1_t::zxdg_importer_v1_t(zxdg_importer_v1 *p, wrapper_type t)
9011  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9013  {
9014  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9015  set_destroy_opcode(0U);
9016  }
9017  set_interface(&zxdg_importer_v1_interface);
9018  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9019  { return zxdg_importer_v1_t(p); });
9020 }
9021 
9022 zxdg_importer_v1_t::zxdg_importer_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
9023  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9024  set_interface(&zxdg_importer_v1_interface);
9025  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9026  { return zxdg_importer_v1_t(p); });
9027 }
9028 
9029 zxdg_importer_v1_t zxdg_importer_v1_t::proxy_create_wrapper()
9030 {
9031  return {*this, construct_proxy_wrapper_tag()};
9032 }
9033 
9034 const std::string zxdg_importer_v1_t::interface_name = "zxdg_importer_v1";
9035 
9036 zxdg_importer_v1_t::operator zxdg_importer_v1*() const
9037 {
9038  return reinterpret_cast<zxdg_importer_v1*> (c_ptr());
9039 }
9040 
9042 {
9043  proxy_t p = marshal_constructor(1U, &zxdg_imported_v1_interface, nullptr, handle);
9044  return zxdg_imported_v1_t(p);
9045 }
9046 
9047 
9048 int zxdg_importer_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
9049 {
9050  return 0;
9051 }
9052 
9053 zxdg_exported_v1_t::zxdg_exported_v1_t(const proxy_t &p)
9054  : proxy_t(p)
9055 {
9057  {
9058  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9059  set_destroy_opcode(0U);
9060  }
9061  set_interface(&zxdg_exported_v1_interface);
9062  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9063  { return zxdg_exported_v1_t(p); });
9064 }
9065 
9066 zxdg_exported_v1_t::zxdg_exported_v1_t()
9067 {
9068  set_interface(&zxdg_exported_v1_interface);
9069  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9070  { return zxdg_exported_v1_t(p); });
9071 }
9072 
9073 zxdg_exported_v1_t::zxdg_exported_v1_t(zxdg_exported_v1 *p, wrapper_type t)
9074  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9076  {
9077  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9078  set_destroy_opcode(0U);
9079  }
9080  set_interface(&zxdg_exported_v1_interface);
9081  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9082  { return zxdg_exported_v1_t(p); });
9083 }
9084 
9085 zxdg_exported_v1_t::zxdg_exported_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
9086  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9087  set_interface(&zxdg_exported_v1_interface);
9088  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9089  { return zxdg_exported_v1_t(p); });
9090 }
9091 
9092 zxdg_exported_v1_t zxdg_exported_v1_t::proxy_create_wrapper()
9093 {
9094  return {*this, construct_proxy_wrapper_tag()};
9095 }
9096 
9097 const std::string zxdg_exported_v1_t::interface_name = "zxdg_exported_v1";
9098 
9099 zxdg_exported_v1_t::operator zxdg_exported_v1*() const
9100 {
9101  return reinterpret_cast<zxdg_exported_v1*> (c_ptr());
9102 }
9103 
9104 std::function<void(std::string)> &zxdg_exported_v1_t::on_handle()
9105 {
9106  return std::static_pointer_cast<events_t>(get_events())->handle;
9107 }
9108 
9109 int zxdg_exported_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
9110 {
9111  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
9112  switch(opcode)
9113  {
9114  case 0:
9115  if(events->handle) events->handle(args[0].get<std::string>());
9116  break;
9117  }
9118  return 0;
9119 }
9120 
9121 zxdg_imported_v1_t::zxdg_imported_v1_t(const proxy_t &p)
9122  : proxy_t(p)
9123 {
9125  {
9126  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9127  set_destroy_opcode(0U);
9128  }
9129  set_interface(&zxdg_imported_v1_interface);
9130  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9131  { return zxdg_imported_v1_t(p); });
9132 }
9133 
9134 zxdg_imported_v1_t::zxdg_imported_v1_t()
9135 {
9136  set_interface(&zxdg_imported_v1_interface);
9137  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9138  { return zxdg_imported_v1_t(p); });
9139 }
9140 
9141 zxdg_imported_v1_t::zxdg_imported_v1_t(zxdg_imported_v1 *p, wrapper_type t)
9142  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9144  {
9145  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9146  set_destroy_opcode(0U);
9147  }
9148  set_interface(&zxdg_imported_v1_interface);
9149  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9150  { return zxdg_imported_v1_t(p); });
9151 }
9152 
9153 zxdg_imported_v1_t::zxdg_imported_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
9154  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9155  set_interface(&zxdg_imported_v1_interface);
9156  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9157  { return zxdg_imported_v1_t(p); });
9158 }
9159 
9160 zxdg_imported_v1_t zxdg_imported_v1_t::proxy_create_wrapper()
9161 {
9162  return {*this, construct_proxy_wrapper_tag()};
9163 }
9164 
9165 const std::string zxdg_imported_v1_t::interface_name = "zxdg_imported_v1";
9166 
9167 zxdg_imported_v1_t::operator zxdg_imported_v1*() const
9168 {
9169  return reinterpret_cast<zxdg_imported_v1*> (c_ptr());
9170 }
9171 
9173 {
9174  marshal(1U, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr);
9175 }
9176 
9177 
9178 std::function<void()> &zxdg_imported_v1_t::on_destroyed()
9179 {
9180  return std::static_pointer_cast<events_t>(get_events())->destroyed;
9181 }
9182 
9183 int zxdg_imported_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
9184 {
9185  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
9186  switch(opcode)
9187  {
9188  case 0:
9189  if(events->destroyed) events->destroyed();
9190  break;
9191  }
9192  return 0;
9193 }
9194 
9195 zxdg_exporter_v2_t::zxdg_exporter_v2_t(const proxy_t &p)
9196  : proxy_t(p)
9197 {
9199  {
9200  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9201  set_destroy_opcode(0U);
9202  }
9203  set_interface(&zxdg_exporter_v2_interface);
9204  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9205  { return zxdg_exporter_v2_t(p); });
9206 }
9207 
9208 zxdg_exporter_v2_t::zxdg_exporter_v2_t()
9209 {
9210  set_interface(&zxdg_exporter_v2_interface);
9211  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9212  { return zxdg_exporter_v2_t(p); });
9213 }
9214 
9215 zxdg_exporter_v2_t::zxdg_exporter_v2_t(zxdg_exporter_v2 *p, wrapper_type t)
9216  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9218  {
9219  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9220  set_destroy_opcode(0U);
9221  }
9222  set_interface(&zxdg_exporter_v2_interface);
9223  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9224  { return zxdg_exporter_v2_t(p); });
9225 }
9226 
9227 zxdg_exporter_v2_t::zxdg_exporter_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
9228  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9229  set_interface(&zxdg_exporter_v2_interface);
9230  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9231  { return zxdg_exporter_v2_t(p); });
9232 }
9233 
9234 zxdg_exporter_v2_t zxdg_exporter_v2_t::proxy_create_wrapper()
9235 {
9236  return {*this, construct_proxy_wrapper_tag()};
9237 }
9238 
9239 const std::string zxdg_exporter_v2_t::interface_name = "zxdg_exporter_v2";
9240 
9241 zxdg_exporter_v2_t::operator zxdg_exporter_v2*() const
9242 {
9243  return reinterpret_cast<zxdg_exporter_v2*> (c_ptr());
9244 }
9245 
9247 {
9248  proxy_t p = marshal_constructor(1U, &zxdg_exported_v2_interface, nullptr, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr);
9249  return zxdg_exported_v2_t(p);
9250 }
9251 
9252 
9253 int zxdg_exporter_v2_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
9254 {
9255  return 0;
9256 }
9257 
9258 
9259 zxdg_importer_v2_t::zxdg_importer_v2_t(const proxy_t &p)
9260  : proxy_t(p)
9261 {
9263  {
9264  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9265  set_destroy_opcode(0U);
9266  }
9267  set_interface(&zxdg_importer_v2_interface);
9268  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9269  { return zxdg_importer_v2_t(p); });
9270 }
9271 
9272 zxdg_importer_v2_t::zxdg_importer_v2_t()
9273 {
9274  set_interface(&zxdg_importer_v2_interface);
9275  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9276  { return zxdg_importer_v2_t(p); });
9277 }
9278 
9279 zxdg_importer_v2_t::zxdg_importer_v2_t(zxdg_importer_v2 *p, wrapper_type t)
9280  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9282  {
9283  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9284  set_destroy_opcode(0U);
9285  }
9286  set_interface(&zxdg_importer_v2_interface);
9287  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9288  { return zxdg_importer_v2_t(p); });
9289 }
9290 
9291 zxdg_importer_v2_t::zxdg_importer_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
9292  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9293  set_interface(&zxdg_importer_v2_interface);
9294  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9295  { return zxdg_importer_v2_t(p); });
9296 }
9297 
9298 zxdg_importer_v2_t zxdg_importer_v2_t::proxy_create_wrapper()
9299 {
9300  return {*this, construct_proxy_wrapper_tag()};
9301 }
9302 
9303 const std::string zxdg_importer_v2_t::interface_name = "zxdg_importer_v2";
9304 
9305 zxdg_importer_v2_t::operator zxdg_importer_v2*() const
9306 {
9307  return reinterpret_cast<zxdg_importer_v2*> (c_ptr());
9308 }
9309 
9311 {
9312  proxy_t p = marshal_constructor(1U, &zxdg_imported_v2_interface, nullptr, handle);
9313  return zxdg_imported_v2_t(p);
9314 }
9315 
9316 
9317 int zxdg_importer_v2_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
9318 {
9319  return 0;
9320 }
9321 
9322 zxdg_exported_v2_t::zxdg_exported_v2_t(const proxy_t &p)
9323  : proxy_t(p)
9324 {
9326  {
9327  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9328  set_destroy_opcode(0U);
9329  }
9330  set_interface(&zxdg_exported_v2_interface);
9331  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9332  { return zxdg_exported_v2_t(p); });
9333 }
9334 
9335 zxdg_exported_v2_t::zxdg_exported_v2_t()
9336 {
9337  set_interface(&zxdg_exported_v2_interface);
9338  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9339  { return zxdg_exported_v2_t(p); });
9340 }
9341 
9342 zxdg_exported_v2_t::zxdg_exported_v2_t(zxdg_exported_v2 *p, wrapper_type t)
9343  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9345  {
9346  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9347  set_destroy_opcode(0U);
9348  }
9349  set_interface(&zxdg_exported_v2_interface);
9350  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9351  { return zxdg_exported_v2_t(p); });
9352 }
9353 
9354 zxdg_exported_v2_t::zxdg_exported_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
9355  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9356  set_interface(&zxdg_exported_v2_interface);
9357  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9358  { return zxdg_exported_v2_t(p); });
9359 }
9360 
9361 zxdg_exported_v2_t zxdg_exported_v2_t::proxy_create_wrapper()
9362 {
9363  return {*this, construct_proxy_wrapper_tag()};
9364 }
9365 
9366 const std::string zxdg_exported_v2_t::interface_name = "zxdg_exported_v2";
9367 
9368 zxdg_exported_v2_t::operator zxdg_exported_v2*() const
9369 {
9370  return reinterpret_cast<zxdg_exported_v2*> (c_ptr());
9371 }
9372 
9373 std::function<void(std::string)> &zxdg_exported_v2_t::on_handle()
9374 {
9375  return std::static_pointer_cast<events_t>(get_events())->handle;
9376 }
9377 
9378 int zxdg_exported_v2_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
9379 {
9380  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
9381  switch(opcode)
9382  {
9383  case 0:
9384  if(events->handle) events->handle(args[0].get<std::string>());
9385  break;
9386  }
9387  return 0;
9388 }
9389 
9390 zxdg_imported_v2_t::zxdg_imported_v2_t(const proxy_t &p)
9391  : proxy_t(p)
9392 {
9394  {
9395  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9396  set_destroy_opcode(0U);
9397  }
9398  set_interface(&zxdg_imported_v2_interface);
9399  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9400  { return zxdg_imported_v2_t(p); });
9401 }
9402 
9403 zxdg_imported_v2_t::zxdg_imported_v2_t()
9404 {
9405  set_interface(&zxdg_imported_v2_interface);
9406  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9407  { return zxdg_imported_v2_t(p); });
9408 }
9409 
9410 zxdg_imported_v2_t::zxdg_imported_v2_t(zxdg_imported_v2 *p, wrapper_type t)
9411  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9413  {
9414  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9415  set_destroy_opcode(0U);
9416  }
9417  set_interface(&zxdg_imported_v2_interface);
9418  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9419  { return zxdg_imported_v2_t(p); });
9420 }
9421 
9422 zxdg_imported_v2_t::zxdg_imported_v2_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
9423  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9424  set_interface(&zxdg_imported_v2_interface);
9425  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9426  { return zxdg_imported_v2_t(p); });
9427 }
9428 
9429 zxdg_imported_v2_t zxdg_imported_v2_t::proxy_create_wrapper()
9430 {
9431  return {*this, construct_proxy_wrapper_tag()};
9432 }
9433 
9434 const std::string zxdg_imported_v2_t::interface_name = "zxdg_imported_v2";
9435 
9436 zxdg_imported_v2_t::operator zxdg_imported_v2*() const
9437 {
9438  return reinterpret_cast<zxdg_imported_v2*> (c_ptr());
9439 }
9440 
9442 {
9443  marshal(1U, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr);
9444 }
9445 
9446 
9447 std::function<void()> &zxdg_imported_v2_t::on_destroyed()
9448 {
9449  return std::static_pointer_cast<events_t>(get_events())->destroyed;
9450 }
9451 
9452 int zxdg_imported_v2_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
9453 {
9454  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
9455  switch(opcode)
9456  {
9457  case 0:
9458  if(events->destroyed) events->destroyed();
9459  break;
9460  }
9461  return 0;
9462 }
9463 
9464 
9465 zxdg_output_manager_v1_t::zxdg_output_manager_v1_t(const proxy_t &p)
9466  : proxy_t(p)
9467 {
9469  {
9470  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9471  set_destroy_opcode(0U);
9472  }
9473  set_interface(&zxdg_output_manager_v1_interface);
9474  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9475  { return zxdg_output_manager_v1_t(p); });
9476 }
9477 
9478 zxdg_output_manager_v1_t::zxdg_output_manager_v1_t()
9479 {
9480  set_interface(&zxdg_output_manager_v1_interface);
9481  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9482  { return zxdg_output_manager_v1_t(p); });
9483 }
9484 
9485 zxdg_output_manager_v1_t::zxdg_output_manager_v1_t(zxdg_output_manager_v1 *p, wrapper_type t)
9486  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9488  {
9489  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9490  set_destroy_opcode(0U);
9491  }
9492  set_interface(&zxdg_output_manager_v1_interface);
9493  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9494  { return zxdg_output_manager_v1_t(p); });
9495 }
9496 
9497 zxdg_output_manager_v1_t::zxdg_output_manager_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
9498  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9499  set_interface(&zxdg_output_manager_v1_interface);
9500  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9501  { return zxdg_output_manager_v1_t(p); });
9502 }
9503 
9504 zxdg_output_manager_v1_t zxdg_output_manager_v1_t::proxy_create_wrapper()
9505 {
9506  return {*this, construct_proxy_wrapper_tag()};
9507 }
9508 
9509 const std::string zxdg_output_manager_v1_t::interface_name = "zxdg_output_manager_v1";
9510 
9511 zxdg_output_manager_v1_t::operator zxdg_output_manager_v1*() const
9512 {
9513  return reinterpret_cast<zxdg_output_manager_v1*> (c_ptr());
9514 }
9515 
9517 {
9518  proxy_t p = marshal_constructor(1U, &zxdg_output_v1_interface, nullptr, output.proxy_has_object() ? reinterpret_cast<wl_object*>(output.c_ptr()) : nullptr);
9519  return zxdg_output_v1_t(p);
9520 }
9521 
9522 
9523 int zxdg_output_manager_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
9524 {
9525  return 0;
9526 }
9527 
9528 zxdg_output_v1_t::zxdg_output_v1_t(const proxy_t &p)
9529  : proxy_t(p)
9530 {
9532  {
9533  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9534  set_destroy_opcode(0U);
9535  }
9536  set_interface(&zxdg_output_v1_interface);
9537  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9538  { return zxdg_output_v1_t(p); });
9539 }
9540 
9541 zxdg_output_v1_t::zxdg_output_v1_t()
9542 {
9543  set_interface(&zxdg_output_v1_interface);
9544  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9545  { return zxdg_output_v1_t(p); });
9546 }
9547 
9548 zxdg_output_v1_t::zxdg_output_v1_t(zxdg_output_v1 *p, wrapper_type t)
9549  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9551  {
9552  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9553  set_destroy_opcode(0U);
9554  }
9555  set_interface(&zxdg_output_v1_interface);
9556  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9557  { return zxdg_output_v1_t(p); });
9558 }
9559 
9560 zxdg_output_v1_t::zxdg_output_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
9561  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9562  set_interface(&zxdg_output_v1_interface);
9563  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9564  { return zxdg_output_v1_t(p); });
9565 }
9566 
9567 zxdg_output_v1_t zxdg_output_v1_t::proxy_create_wrapper()
9568 {
9569  return {*this, construct_proxy_wrapper_tag()};
9570 }
9571 
9572 const std::string zxdg_output_v1_t::interface_name = "zxdg_output_v1";
9573 
9574 zxdg_output_v1_t::operator zxdg_output_v1*() const
9575 {
9576  return reinterpret_cast<zxdg_output_v1*> (c_ptr());
9577 }
9578 
9579 std::function<void(int32_t, int32_t)> &zxdg_output_v1_t::on_logical_position()
9580 {
9581  return std::static_pointer_cast<events_t>(get_events())->logical_position;
9582 }
9583 
9584 std::function<void(int32_t, int32_t)> &zxdg_output_v1_t::on_logical_size()
9585 {
9586  return std::static_pointer_cast<events_t>(get_events())->logical_size;
9587 }
9588 
9589 std::function<void()> &zxdg_output_v1_t::on_done()
9590 {
9591  return std::static_pointer_cast<events_t>(get_events())->done;
9592 }
9593 
9594 std::function<void(std::string)> &zxdg_output_v1_t::on_name()
9595 {
9596  return std::static_pointer_cast<events_t>(get_events())->name;
9597 }
9598 
9599 std::function<void(std::string)> &zxdg_output_v1_t::on_description()
9600 {
9601  return std::static_pointer_cast<events_t>(get_events())->description;
9602 }
9603 
9604 int zxdg_output_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
9605 {
9606  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
9607  switch(opcode)
9608  {
9609  case 0:
9610  if(events->logical_position) events->logical_position(args[0].get<int32_t>(), args[1].get<int32_t>());
9611  break;
9612  case 1:
9613  if(events->logical_size) events->logical_size(args[0].get<int32_t>(), args[1].get<int32_t>());
9614  break;
9615  case 2:
9616  if(events->done) events->done();
9617  break;
9618  case 3:
9619  if(events->name) events->name(args[0].get<std::string>());
9620  break;
9621  case 4:
9622  if(events->description) events->description(args[0].get<std::string>());
9623  break;
9624  }
9625  return 0;
9626 }
9627 
9628 zxdg_shell_v6_t::zxdg_shell_v6_t(const proxy_t &p)
9629  : proxy_t(p)
9630 {
9632  {
9633  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9634  set_destroy_opcode(0U);
9635  }
9636  set_interface(&zxdg_shell_v6_interface);
9637  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9638  { return zxdg_shell_v6_t(p); });
9639 }
9640 
9641 zxdg_shell_v6_t::zxdg_shell_v6_t()
9642 {
9643  set_interface(&zxdg_shell_v6_interface);
9644  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9645  { return zxdg_shell_v6_t(p); });
9646 }
9647 
9648 zxdg_shell_v6_t::zxdg_shell_v6_t(zxdg_shell_v6 *p, wrapper_type t)
9649  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9651  {
9652  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9653  set_destroy_opcode(0U);
9654  }
9655  set_interface(&zxdg_shell_v6_interface);
9656  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9657  { return zxdg_shell_v6_t(p); });
9658 }
9659 
9660 zxdg_shell_v6_t::zxdg_shell_v6_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
9661  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9662  set_interface(&zxdg_shell_v6_interface);
9663  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9664  { return zxdg_shell_v6_t(p); });
9665 }
9666 
9667 zxdg_shell_v6_t zxdg_shell_v6_t::proxy_create_wrapper()
9668 {
9669  return {*this, construct_proxy_wrapper_tag()};
9670 }
9671 
9672 const std::string zxdg_shell_v6_t::interface_name = "zxdg_shell_v6";
9673 
9674 zxdg_shell_v6_t::operator zxdg_shell_v6*() const
9675 {
9676  return reinterpret_cast<zxdg_shell_v6*> (c_ptr());
9677 }
9678 
9680 {
9681  proxy_t p = marshal_constructor(1U, &zxdg_positioner_v6_interface, nullptr);
9682  return zxdg_positioner_v6_t(p);
9683 }
9684 
9685 
9687 {
9688  proxy_t p = marshal_constructor(2U, &zxdg_surface_v6_interface, nullptr, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr);
9689  return zxdg_surface_v6_t(p);
9690 }
9691 
9692 
9693 void zxdg_shell_v6_t::pong(uint32_t serial)
9694 {
9695  marshal(3U, serial);
9696 }
9697 
9698 
9699 std::function<void(uint32_t)> &zxdg_shell_v6_t::on_ping()
9700 {
9701  return std::static_pointer_cast<events_t>(get_events())->ping;
9702 }
9703 
9704 int zxdg_shell_v6_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
9705 {
9706  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
9707  switch(opcode)
9708  {
9709  case 0:
9710  if(events->ping) events->ping(args[0].get<uint32_t>());
9711  break;
9712  }
9713  return 0;
9714 }
9715 
9716 
9717 zxdg_positioner_v6_t::zxdg_positioner_v6_t(const proxy_t &p)
9718  : proxy_t(p)
9719 {
9721  {
9722  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9723  set_destroy_opcode(0U);
9724  }
9725  set_interface(&zxdg_positioner_v6_interface);
9726  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9727  { return zxdg_positioner_v6_t(p); });
9728 }
9729 
9730 zxdg_positioner_v6_t::zxdg_positioner_v6_t()
9731 {
9732  set_interface(&zxdg_positioner_v6_interface);
9733  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9734  { return zxdg_positioner_v6_t(p); });
9735 }
9736 
9737 zxdg_positioner_v6_t::zxdg_positioner_v6_t(zxdg_positioner_v6 *p, wrapper_type t)
9738  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9740  {
9741  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9742  set_destroy_opcode(0U);
9743  }
9744  set_interface(&zxdg_positioner_v6_interface);
9745  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9746  { return zxdg_positioner_v6_t(p); });
9747 }
9748 
9749 zxdg_positioner_v6_t::zxdg_positioner_v6_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
9750  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9751  set_interface(&zxdg_positioner_v6_interface);
9752  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9753  { return zxdg_positioner_v6_t(p); });
9754 }
9755 
9756 zxdg_positioner_v6_t zxdg_positioner_v6_t::proxy_create_wrapper()
9757 {
9758  return {*this, construct_proxy_wrapper_tag()};
9759 }
9760 
9761 const std::string zxdg_positioner_v6_t::interface_name = "zxdg_positioner_v6";
9762 
9763 zxdg_positioner_v6_t::operator zxdg_positioner_v6*() const
9764 {
9765  return reinterpret_cast<zxdg_positioner_v6*> (c_ptr());
9766 }
9767 
9768 void zxdg_positioner_v6_t::set_size(int32_t width, int32_t height)
9769 {
9770  marshal(1U, width, height);
9771 }
9772 
9773 
9774 void zxdg_positioner_v6_t::set_anchor_rect(int32_t x, int32_t y, int32_t width, int32_t height)
9775 {
9776  marshal(2U, x, y, width, height);
9777 }
9778 
9779 
9780 void zxdg_positioner_v6_t::set_anchor(zxdg_positioner_v6_anchor const& anchor)
9781 {
9782  marshal(3U, static_cast<uint32_t>(anchor));
9783 }
9784 
9785 
9786 void zxdg_positioner_v6_t::set_gravity(zxdg_positioner_v6_gravity const& gravity)
9787 {
9788  marshal(4U, static_cast<uint32_t>(gravity));
9789 }
9790 
9791 
9793 {
9794  marshal(5U, static_cast<uint32_t>(constraint_adjustment));
9795 }
9796 
9797 
9798 void zxdg_positioner_v6_t::set_offset(int32_t x, int32_t y)
9799 {
9800  marshal(6U, x, y);
9801 }
9802 
9803 
9804 int zxdg_positioner_v6_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
9805 {
9806  return 0;
9807 }
9808 
9809 const bitfield<4, 37> zxdg_positioner_v6_anchor::none{0};
9810 const bitfield<4, 37> zxdg_positioner_v6_anchor::top{1};
9811 const bitfield<4, 37> zxdg_positioner_v6_anchor::bottom{2};
9812 const bitfield<4, 37> zxdg_positioner_v6_anchor::left{4};
9813 const bitfield<4, 37> zxdg_positioner_v6_anchor::right{8};
9814 
9815 const bitfield<4, 38> zxdg_positioner_v6_gravity::none{0};
9816 const bitfield<4, 38> zxdg_positioner_v6_gravity::top{1};
9817 const bitfield<4, 38> zxdg_positioner_v6_gravity::bottom{2};
9818 const bitfield<4, 38> zxdg_positioner_v6_gravity::left{4};
9819 const bitfield<4, 38> zxdg_positioner_v6_gravity::right{8};
9820 
9821 const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::none{0};
9822 const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::slide_x{1};
9823 const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::slide_y{2};
9824 const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::flip_x{4};
9825 const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::flip_y{8};
9826 const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::resize_x{16};
9827 const bitfield<6, 39> zxdg_positioner_v6_constraint_adjustment::resize_y{32};
9828 
9829 
9830 zxdg_surface_v6_t::zxdg_surface_v6_t(const proxy_t &p)
9831  : proxy_t(p)
9832 {
9834  {
9835  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9836  set_destroy_opcode(0U);
9837  }
9838  set_interface(&zxdg_surface_v6_interface);
9839  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9840  { return zxdg_surface_v6_t(p); });
9841 }
9842 
9843 zxdg_surface_v6_t::zxdg_surface_v6_t()
9844 {
9845  set_interface(&zxdg_surface_v6_interface);
9846  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9847  { return zxdg_surface_v6_t(p); });
9848 }
9849 
9850 zxdg_surface_v6_t::zxdg_surface_v6_t(zxdg_surface_v6 *p, wrapper_type t)
9851  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9853  {
9854  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9855  set_destroy_opcode(0U);
9856  }
9857  set_interface(&zxdg_surface_v6_interface);
9858  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9859  { return zxdg_surface_v6_t(p); });
9860 }
9861 
9862 zxdg_surface_v6_t::zxdg_surface_v6_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
9863  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9864  set_interface(&zxdg_surface_v6_interface);
9865  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9866  { return zxdg_surface_v6_t(p); });
9867 }
9868 
9869 zxdg_surface_v6_t zxdg_surface_v6_t::proxy_create_wrapper()
9870 {
9871  return {*this, construct_proxy_wrapper_tag()};
9872 }
9873 
9874 const std::string zxdg_surface_v6_t::interface_name = "zxdg_surface_v6";
9875 
9876 zxdg_surface_v6_t::operator zxdg_surface_v6*() const
9877 {
9878  return reinterpret_cast<zxdg_surface_v6*> (c_ptr());
9879 }
9880 
9882 {
9883  proxy_t p = marshal_constructor(1U, &zxdg_toplevel_v6_interface, nullptr);
9884  return zxdg_toplevel_v6_t(p);
9885 }
9886 
9887 
9889 {
9890  proxy_t p = marshal_constructor(2U, &zxdg_popup_v6_interface, nullptr, parent.proxy_has_object() ? reinterpret_cast<wl_object*>(parent.c_ptr()) : nullptr, positioner.proxy_has_object() ? reinterpret_cast<wl_object*>(positioner.c_ptr()) : nullptr);
9891  return zxdg_popup_v6_t(p);
9892 }
9893 
9894 
9895 void zxdg_surface_v6_t::set_window_geometry(int32_t x, int32_t y, int32_t width, int32_t height)
9896 {
9897  marshal(3U, x, y, width, height);
9898 }
9899 
9900 
9902 {
9903  marshal(4U, serial);
9904 }
9905 
9906 
9907 std::function<void(uint32_t)> &zxdg_surface_v6_t::on_configure()
9908 {
9909  return std::static_pointer_cast<events_t>(get_events())->configure;
9910 }
9911 
9912 int zxdg_surface_v6_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
9913 {
9914  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
9915  switch(opcode)
9916  {
9917  case 0:
9918  if(events->configure) events->configure(args[0].get<uint32_t>());
9919  break;
9920  }
9921  return 0;
9922 }
9923 
9924 
9925 zxdg_toplevel_v6_t::zxdg_toplevel_v6_t(const proxy_t &p)
9926  : proxy_t(p)
9927 {
9929  {
9930  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9931  set_destroy_opcode(0U);
9932  }
9933  set_interface(&zxdg_toplevel_v6_interface);
9934  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9935  { return zxdg_toplevel_v6_t(p); });
9936 }
9937 
9938 zxdg_toplevel_v6_t::zxdg_toplevel_v6_t()
9939 {
9940  set_interface(&zxdg_toplevel_v6_interface);
9941  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9942  { return zxdg_toplevel_v6_t(p); });
9943 }
9944 
9945 zxdg_toplevel_v6_t::zxdg_toplevel_v6_t(zxdg_toplevel_v6 *p, wrapper_type t)
9946  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
9948  {
9949  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
9950  set_destroy_opcode(0U);
9951  }
9952  set_interface(&zxdg_toplevel_v6_interface);
9953  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9954  { return zxdg_toplevel_v6_t(p); });
9955 }
9956 
9957 zxdg_toplevel_v6_t::zxdg_toplevel_v6_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
9958  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
9959  set_interface(&zxdg_toplevel_v6_interface);
9960  set_copy_constructor([] (const proxy_t &p) -> proxy_t
9961  { return zxdg_toplevel_v6_t(p); });
9962 }
9963 
9964 zxdg_toplevel_v6_t zxdg_toplevel_v6_t::proxy_create_wrapper()
9965 {
9966  return {*this, construct_proxy_wrapper_tag()};
9967 }
9968 
9969 const std::string zxdg_toplevel_v6_t::interface_name = "zxdg_toplevel_v6";
9970 
9971 zxdg_toplevel_v6_t::operator zxdg_toplevel_v6*() const
9972 {
9973  return reinterpret_cast<zxdg_toplevel_v6*> (c_ptr());
9974 }
9975 
9977 {
9978  marshal(1U, parent.proxy_has_object() ? reinterpret_cast<wl_object*>(parent.c_ptr()) : nullptr);
9979 }
9980 
9981 
9982 void zxdg_toplevel_v6_t::set_title(std::string const& title)
9983 {
9984  marshal(2U, title);
9985 }
9986 
9987 
9988 void zxdg_toplevel_v6_t::set_app_id(std::string const& app_id)
9989 {
9990  marshal(3U, app_id);
9991 }
9992 
9993 
9994 void zxdg_toplevel_v6_t::show_window_menu(seat_t const& seat, uint32_t serial, int32_t x, int32_t y)
9995 {
9996  marshal(4U, seat.proxy_has_object() ? reinterpret_cast<wl_object*>(seat.c_ptr()) : nullptr, serial, x, y);
9997 }
9998 
9999 
10000 void zxdg_toplevel_v6_t::move(seat_t const& seat, uint32_t serial)
10001 {
10002  marshal(5U, seat.proxy_has_object() ? reinterpret_cast<wl_object*>(seat.c_ptr()) : nullptr, serial);
10003 }
10004 
10005 
10006 void zxdg_toplevel_v6_t::resize(seat_t const& seat, uint32_t serial, zxdg_toplevel_v6_resize_edge const& edges)
10007 {
10008  marshal(6U, seat.proxy_has_object() ? reinterpret_cast<wl_object*>(seat.c_ptr()) : nullptr, serial, static_cast<uint32_t>(edges));
10009 }
10010 
10011 
10012 void zxdg_toplevel_v6_t::set_max_size(int32_t width, int32_t height)
10013 {
10014  marshal(7U, width, height);
10015 }
10016 
10017 
10018 void zxdg_toplevel_v6_t::set_min_size(int32_t width, int32_t height)
10019 {
10020  marshal(8U, width, height);
10021 }
10022 
10023 
10025 {
10026  marshal(9U);
10027 }
10028 
10029 
10031 {
10032  marshal(10U);
10033 }
10034 
10035 
10037 {
10038  marshal(11U, output.proxy_has_object() ? reinterpret_cast<wl_object*>(output.c_ptr()) : nullptr);
10039 }
10040 
10041 
10042 void zxdg_toplevel_v6_t::unset_fullscreen()
10043 {
10044  marshal(12U);
10045 }
10046 
10047 
10049 {
10050  marshal(13U);
10051 }
10052 
10053 
10054 std::function<void(int32_t, int32_t, array_t)> &zxdg_toplevel_v6_t::on_configure()
10055 {
10056  return std::static_pointer_cast<events_t>(get_events())->configure;
10057 }
10058 
10059 std::function<void()> &zxdg_toplevel_v6_t::on_close()
10060 {
10061  return std::static_pointer_cast<events_t>(get_events())->close;
10062 }
10063 
10064 int zxdg_toplevel_v6_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
10065 {
10066  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
10067  switch(opcode)
10068  {
10069  case 0:
10070  if(events->configure) events->configure(args[0].get<int32_t>(), args[1].get<int32_t>(), args[2].get<array_t>());
10071  break;
10072  case 1:
10073  if(events->close) events->close();
10074  break;
10075  }
10076  return 0;
10077 }
10078 const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::none{0};
10079 const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::top{1};
10080 const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::bottom{2};
10081 const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::left{4};
10082 const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::top_left{5};
10083 const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::bottom_left{6};
10084 const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::right{8};
10085 const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::top_right{9};
10086 const bitfield<4, 41> zxdg_toplevel_v6_resize_edge::bottom_right{10};
10087 
10088 
10089 
10090 zxdg_popup_v6_t::zxdg_popup_v6_t(const proxy_t &p)
10091  : proxy_t(p)
10092 {
10094  {
10095  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
10096  set_destroy_opcode(0U);
10097  }
10098  set_interface(&zxdg_popup_v6_interface);
10099  set_copy_constructor([] (const proxy_t &p) -> proxy_t
10100  { return zxdg_popup_v6_t(p); });
10101 }
10102 
10103 zxdg_popup_v6_t::zxdg_popup_v6_t()
10104 {
10105  set_interface(&zxdg_popup_v6_interface);
10106  set_copy_constructor([] (const proxy_t &p) -> proxy_t
10107  { return zxdg_popup_v6_t(p); });
10108 }
10109 
10110 zxdg_popup_v6_t::zxdg_popup_v6_t(zxdg_popup_v6 *p, wrapper_type t)
10111  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
10113  {
10114  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
10115  set_destroy_opcode(0U);
10116  }
10117  set_interface(&zxdg_popup_v6_interface);
10118  set_copy_constructor([] (const proxy_t &p) -> proxy_t
10119  { return zxdg_popup_v6_t(p); });
10120 }
10121 
10122 zxdg_popup_v6_t::zxdg_popup_v6_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
10123  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
10124  set_interface(&zxdg_popup_v6_interface);
10125  set_copy_constructor([] (const proxy_t &p) -> proxy_t
10126  { return zxdg_popup_v6_t(p); });
10127 }
10128 
10129 zxdg_popup_v6_t zxdg_popup_v6_t::proxy_create_wrapper()
10130 {
10131  return {*this, construct_proxy_wrapper_tag()};
10132 }
10133 
10134 const std::string zxdg_popup_v6_t::interface_name = "zxdg_popup_v6";
10135 
10136 zxdg_popup_v6_t::operator zxdg_popup_v6*() const
10137 {
10138  return reinterpret_cast<zxdg_popup_v6*> (c_ptr());
10139 }
10140 
10141 void zxdg_popup_v6_t::grab(seat_t const& seat, uint32_t serial)
10142 {
10143  marshal(1U, seat.proxy_has_object() ? reinterpret_cast<wl_object*>(seat.c_ptr()) : nullptr, serial);
10144 }
10145 
10146 
10147 std::function<void(int32_t, int32_t, int32_t, int32_t)> &zxdg_popup_v6_t::on_configure()
10148 {
10149  return std::static_pointer_cast<events_t>(get_events())->configure;
10150 }
10151 
10152 std::function<void()> &zxdg_popup_v6_t::on_popup_done()
10153 {
10154  return std::static_pointer_cast<events_t>(get_events())->popup_done;
10155 }
10156 
10157 int zxdg_popup_v6_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
10158 {
10159  std::shared_ptr<events_t> events = std::static_pointer_cast<events_t>(e);
10160  switch(opcode)
10161  {
10162  case 0:
10163  if(events->configure) events->configure(args[0].get<int32_t>(), args[1].get<int32_t>(), args[2].get<int32_t>(), args[3].get<int32_t>());
10164  break;
10165  case 1:
10166  if(events->popup_done) events->popup_done();
10167  break;
10168  }
10169  return 0;
10170 }
10171 
10172 
10173 zwp_xwayland_keyboard_grab_manager_v1_t::zwp_xwayland_keyboard_grab_manager_v1_t(const proxy_t &p)
10174  : proxy_t(p)
10175 {
10177  {
10178  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
10179  set_destroy_opcode(0U);
10180  }
10181  set_interface(&zwp_xwayland_keyboard_grab_manager_v1_interface);
10182  set_copy_constructor([] (const proxy_t &p) -> proxy_t
10184 }
10185 
10186 zwp_xwayland_keyboard_grab_manager_v1_t::zwp_xwayland_keyboard_grab_manager_v1_t()
10187 {
10188  set_interface(&zwp_xwayland_keyboard_grab_manager_v1_interface);
10189  set_copy_constructor([] (const proxy_t &p) -> proxy_t
10191 }
10192 
10193 zwp_xwayland_keyboard_grab_manager_v1_t::zwp_xwayland_keyboard_grab_manager_v1_t(zwp_xwayland_keyboard_grab_manager_v1 *p, wrapper_type t)
10194  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
10196  {
10197  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
10198  set_destroy_opcode(0U);
10199  }
10200  set_interface(&zwp_xwayland_keyboard_grab_manager_v1_interface);
10201  set_copy_constructor([] (const proxy_t &p) -> proxy_t
10203 }
10204 
10205 zwp_xwayland_keyboard_grab_manager_v1_t::zwp_xwayland_keyboard_grab_manager_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
10206  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
10207  set_interface(&zwp_xwayland_keyboard_grab_manager_v1_interface);
10208  set_copy_constructor([] (const proxy_t &p) -> proxy_t
10210 }
10211 
10212 zwp_xwayland_keyboard_grab_manager_v1_t zwp_xwayland_keyboard_grab_manager_v1_t::proxy_create_wrapper()
10213 {
10214  return {*this, construct_proxy_wrapper_tag()};
10215 }
10216 
10217 const std::string zwp_xwayland_keyboard_grab_manager_v1_t::interface_name = "zwp_xwayland_keyboard_grab_manager_v1";
10218 
10219 zwp_xwayland_keyboard_grab_manager_v1_t::operator zwp_xwayland_keyboard_grab_manager_v1*() const
10220 {
10221  return reinterpret_cast<zwp_xwayland_keyboard_grab_manager_v1*> (c_ptr());
10222 }
10223 
10225 {
10226  proxy_t p = marshal_constructor(1U, &zwp_xwayland_keyboard_grab_v1_interface, nullptr, surface.proxy_has_object() ? reinterpret_cast<wl_object*>(surface.c_ptr()) : nullptr, seat.proxy_has_object() ? reinterpret_cast<wl_object*>(seat.c_ptr()) : nullptr);
10228 }
10229 
10230 
10231 int zwp_xwayland_keyboard_grab_manager_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
10232 {
10233  return 0;
10234 }
10235 
10236 zwp_xwayland_keyboard_grab_v1_t::zwp_xwayland_keyboard_grab_v1_t(const proxy_t &p)
10237  : proxy_t(p)
10238 {
10240  {
10241  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
10242  set_destroy_opcode(0U);
10243  }
10244  set_interface(&zwp_xwayland_keyboard_grab_v1_interface);
10245  set_copy_constructor([] (const proxy_t &p) -> proxy_t
10246  { return zwp_xwayland_keyboard_grab_v1_t(p); });
10247 }
10248 
10249 zwp_xwayland_keyboard_grab_v1_t::zwp_xwayland_keyboard_grab_v1_t()
10250 {
10251  set_interface(&zwp_xwayland_keyboard_grab_v1_interface);
10252  set_copy_constructor([] (const proxy_t &p) -> proxy_t
10253  { return zwp_xwayland_keyboard_grab_v1_t(p); });
10254 }
10255 
10256 zwp_xwayland_keyboard_grab_v1_t::zwp_xwayland_keyboard_grab_v1_t(zwp_xwayland_keyboard_grab_v1 *p, wrapper_type t)
10257  : proxy_t(reinterpret_cast<wl_proxy*> (p), t){
10259  {
10260  set_events(std::shared_ptr<detail::events_base_t>(new events_t), dispatcher);
10261  set_destroy_opcode(0U);
10262  }
10263  set_interface(&zwp_xwayland_keyboard_grab_v1_interface);
10264  set_copy_constructor([] (const proxy_t &p) -> proxy_t
10265  { return zwp_xwayland_keyboard_grab_v1_t(p); });
10266 }
10267 
10268 zwp_xwayland_keyboard_grab_v1_t::zwp_xwayland_keyboard_grab_v1_t(proxy_t const &wrapped_proxy, construct_proxy_wrapper_tag /*unused*/)
10269  : proxy_t(wrapped_proxy, construct_proxy_wrapper_tag()){
10270  set_interface(&zwp_xwayland_keyboard_grab_v1_interface);
10271  set_copy_constructor([] (const proxy_t &p) -> proxy_t
10272  { return zwp_xwayland_keyboard_grab_v1_t(p); });
10273 }
10274 
10275 zwp_xwayland_keyboard_grab_v1_t zwp_xwayland_keyboard_grab_v1_t::proxy_create_wrapper()
10276 {
10277  return {*this, construct_proxy_wrapper_tag()};
10278 }
10279 
10280 const std::string zwp_xwayland_keyboard_grab_v1_t::interface_name = "zwp_xwayland_keyboard_grab_v1";
10281 
10282 zwp_xwayland_keyboard_grab_v1_t::operator zwp_xwayland_keyboard_grab_v1*() const
10283 {
10284  return reinterpret_cast<zwp_xwayland_keyboard_grab_v1*> (c_ptr());
10285 }
10286 
10287 int zwp_xwayland_keyboard_grab_v1_t::dispatcher(uint32_t opcode, const std::vector<any>& args, const std::shared_ptr<detail::events_base_t>& e)
10288 {
10289  return 0;
10290 }
10291 
10292 
content for a wl_surface
compositor output region
Represents a protocol object on the client side.
bool proxy_has_object() const
Check whether this wrapper actually wraps an object.
uint32_t get_version() const
Get the protocol object version of a proxy object.
wrapper_type get_wrapper_type() const
Get the type of a proxy object.
wl_proxy * c_ptr() const
Get a pointer to the underlying C struct.
group of input devices
touchscreen input device
std::function< void(std::string)> & on_done()
the exported activation token
void set_serial(uint32_t serial, seat_t const &seat)
specifies the seat and serial of the activating event
void set_app_id(std::string const &app_id)
specifies the application being activated
void set_surface(surface_t const &surface)
specifies the application being activated
void activate(std::string const &token, surface_t const &surface)
notify new interaction being available
xdg_activation_token_v1_t get_activation_token()
requests a token
std::function< void()> & on_unconfined()
pointer unconfined
std::function< void()> & on_confined()
pointer confined
void set_region(region_t const &region)
set a new confine region
void release()
release the wl_fullscreen_shell interface
zwp_fullscreen_shell_mode_feedback_v1_t present_surface_for_mode(surface_t const &surface, output_t const &output, int32_t framerate)
present surface for display at a particular mode
std::function< void(zwp_fullscreen_shell_v1_capability)> & on_capability()
advertises a capability of the compositor
void present_surface(surface_t const &surface, zwp_fullscreen_shell_v1_present_method const &method, output_t const &output)
present surface for display
zwp_idle_inhibitor_v1_t create_inhibitor(surface_t const &surface)
create a new inhibitor object
context object for inhibiting idle behavior
std::function< void(uint32_t, uint32_t)> & on_invoke_action()
void modifiers(uint32_t serial, uint32_t mods_depressed, uint32_t mods_latched, uint32_t mods_locked, uint32_t group)
forward modifiers event
void preedit_string(uint32_t serial, std::string const &text, std::string const &commit)
pre-edit string
void preedit_styling(uint32_t index, uint32_t length, zwp_text_input_v1_preedit_style const &style)
pre-edit styling
std::function< void(std::string, uint32_t, uint32_t)> & on_surrounding_text()
surrounding text event
void cursor_position(int32_t index, int32_t anchor)
set cursor to a new position
void text_direction(uint32_t serial, uint32_t direction)
std::function< void(zwp_text_input_v1_content_hint, zwp_text_input_v1_content_purpose)> & on_content_type()
void language(uint32_t serial, std::string const &language)
void delete_surrounding_text(int32_t index, uint32_t length)
delete text
void keysym(uint32_t serial, uint32_t time, uint32_t sym, keyboard_key_state const &state, uint32_t modifiers)
keysym
void commit_string(uint32_t serial, std::string const &text)
commit string
void key(uint32_t serial, uint32_t time, uint32_t key, keyboard_key_state const &state)
forward key event
std::function< void(std::string)> & on_preferred_language()
std::function< void(zwp_input_method_context_v1_t)> & on_activate()
activate event
std::function< void(zwp_input_method_context_v1_t)> & on_deactivate()
deactivate event
interface for implementing keyboards
zwp_input_panel_surface_v1_t get_input_panel_surface(surface_t const &surface)
context object for high-resolution input timestamps
zwp_input_timestamps_v1_t get_keyboard_timestamps(keyboard_t const &keyboard)
subscribe to high-resolution keyboard timestamp events
zwp_input_timestamps_v1_t get_touch_timestamps(touch_t const &touch)
subscribe to high-resolution touch timestamp events
zwp_input_timestamps_v1_t get_pointer_timestamps(pointer_t const &pointer)
subscribe to high-resolution pointer timestamp events
std::function< void(uint32_t, uint32_t, uint32_t)> & on_timestamp()
high-resolution timestamp event
zwp_keyboard_shortcuts_inhibitor_v1_t inhibit_shortcuts(surface_t const &surface, seat_t const &seat)
create a new keyboard shortcuts inhibitor object
context object for keyboard shortcuts inhibitor
std::function< void()> & on_inactive()
shortcuts are restored
std::function< void()> & on_active()
shortcuts are inhibited
parameters for creating a dmabuf-based wl_buffer
buffer_t create_immed(int32_t width, int32_t height, uint32_t format, zwp_linux_buffer_params_v1_flags const &flags)
immediately create a wl_buffer from the given dmabufs
std::function< void()> & on_failed()
buffer creation failed
void add(int fd, uint32_t plane_idx, uint32_t offset, uint32_t stride, uint32_t modifier_hi, uint32_t modifier_lo)
add a dmabuf to the temporary set
std::function< void(buffer_t)> & on_created()
buffer creation succeeded
bool can_create_immed() const
Check whether the create_immed function is available with the currently bound version of the protocol...
void create(int32_t width, int32_t height, uint32_t format, zwp_linux_buffer_params_v1_flags const &flags)
create a wl_buffer from the given dmabufs
static constexpr std::uint32_t create_immed_since_version
Minimum protocol version required for the create_immed function.
std::function< void(int)> & on_fenced_release()
release buffer with fence
std::function< void()> & on_immediate_release()
release buffer immediately
std::function< void()> & on_tranche_done()
a preference tranche has been sent
std::function< void(array_t)> & on_main_device()
preferred main device
std::function< void(zwp_linux_dmabuf_feedback_v1_tranche_flags)> & on_tranche_flags()
tranche flags
std::function< void()> & on_done()
all feedback has been sent
std::function< void(array_t)> & on_tranche_formats()
supported buffer format modifier
std::function< void(int, uint32_t)> & on_format_table()
format and modifier table
std::function< void(array_t)> & on_tranche_target_device()
target device
factory for creating dmabuf-based wl_buffers
static constexpr std::uint32_t get_default_feedback_since_version
Minimum protocol version required for the get_default_feedback function.
std::function< void(uint32_t)> & on_format()
supported buffer format
bool can_get_default_feedback() const
Check whether the get_default_feedback function is available with the currently bound version of the ...
bool can_get_surface_feedback() const
Check whether the get_surface_feedback function is available with the currently bound version of the ...
zwp_linux_dmabuf_feedback_v1_t get_surface_feedback(surface_t const &surface)
get feedback for a surface
zwp_linux_dmabuf_feedback_v1_t get_default_feedback()
get default feedback
std::function< void(uint32_t, uint32_t, uint32_t)> & on_modifier()
supported buffer format modifier
static constexpr std::uint32_t get_surface_feedback_since_version
Minimum protocol version required for the get_surface_feedback function.
zwp_linux_buffer_params_v1_t create_params()
create a temporary object for buffer parameters
zwp_linux_surface_synchronization_v1_t get_synchronization(surface_t const &surface)
extend surface interface for explicit synchronization
zwp_linux_buffer_release_v1_t get_release()
release fence for last-attached buffer
receive relative pointer motion events
void set_cursor_position_hint(double surface_x, double surface_y)
set the pointer cursor position hint
void set_region(region_t const &region)
set a new lock region
std::function< void()> & on_unlocked()
lock deactivation event
std::function< void()> & on_locked()
lock activation event
zwp_confined_pointer_v1_t confine_pointer(surface_t const &surface, pointer_t const &pointer, region_t const &region, zwp_pointer_constraints_v1_lifetime const &lifetime)
confine pointer to a region
zwp_locked_pointer_v1_t lock_pointer(surface_t const &surface, pointer_t const &pointer, region_t const &region, zwp_pointer_constraints_v1_lifetime const &lifetime)
lock pointer to a position
std::function< void(uint32_t, uint32_t, int32_t)> & on_end()
multi-finger hold end
std::function< void(uint32_t, uint32_t, surface_t, uint32_t)> & on_begin()
multi-finger hold begin
std::function< void(uint32_t, uint32_t, int32_t)> & on_end()
multi-finger pinch end
std::function< void(uint32_t, double, double, double, double)> & on_update()
multi-finger pinch motion
std::function< void(uint32_t, uint32_t, surface_t, uint32_t)> & on_begin()
multi-finger pinch begin
std::function< void(uint32_t, uint32_t, surface_t, uint32_t)> & on_begin()
multi-finger swipe begin
std::function< void(uint32_t, uint32_t, int32_t)> & on_end()
multi-finger swipe end
std::function< void(uint32_t, double, double)> & on_update()
multi-finger swipe motion
static constexpr std::uint32_t get_hold_gesture_since_version
Minimum protocol version required for the get_hold_gesture function.
static constexpr std::uint32_t release_since_version
Minimum protocol version required for the release function.
zwp_pointer_gesture_swipe_v1_t get_swipe_gesture(pointer_t const &pointer)
get swipe gesture
zwp_pointer_gesture_pinch_v1_t get_pinch_gesture(pointer_t const &pointer)
get pinch gesture
void release()
destroy the pointer gesture object
bool can_release() const
Check whether the release function is available with the currently bound version of the protocol.
bool can_get_hold_gesture() const
Check whether the get_hold_gesture function is available with the currently bound version of the prot...
zwp_pointer_gesture_hold_v1_t get_hold_gesture(pointer_t const &pointer)
get hold gesture
zwp_primary_selection_device_v1_t get_device(seat_t const &seat)
create a new primary selection device
zwp_primary_selection_source_v1_t create_source()
create a new primary selection source
offer to transfer primary selection contents
void receive(std::string const &mime_type, int fd)
request that the data is transferred
std::function< void(std::string)> & on_offer()
advertise offered mime type
offer to replace the contents of the primary selection
std::function< void()> & on_cancelled()
request for primary selection contents was canceled
void offer(std::string const &mime_type)
add an offered mime type
std::function< void(std::string, int)> & on_send()
send the primary selection contents
zwp_relative_pointer_v1_t get_relative_pointer(pointer_t const &pointer)
get a relative pointer object
std::function< void(uint32_t, uint32_t, double, double, double, double)> & on_relative_motion()
relative pointer motion
controller object for graphic tablet devices
zwp_tablet_seat_v1_t get_tablet_seat(seat_t const &seat)
get the tablet seat
controller object for graphic tablet devices
zwp_tablet_seat_v2_t get_tablet_seat(seat_t const &seat)
get the tablet seat
std::function< void()> & on_done()
tablet group description events sequence complete
std::function< void(uint32_t)> & on_modes()
mode-switch ability announced
std::function< void(zwp_tablet_pad_strip_v2_t)> & on_strip()
strip announced
std::function< void(array_t)> & on_buttons()
buttons announced
std::function< void(uint32_t, uint32_t, uint32_t)> & on_mode_switch()
mode switch event
std::function< void(zwp_tablet_pad_ring_v2_t)> & on_ring()
ring announced
std::function< void(double)> & on_angle()
angle changed
void set_feedback(std::string const &description, uint32_t serial)
set compositor feedback
std::function< void(uint32_t)> & on_frame()
end of a ring event sequence
std::function< void(zwp_tablet_pad_ring_v2_source)> & on_source()
ring event source
std::function< void()> & on_stop()
interaction stopped
std::function< void(zwp_tablet_pad_strip_v2_source)> & on_source()
strip event source
std::function< void(uint32_t)> & on_frame()
end of a strip event sequence
std::function< void(uint32_t)> & on_position()
position changed
void set_feedback(std::string const &description, uint32_t serial)
set compositor feedback
std::function< void()> & on_stop()
interaction stopped
a set of buttons, rings and strips
std::function< void(uint32_t, surface_t)> & on_leave()
enter event
std::function< void(uint32_t, zwp_tablet_v2_t, surface_t)> & on_enter()
enter event
std::function< void(std::string)> & on_path()
path to the device
void set_feedback(uint32_t button, std::string const &description, uint32_t serial)
set compositor feedback
std::function< void()> & on_done()
pad description event sequence complete
std::function< void(uint32_t, uint32_t, zwp_tablet_pad_v2_button_state)> & on_button()
physical button state
std::function< void(uint32_t)> & on_buttons()
buttons announced
std::function< void()> & on_removed()
pad removed event
std::function< void(zwp_tablet_pad_group_v2_t)> & on_group()
group announced
controller object for graphic tablet devices of a seat
std::function< void(zwp_tablet_tool_v1_t)> & on_tool_added()
a new tool has been used with a tablet
std::function< void(zwp_tablet_v1_t)> & on_tablet_added()
new device notification
controller object for graphic tablet devices of a seat
std::function< void(zwp_tablet_pad_v2_t)> & on_pad_added()
new pad notification
std::function< void(zwp_tablet_tool_v2_t)> & on_tool_added()
a new tool has been used with a tablet
std::function< void(zwp_tablet_v2_t)> & on_tablet_added()
new device notification
void set_cursor(uint32_t serial, surface_t const &surface, int32_t hotspot_x, int32_t hotspot_y)
set the tablet tool's surface
std::function< void(double, double)> & on_motion()
motion event
std::function< void(int32_t)> & on_slider()
Slider position change event.
std::function< void(uint32_t, uint32_t, zwp_tablet_tool_v1_button_state)> & on_button()
button event
std::function< void()> & on_proximity_out()
proximity out event
std::function< void()> & on_up()
tablet tool is no longer making contact
std::function< void(uint32_t)> & on_frame()
frame event
std::function< void(uint32_t)> & on_distance()
distance change event
std::function< void(uint32_t)> & on_down()
tablet tool is making contact
std::function< void(zwp_tablet_tool_v1_capability)> & on_capability()
tool capability notification
std::function< void(int32_t)> & on_rotation()
z-rotation change event
std::function< void()> & on_done()
tool description events sequence complete
std::function< void(zwp_tablet_tool_v1_type)> & on_type()
tool type
std::function< void(int32_t, int32_t)> & on_wheel()
Wheel delta event.
std::function< void()> & on_removed()
tool removed
std::function< void(uint32_t, uint32_t)> & on_hardware_id_wacom()
hardware id notification in Wacom's format
std::function< void(uint32_t, uint32_t)> & on_hardware_serial()
unique hardware serial number of the tool
std::function< void(uint32_t)> & on_pressure()
pressure change event
std::function< void(uint32_t, zwp_tablet_v1_t, surface_t)> & on_proximity_in()
proximity in event
std::function< void(int32_t, int32_t)> & on_tilt()
tilt change event
std::function< void()> & on_removed()
tool removed
std::function< void(uint32_t, uint32_t)> & on_hardware_serial()
unique hardware serial number of the tool
std::function< void(double)> & on_rotation()
z-rotation change event
std::function< void(uint32_t)> & on_down()
tablet tool is making contact
std::function< void(double, double)> & on_tilt()
tilt change event
std::function< void(double, int32_t)> & on_wheel()
Wheel delta event.
std::function< void(int32_t)> & on_slider()
Slider position change event.
std::function< void()> & on_up()
tablet tool is no longer making contact
std::function< void(zwp_tablet_tool_v2_type)> & on_type()
tool type
std::function< void(double, double)> & on_motion()
motion event
std::function< void()> & on_done()
tool description events sequence complete
std::function< void(uint32_t, uint32_t, zwp_tablet_tool_v2_button_state)> & on_button()
button event
std::function< void(uint32_t)> & on_frame()
frame event
std::function< void(zwp_tablet_tool_v2_capability)> & on_capability()
tool capability notification
std::function< void(uint32_t, uint32_t)> & on_hardware_id_wacom()
hardware id notification in Wacom's format
std::function< void(uint32_t)> & on_distance()
distance change event
void set_cursor(uint32_t serial, surface_t const &surface, int32_t hotspot_x, int32_t hotspot_y)
set the tablet tool's surface
std::function< void(uint32_t)> & on_pressure()
pressure change event
std::function< void()> & on_proximity_out()
proximity out event
std::function< void(uint32_t, zwp_tablet_v2_t, surface_t)> & on_proximity_in()
proximity in event
std::function< void(std::string)> & on_name()
tablet device name
std::function< void(uint32_t, uint32_t)> & on_id()
tablet device USB vendor/product id
std::function< void()> & on_done()
tablet description events sequence complete
std::function< void(std::string)> & on_path()
path to the device
std::function< void()> & on_removed()
tablet removed event
std::function< void()> & on_removed()
tablet removed event
std::function< void(uint32_t, uint32_t)> & on_id()
tablet device USB vendor/product id
std::function< void(std::string)> & on_path()
path to the device
std::function< void()> & on_done()
tablet description events sequence complete
std::function< void(std::string)> & on_name()
tablet device name
zwp_text_input_v1_t create_text_input()
create text input
zwp_text_input_v3_t get_text_input(seat_t const &seat)
create a new text input object
std::function< void(uint32_t, std::string, std::string)> & on_preedit_string()
pre-edit
void deactivate(seat_t const &seat)
request deactivation
void activate(seat_t const &seat, surface_t const &surface)
request activation
std::function< void(uint32_t, uint32_t, zwp_text_input_v1_preedit_style)> & on_preedit_styling()
pre-edit styling
void set_surrounding_text(std::string const &text, uint32_t cursor, uint32_t anchor)
sets the surrounding text
std::function< void(surface_t)> & on_enter()
enter event
std::function< void(uint32_t, std::string)> & on_language()
language
std::function< void(int32_t)> & on_preedit_cursor()
pre-edit cursor
std::function< void(array_t)> & on_modifiers_map()
modifiers map
void set_content_type(zwp_text_input_v1_content_hint const &hint, zwp_text_input_v1_content_purpose const &purpose)
set content purpose and hint
std::function< void(int32_t, uint32_t)> & on_delete_surrounding_text()
delete surrounding text
void invoke_action(uint32_t button, uint32_t index)
void set_preferred_language(std::string const &language)
sets preferred language
void set_cursor_rectangle(int32_t x, int32_t y, int32_t width, int32_t height)
std::function< void(uint32_t)> & on_input_panel_state()
state of the input panel
std::function< void(uint32_t, std::string)> & on_commit_string()
commit
std::function< void(uint32_t, zwp_text_input_v1_text_direction)> & on_text_direction()
text direction
std::function< void(uint32_t, uint32_t, uint32_t, keyboard_key_state, uint32_t)> & on_keysym()
keysym
std::function< void(int32_t, int32_t)> & on_cursor_position()
set cursor to new position
std::function< void()> & on_leave()
leave event
std::function< void(surface_t)> & on_leave()
leave event
void disable()
Disable text input on a surface.
void enable()
Request text input to be enabled.
void set_content_type(zwp_text_input_v3_content_hint const &hint, zwp_text_input_v3_content_purpose const &purpose)
set content purpose and hint
std::function< void(std::string)> & on_commit_string()
text commit
void set_surrounding_text(std::string const &text, int32_t cursor, int32_t anchor)
sets the surrounding text
std::function< void(uint32_t)> & on_done()
apply changes
void set_text_change_cause(zwp_text_input_v3_change_cause const &cause)
indicates the cause of surrounding text change
std::function< void(uint32_t, uint32_t)> & on_delete_surrounding_text()
delete surrounding text
std::function< void(surface_t)> & on_enter()
enter event
std::function< void(std::string, int32_t, int32_t)> & on_preedit_string()
pre-edit
void set_cursor_rectangle(int32_t x, int32_t y, int32_t width, int32_t height)
set cursor position
zwp_xwayland_keyboard_grab_v1_t grab_keyboard(surface_t const &surface, seat_t const &seat)
grab the keyboard to a surface
zxdg_toplevel_decoration_v1_t get_toplevel_decoration(xdg_toplevel_t const &toplevel)
create a new toplevel decoration object
std::function< void(std::string)> & on_handle()
the exported surface handle
std::function< void(std::string)> & on_handle()
the exported surface handle
zxdg_exported_v1_t _export(surface_t const &surface)
export a surface
zxdg_exported_v2_t export_toplevel(surface_t const &surface)
export a toplevel surface
std::function< void()> & on_destroyed()
the imported surface handle has been destroyed
void set_parent_of(surface_t const &surface)
set as the parent of some surface
std::function< void()> & on_destroyed()
the imported surface handle has been destroyed
void set_parent_of(surface_t const &surface)
set as the parent of some surface
zxdg_imported_v1_t import(std::string const &handle)
import a surface
zxdg_imported_v2_t import_toplevel(std::string const &handle)
import a toplevel surface
zxdg_output_v1_t get_xdg_output(output_t const &output)
create an xdg output from a wl_output
compositor logical output region
std::function< void(std::string)> & on_description()
human-readable description of this output
std::function< void()> & on_done()
all information about the output have been sent
std::function< void(int32_t, int32_t)> & on_logical_position()
position of the output within the global compositor space
std::function< void(int32_t, int32_t)> & on_logical_size()
size of the output in the global compositor space
std::function< void(std::string)> & on_name()
name of this output
short-lived, popup surfaces for menus
void grab(seat_t const &seat, uint32_t serial)
make the popup take an explicit grab
std::function< void()> & on_popup_done()
popup interaction is done
std::function< void(int32_t, int32_t, int32_t, int32_t)> & on_configure()
configure the popup surface
void set_anchor(zxdg_positioner_v6_anchor const &anchor)
set anchor rectangle anchor edges
void set_offset(int32_t x, int32_t y)
set surface position offset
void set_size(int32_t width, int32_t height)
set the size of the to-be positioned rectangle
void set_anchor_rect(int32_t x, int32_t y, int32_t width, int32_t height)
set the anchor rectangle within the parent surface
void set_gravity(zxdg_positioner_v6_gravity const &gravity)
set child surface gravity
void set_constraint_adjustment(zxdg_positioner_v6_constraint_adjustment const &constraint_adjustment)
set the adjustment to be done when constrained
void pong(uint32_t serial)
respond to a ping event
zxdg_positioner_v6_t create_positioner()
create a positioner object
std::function< void(uint32_t)> & on_ping()
check if the client is alive
zxdg_surface_v6_t get_xdg_surface(surface_t const &surface)
create a shell surface from a surface
desktop user interface surface base interface
zxdg_toplevel_v6_t get_toplevel()
assign the xdg_toplevel surface role
std::function< void(uint32_t)> & on_configure()
suggest a surface change
zxdg_popup_v6_t get_popup(zxdg_surface_v6_t const &parent, zxdg_positioner_v6_t const &positioner)
assign the xdg_popup surface role
void set_window_geometry(int32_t x, int32_t y, int32_t width, int32_t height)
set the new window geometry
void ack_configure(uint32_t serial)
ack a configure event
std::function< void(zxdg_toplevel_decoration_v1_mode)> & on_configure()
suggest a surface change
void set_mode(zxdg_toplevel_decoration_v1_mode const &mode)
set the decoration mode
void set_minimized()
set the window as minimized
void set_parent(zxdg_toplevel_v6_t const &parent)
set the parent of this surface
void set_fullscreen(output_t const &output)
set the window as fullscreen on a monitor
std::function< void(int32_t, int32_t, array_t)> & on_configure()
suggest a surface change
void show_window_menu(seat_t const &seat, uint32_t serial, int32_t x, int32_t y)
show the window menu
void set_title(std::string const &title)
set surface title
void resize(seat_t const &seat, uint32_t serial, zxdg_toplevel_v6_resize_edge const &edges)
start an interactive resize
void move(seat_t const &seat, uint32_t serial)
start an interactive move
void set_min_size(int32_t width, int32_t height)
set the minimum size
std::function< void()> & on_close()
surface wants to be closed
void set_max_size(int32_t width, int32_t height)
set the maximum size
void set_app_id(std::string const &app_id)
set application ID
static const wayland::detail::bitfield< 10, 23 > auto_completion
suggest word completions
static const wayland::detail::bitfield< 10, 23 > titlecase
prefer casing for titles and headings (can be language dependent)
static const wayland::detail::bitfield< 10, 23 > latin
just latin characters should be entered
static const wayland::detail::bitfield< 10, 23 > uppercase
prefer uppercase letters
static const wayland::detail::bitfield< 10, 23 > sensitive_data
typed text should not be stored
static const wayland::detail::bitfield< 10, 23 > lowercase
prefer lowercase letters
static const wayland::detail::bitfield< 10, 23 > auto_capitalization
switch to uppercase letters at the start of a sentence
static const wayland::detail::bitfield< 10, 23 > none
no special behaviour
static const wayland::detail::bitfield< 10, 23 > hidden_text
characters should be hidden
static const wayland::detail::bitfield< 10, 23 > _default
auto completion, correction and capitalization
static const wayland::detail::bitfield< 10, 23 > password
hidden and sensitive text
static const wayland::detail::bitfield< 10, 23 > multiline
the text input is multiline
static const wayland::detail::bitfield< 10, 23 > auto_correction
suggest word corrections
static const wayland::detail::bitfield< 10, 28 > spellcheck
suggest word corrections
static const wayland::detail::bitfield< 10, 28 > none
no special behavior
static const wayland::detail::bitfield< 10, 28 > titlecase
prefer casing for titles and headings (can be language dependent)
static const wayland::detail::bitfield< 10, 28 > uppercase
prefer uppercase letters
static const wayland::detail::bitfield< 10, 28 > lowercase
prefer lowercase letters
static const wayland::detail::bitfield< 10, 28 > completion
suggest word completions
static const wayland::detail::bitfield< 10, 28 > multiline
the text input is multiline
static const wayland::detail::bitfield< 10, 28 > latin
just Latin characters should be entered
static const wayland::detail::bitfield< 10, 28 > hidden_text
characters should be hidden
static const wayland::detail::bitfield< 10, 28 > sensitive_data
typed text should not be stored
static const wayland::detail::bitfield< 10, 28 > auto_capitalization
switch to uppercase letters at the start of a sentence