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