Debian Codegraph @

gtk-priv/h/gdk_window_impl_wayland_priv.h

raw
1 /* AUTOGENERATED, DO NOT EDIT DIRECTLY
2 * See gtk-priv/README.md for more information
3 *
4 * This file is part of gtk-layer-shell
5 *
6 * Copyright © 2010 Intel Corporation
7 * Copyright © 2024 gtk-priv/scripts/code.py
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation; either
12 * version 3 of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
18 *
19 * You should have received a copy of the GNU Lesser General Public License
20 * along with this program; if not, write to the Free Software Foundation,
21 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 */
23
24 #ifndef GDK_WINDOW_IMPL_WAYLAND_PRIV_H
25 #define GDK_WINDOW_IMPL_WAYLAND_PRIV_H
26
27 #include "common.h"
28
29 typedef struct _GdkWindowImplWayland GdkWindowImplWayland;
30
31 // Version ID 0
32 // Valid for GTK v3.22.0 - v3.22.15
33 struct _GdkWindowImplWayland_v3_22_0
34 {
35 struct _GdkWindowImpl_v3_22_0 parent_instance;
36 GdkWindow *wrapper;
37 struct {
38 GSList *outputs;
39 struct wl_surface *wl_surface;
40 struct zxdg_surface_v6 *xdg_surface;
41 struct zxdg_toplevel_v6 *xdg_toplevel;
42 struct zxdg_popup_v6 *xdg_popup;
43 struct gtk_surface1 *gtk_surface;
44 struct wl_subsurface *wl_subsurface;
45 struct wl_egl_window *egl_window;
46 struct wl_egl_window *dummy_egl_window;
47 struct zxdg_exported_v1 *xdg_exported;
48 } display_server;
49 EGLSurface egl_surface;
50 EGLSurface dummy_egl_surface;
51 unsigned int initial_configure_received : 1;
52 unsigned int mapped : 1;
53 unsigned int use_custom_surface : 1;
54 unsigned int pending_buffer_attached : 1;
55 unsigned int pending_commit : 1;
56 unsigned int awaiting_frame : 1;
57 GdkWindowTypeHint hint;
58 GdkWindow *transient_for;
59 GdkWindow *popup_parent;
60 PositionMethod position_method;
61 cairo_surface_t *staging_cairo_surface;
62 cairo_surface_t *committed_cairo_surface;
63 cairo_surface_t *backfill_cairo_surface;
64 int pending_buffer_offset_x;
65 int pending_buffer_offset_y;
66 gchar *title;
67 struct {
68 gboolean was_set;
69 gchar *application_id;
70 gchar *app_menu_path;
71 gchar *menubar_path;
72 gchar *window_object_path;
73 gchar *application_object_path;
74 gchar *unique_bus_name;
75 } application;
76 GdkGeometry geometry_hints;
77 GdkWindowHints geometry_mask;
78 GdkSeat *grab_input_seat;
79 gint64 pending_frame_counter;
80 guint32 scale;
81 int margin_left;
82 int margin_right;
83 int margin_top;
84 int margin_bottom;
85 gboolean margin_dirty;
86 int initial_fullscreen_monitor;
87 cairo_region_t *opaque_region;
88 gboolean opaque_region_dirty;
89 cairo_region_t *input_region;
90 gboolean input_region_dirty;
91 cairo_region_t *staged_updates_region;
92 int saved_width;
93 int saved_height;
94 gulong parent_surface_committed_handler;
95 struct {
96 GdkRectangle rect;
97 GdkGravity rect_anchor;
98 GdkGravity window_anchor;
99 GdkAnchorHints anchor_hints;
100 gint rect_anchor_dx;
101 gint rect_anchor_dy;
102 } pending_move_to_rect;
103 struct {
104 int width;
105 int height;
106 GdkWindowState state;
107 } pending;
108 struct {
109 GdkWaylandWindowExported callback;
110 gpointer user_data;
111 GDestroyNotify destroy_func;
112 } exported;
113 struct zxdg_imported_v1 *imported_transient_for;
114 };
115
116 // Version ID 1
117 // Diff from previous version:
118 // - GdkWaylandWindowExported callback;
119 // - gpointer user_data;
120 // - GDestroyNotify destroy_func;
121 // + char *handle;
122 // + int export_count;
123 // + GList *closures;
124 // + guint idle_source_id;
125 // Valid for GTK v3.22.16 - v3.22.17
126 struct _GdkWindowImplWayland_v3_22_16
127 {
128 struct _GdkWindowImpl_v3_22_0 parent_instance;
129 GdkWindow *wrapper;
130 struct {
131 GSList *outputs;
132 struct wl_surface *wl_surface;
133 struct zxdg_surface_v6 *xdg_surface;
134 struct zxdg_toplevel_v6 *xdg_toplevel;
135 struct zxdg_popup_v6 *xdg_popup;
136 struct gtk_surface1 *gtk_surface;
137 struct wl_subsurface *wl_subsurface;
138 struct wl_egl_window *egl_window;
139 struct wl_egl_window *dummy_egl_window;
140 struct zxdg_exported_v1 *xdg_exported;
141 } display_server;
142 EGLSurface egl_surface;
143 EGLSurface dummy_egl_surface;
144 unsigned int initial_configure_received : 1;
145 unsigned int mapped : 1;
146 unsigned int use_custom_surface : 1;
147 unsigned int pending_buffer_attached : 1;
148 unsigned int pending_commit : 1;
149 unsigned int awaiting_frame : 1;
150 GdkWindowTypeHint hint;
151 GdkWindow *transient_for;
152 GdkWindow *popup_parent;
153 PositionMethod position_method;
154 cairo_surface_t *staging_cairo_surface;
155 cairo_surface_t *committed_cairo_surface;
156 cairo_surface_t *backfill_cairo_surface;
157 int pending_buffer_offset_x;
158 int pending_buffer_offset_y;
159 gchar *title;
160 struct {
161 gboolean was_set;
162 gchar *application_id;
163 gchar *app_menu_path;
164 gchar *menubar_path;
165 gchar *window_object_path;
166 gchar *application_object_path;
167 gchar *unique_bus_name;
168 } application;
169 GdkGeometry geometry_hints;
170 GdkWindowHints geometry_mask;
171 GdkSeat *grab_input_seat;
172 gint64 pending_frame_counter;
173 guint32 scale;
174 int margin_left;
175 int margin_right;
176 int margin_top;
177 int margin_bottom;
178 gboolean margin_dirty;
179 int initial_fullscreen_monitor;
180 cairo_region_t *opaque_region;
181 gboolean opaque_region_dirty;
182 cairo_region_t *input_region;
183 gboolean input_region_dirty;
184 cairo_region_t *staged_updates_region;
185 int saved_width;
186 int saved_height;
187 gulong parent_surface_committed_handler;
188 struct {
189 GdkRectangle rect;
190 GdkGravity rect_anchor;
191 GdkGravity window_anchor;
192 GdkAnchorHints anchor_hints;
193 gint rect_anchor_dx;
194 gint rect_anchor_dy;
195 } pending_move_to_rect;
196 struct {
197 int width;
198 int height;
199 GdkWindowState state;
200 } pending;
201 struct {
202 char *handle;
203 int export_count;
204 GList *closures;
205 guint idle_source_id;
206 } exported;
207 struct zxdg_imported_v1 *imported_transient_for;
208 };
209
210 // Version ID 2
211 // Diff from previous version:
212 // + GHashTable *shortcuts_inhibitors;
213 // Valid for GTK v3.22.18 - v3.22.24
214 struct _GdkWindowImplWayland_v3_22_18
215 {
216 struct _GdkWindowImpl_v3_22_0 parent_instance;
217 GdkWindow *wrapper;
218 struct {
219 GSList *outputs;
220 struct wl_surface *wl_surface;
221 struct zxdg_surface_v6 *xdg_surface;
222 struct zxdg_toplevel_v6 *xdg_toplevel;
223 struct zxdg_popup_v6 *xdg_popup;
224 struct gtk_surface1 *gtk_surface;
225 struct wl_subsurface *wl_subsurface;
226 struct wl_egl_window *egl_window;
227 struct wl_egl_window *dummy_egl_window;
228 struct zxdg_exported_v1 *xdg_exported;
229 } display_server;
230 EGLSurface egl_surface;
231 EGLSurface dummy_egl_surface;
232 unsigned int initial_configure_received : 1;
233 unsigned int mapped : 1;
234 unsigned int use_custom_surface : 1;
235 unsigned int pending_buffer_attached : 1;
236 unsigned int pending_commit : 1;
237 unsigned int awaiting_frame : 1;
238 GdkWindowTypeHint hint;
239 GdkWindow *transient_for;
240 GdkWindow *popup_parent;
241 PositionMethod position_method;
242 cairo_surface_t *staging_cairo_surface;
243 cairo_surface_t *committed_cairo_surface;
244 cairo_surface_t *backfill_cairo_surface;
245 int pending_buffer_offset_x;
246 int pending_buffer_offset_y;
247 gchar *title;
248 struct {
249 gboolean was_set;
250 gchar *application_id;
251 gchar *app_menu_path;
252 gchar *menubar_path;
253 gchar *window_object_path;
254 gchar *application_object_path;
255 gchar *unique_bus_name;
256 } application;
257 GdkGeometry geometry_hints;
258 GdkWindowHints geometry_mask;
259 GdkSeat *grab_input_seat;
260 gint64 pending_frame_counter;
261 guint32 scale;
262 int margin_left;
263 int margin_right;
264 int margin_top;
265 int margin_bottom;
266 gboolean margin_dirty;
267 int initial_fullscreen_monitor;
268 cairo_region_t *opaque_region;
269 gboolean opaque_region_dirty;
270 cairo_region_t *input_region;
271 gboolean input_region_dirty;
272 cairo_region_t *staged_updates_region;
273 int saved_width;
274 int saved_height;
275 gulong parent_surface_committed_handler;
276 struct {
277 GdkRectangle rect;
278 GdkGravity rect_anchor;
279 GdkGravity window_anchor;
280 GdkAnchorHints anchor_hints;
281 gint rect_anchor_dx;
282 gint rect_anchor_dy;
283 } pending_move_to_rect;
284 struct {
285 int width;
286 int height;
287 GdkWindowState state;
288 } pending;
289 struct {
290 char *handle;
291 int export_count;
292 GList *closures;
293 guint idle_source_id;
294 } exported;
295 struct zxdg_imported_v1 *imported_transient_for;
296 GHashTable *shortcuts_inhibitors;
297 };
298
299 // Version ID 3
300 // Diff from previous version:
301 // + struct org_kde_kwin_server_decoration *server_decoration;
302 // Valid for GTK v3.22.25 - v3.22.29
303 struct _GdkWindowImplWayland_v3_22_25
304 {
305 struct _GdkWindowImpl_v3_22_0 parent_instance;
306 GdkWindow *wrapper;
307 struct {
308 GSList *outputs;
309 struct wl_surface *wl_surface;
310 struct zxdg_surface_v6 *xdg_surface;
311 struct zxdg_toplevel_v6 *xdg_toplevel;
312 struct zxdg_popup_v6 *xdg_popup;
313 struct gtk_surface1 *gtk_surface;
314 struct wl_subsurface *wl_subsurface;
315 struct wl_egl_window *egl_window;
316 struct wl_egl_window *dummy_egl_window;
317 struct zxdg_exported_v1 *xdg_exported;
318 struct org_kde_kwin_server_decoration *server_decoration;
319 } display_server;
320 EGLSurface egl_surface;
321 EGLSurface dummy_egl_surface;
322 unsigned int initial_configure_received : 1;
323 unsigned int mapped : 1;
324 unsigned int use_custom_surface : 1;
325 unsigned int pending_buffer_attached : 1;
326 unsigned int pending_commit : 1;
327 unsigned int awaiting_frame : 1;
328 GdkWindowTypeHint hint;
329 GdkWindow *transient_for;
330 GdkWindow *popup_parent;
331 PositionMethod position_method;
332 cairo_surface_t *staging_cairo_surface;
333 cairo_surface_t *committed_cairo_surface;
334 cairo_surface_t *backfill_cairo_surface;
335 int pending_buffer_offset_x;
336 int pending_buffer_offset_y;
337 gchar *title;
338 struct {
339 gboolean was_set;
340 gchar *application_id;
341 gchar *app_menu_path;
342 gchar *menubar_path;
343 gchar *window_object_path;
344 gchar *application_object_path;
345 gchar *unique_bus_name;
346 } application;
347 GdkGeometry geometry_hints;
348 GdkWindowHints geometry_mask;
349 GdkSeat *grab_input_seat;
350 gint64 pending_frame_counter;
351 guint32 scale;
352 int margin_left;
353 int margin_right;
354 int margin_top;
355 int margin_bottom;
356 gboolean margin_dirty;
357 int initial_fullscreen_monitor;
358 cairo_region_t *opaque_region;
359 gboolean opaque_region_dirty;
360 cairo_region_t *input_region;
361 gboolean input_region_dirty;
362 cairo_region_t *staged_updates_region;
363 int saved_width;
364 int saved_height;
365 gulong parent_surface_committed_handler;
366 struct {
367 GdkRectangle rect;
368 GdkGravity rect_anchor;
369 GdkGravity window_anchor;
370 GdkAnchorHints anchor_hints;
371 gint rect_anchor_dx;
372 gint rect_anchor_dy;
373 } pending_move_to_rect;
374 struct {
375 int width;
376 int height;
377 GdkWindowState state;
378 } pending;
379 struct {
380 char *handle;
381 int export_count;
382 GList *closures;
383 guint idle_source_id;
384 } exported;
385 struct zxdg_imported_v1 *imported_transient_for;
386 GHashTable *shortcuts_inhibitors;
387 };
388
389 // Version ID 4
390 // Diff from previous version:
391 // - struct zxdg_surface_v6 *xdg_surface;
392 // - struct zxdg_toplevel_v6 *xdg_toplevel;
393 // - struct zxdg_popup_v6 *xdg_popup;
394 // + struct xdg_surface *xdg_surface;
395 // + struct xdg_toplevel *xdg_toplevel;
396 // + struct xdg_popup *xdg_popup;
397 // + struct zxdg_surface_v6 *zxdg_surface_v6;
398 // + struct zxdg_toplevel_v6 *zxdg_toplevel_v6;
399 // + struct zxdg_popup_v6 *zxdg_popup_v6;
400 // Valid for GTK v3.22.30 - v3.23.0
401 struct _GdkWindowImplWayland_v3_22_30
402 {
403 struct _GdkWindowImpl_v3_22_0 parent_instance;
404 GdkWindow *wrapper;
405 struct {
406 GSList *outputs;
407 struct wl_surface *wl_surface;
408 struct xdg_surface *xdg_surface;
409 struct xdg_toplevel *xdg_toplevel;
410 struct xdg_popup *xdg_popup;
411 struct zxdg_surface_v6 *zxdg_surface_v6;
412 struct zxdg_toplevel_v6 *zxdg_toplevel_v6;
413 struct zxdg_popup_v6 *zxdg_popup_v6;
414 struct gtk_surface1 *gtk_surface;
415 struct wl_subsurface *wl_subsurface;
416 struct wl_egl_window *egl_window;
417 struct wl_egl_window *dummy_egl_window;
418 struct zxdg_exported_v1 *xdg_exported;
419 struct org_kde_kwin_server_decoration *server_decoration;
420 } display_server;
421 EGLSurface egl_surface;
422 EGLSurface dummy_egl_surface;
423 unsigned int initial_configure_received : 1;
424 unsigned int mapped : 1;
425 unsigned int use_custom_surface : 1;
426 unsigned int pending_buffer_attached : 1;
427 unsigned int pending_commit : 1;
428 unsigned int awaiting_frame : 1;
429 GdkWindowTypeHint hint;
430 GdkWindow *transient_for;
431 GdkWindow *popup_parent;
432 PositionMethod position_method;
433 cairo_surface_t *staging_cairo_surface;
434 cairo_surface_t *committed_cairo_surface;
435 cairo_surface_t *backfill_cairo_surface;
436 int pending_buffer_offset_x;
437 int pending_buffer_offset_y;
438 gchar *title;
439 struct {
440 gboolean was_set;
441 gchar *application_id;
442 gchar *app_menu_path;
443 gchar *menubar_path;
444 gchar *window_object_path;
445 gchar *application_object_path;
446 gchar *unique_bus_name;
447 } application;
448 GdkGeometry geometry_hints;
449 GdkWindowHints geometry_mask;
450 GdkSeat *grab_input_seat;
451 gint64 pending_frame_counter;
452 guint32 scale;
453 int margin_left;
454 int margin_right;
455 int margin_top;
456 int margin_bottom;
457 gboolean margin_dirty;
458 int initial_fullscreen_monitor;
459 cairo_region_t *opaque_region;
460 gboolean opaque_region_dirty;
461 cairo_region_t *input_region;
462 gboolean input_region_dirty;
463 cairo_region_t *staged_updates_region;
464 int saved_width;
465 int saved_height;
466 gulong parent_surface_committed_handler;
467 struct {
468 GdkRectangle rect;
469 GdkGravity rect_anchor;
470 GdkGravity window_anchor;
471 GdkAnchorHints anchor_hints;
472 gint rect_anchor_dx;
473 gint rect_anchor_dy;
474 } pending_move_to_rect;
475 struct {
476 int width;
477 int height;
478 GdkWindowState state;
479 } pending;
480 struct {
481 char *handle;
482 int export_count;
483 GList *closures;
484 guint idle_source_id;
485 } exported;
486 struct zxdg_imported_v1 *imported_transient_for;
487 GHashTable *shortcuts_inhibitors;
488 };
489
490 // Version ID 5
491 // Diff from previous version:
492 // + unsigned int using_csd : 1;
493 // Valid for GTK v3.23.1 - v3.23.2
494 struct _GdkWindowImplWayland_v3_23_1
495 {
496 struct _GdkWindowImpl_v3_22_0 parent_instance;
497 GdkWindow *wrapper;
498 struct {
499 GSList *outputs;
500 struct wl_surface *wl_surface;
501 struct xdg_surface *xdg_surface;
502 struct xdg_toplevel *xdg_toplevel;
503 struct xdg_popup *xdg_popup;
504 struct zxdg_surface_v6 *zxdg_surface_v6;
505 struct zxdg_toplevel_v6 *zxdg_toplevel_v6;
506 struct zxdg_popup_v6 *zxdg_popup_v6;
507 struct gtk_surface1 *gtk_surface;
508 struct wl_subsurface *wl_subsurface;
509 struct wl_egl_window *egl_window;
510 struct wl_egl_window *dummy_egl_window;
511 struct zxdg_exported_v1 *xdg_exported;
512 struct org_kde_kwin_server_decoration *server_decoration;
513 } display_server;
514 EGLSurface egl_surface;
515 EGLSurface dummy_egl_surface;
516 unsigned int initial_configure_received : 1;
517 unsigned int mapped : 1;
518 unsigned int use_custom_surface : 1;
519 unsigned int pending_buffer_attached : 1;
520 unsigned int pending_commit : 1;
521 unsigned int awaiting_frame : 1;
522 unsigned int using_csd : 1;
523 GdkWindowTypeHint hint;
524 GdkWindow *transient_for;
525 GdkWindow *popup_parent;
526 PositionMethod position_method;
527 cairo_surface_t *staging_cairo_surface;
528 cairo_surface_t *committed_cairo_surface;
529 cairo_surface_t *backfill_cairo_surface;
530 int pending_buffer_offset_x;
531 int pending_buffer_offset_y;
532 gchar *title;
533 struct {
534 gboolean was_set;
535 gchar *application_id;
536 gchar *app_menu_path;
537 gchar *menubar_path;
538 gchar *window_object_path;
539 gchar *application_object_path;
540 gchar *unique_bus_name;
541 } application;
542 GdkGeometry geometry_hints;
543 GdkWindowHints geometry_mask;
544 GdkSeat *grab_input_seat;
545 gint64 pending_frame_counter;
546 guint32 scale;
547 int margin_left;
548 int margin_right;
549 int margin_top;
550 int margin_bottom;
551 gboolean margin_dirty;
552 int initial_fullscreen_monitor;
553 cairo_region_t *opaque_region;
554 gboolean opaque_region_dirty;
555 cairo_region_t *input_region;
556 gboolean input_region_dirty;
557 cairo_region_t *staged_updates_region;
558 int saved_width;
559 int saved_height;
560 gulong parent_surface_committed_handler;
561 struct {
562 GdkRectangle rect;
563 GdkGravity rect_anchor;
564 GdkGravity window_anchor;
565 GdkAnchorHints anchor_hints;
566 gint rect_anchor_dx;
567 gint rect_anchor_dy;
568 } pending_move_to_rect;
569 struct {
570 int width;
571 int height;
572 GdkWindowState state;
573 } pending;
574 struct {
575 char *handle;
576 int export_count;
577 GList *closures;
578 guint idle_source_id;
579 } exported;
580 struct zxdg_imported_v1 *imported_transient_for;
581 GHashTable *shortcuts_inhibitors;
582 };
583
584 // Version ID 6
585 // Diff from previous version:
586 // + int subsurface_x;
587 // + int subsurface_y;
588 // Valid for GTK v3.23.3 - v3.24.3
589 struct _GdkWindowImplWayland_v3_23_3
590 {
591 struct _GdkWindowImpl_v3_22_0 parent_instance;
592 GdkWindow *wrapper;
593 struct {
594 GSList *outputs;
595 struct wl_surface *wl_surface;
596 struct xdg_surface *xdg_surface;
597 struct xdg_toplevel *xdg_toplevel;
598 struct xdg_popup *xdg_popup;
599 struct zxdg_surface_v6 *zxdg_surface_v6;
600 struct zxdg_toplevel_v6 *zxdg_toplevel_v6;
601 struct zxdg_popup_v6 *zxdg_popup_v6;
602 struct gtk_surface1 *gtk_surface;
603 struct wl_subsurface *wl_subsurface;
604 struct wl_egl_window *egl_window;
605 struct wl_egl_window *dummy_egl_window;
606 struct zxdg_exported_v1 *xdg_exported;
607 struct org_kde_kwin_server_decoration *server_decoration;
608 } display_server;
609 EGLSurface egl_surface;
610 EGLSurface dummy_egl_surface;
611 unsigned int initial_configure_received : 1;
612 unsigned int mapped : 1;
613 unsigned int use_custom_surface : 1;
614 unsigned int pending_buffer_attached : 1;
615 unsigned int pending_commit : 1;
616 unsigned int awaiting_frame : 1;
617 unsigned int using_csd : 1;
618 GdkWindowTypeHint hint;
619 GdkWindow *transient_for;
620 GdkWindow *popup_parent;
621 PositionMethod position_method;
622 cairo_surface_t *staging_cairo_surface;
623 cairo_surface_t *committed_cairo_surface;
624 cairo_surface_t *backfill_cairo_surface;
625 int pending_buffer_offset_x;
626 int pending_buffer_offset_y;
627 int subsurface_x;
628 int subsurface_y;
629 gchar *title;
630 struct {
631 gboolean was_set;
632 gchar *application_id;
633 gchar *app_menu_path;
634 gchar *menubar_path;
635 gchar *window_object_path;
636 gchar *application_object_path;
637 gchar *unique_bus_name;
638 } application;
639 GdkGeometry geometry_hints;
640 GdkWindowHints geometry_mask;
641 GdkSeat *grab_input_seat;
642 gint64 pending_frame_counter;
643 guint32 scale;
644 int margin_left;
645 int margin_right;
646 int margin_top;
647 int margin_bottom;
648 gboolean margin_dirty;
649 int initial_fullscreen_monitor;
650 cairo_region_t *opaque_region;
651 gboolean opaque_region_dirty;
652 cairo_region_t *input_region;
653 gboolean input_region_dirty;
654 cairo_region_t *staged_updates_region;
655 int saved_width;
656 int saved_height;
657 gulong parent_surface_committed_handler;
658 struct {
659 GdkRectangle rect;
660 GdkGravity rect_anchor;
661 GdkGravity window_anchor;
662 GdkAnchorHints anchor_hints;
663 gint rect_anchor_dx;
664 gint rect_anchor_dy;
665 } pending_move_to_rect;
666 struct {
667 int width;
668 int height;
669 GdkWindowState state;
670 } pending;
671 struct {
672 char *handle;
673 int export_count;
674 GList *closures;
675 guint idle_source_id;
676 } exported;
677 struct zxdg_imported_v1 *imported_transient_for;
678 GHashTable *shortcuts_inhibitors;
679 };
680
681 // Version ID 7
682 // Diff from previous version:
683 // + unsigned int configuring_popup : 1;
684 // Valid for GTK v3.24.4 - v3.24.16
685 struct _GdkWindowImplWayland_v3_24_4
686 {
687 struct _GdkWindowImpl_v3_22_0 parent_instance;
688 GdkWindow *wrapper;
689 struct {
690 GSList *outputs;
691 struct wl_surface *wl_surface;
692 struct xdg_surface *xdg_surface;
693 struct xdg_toplevel *xdg_toplevel;
694 struct xdg_popup *xdg_popup;
695 struct zxdg_surface_v6 *zxdg_surface_v6;
696 struct zxdg_toplevel_v6 *zxdg_toplevel_v6;
697 struct zxdg_popup_v6 *zxdg_popup_v6;
698 struct gtk_surface1 *gtk_surface;
699 struct wl_subsurface *wl_subsurface;
700 struct wl_egl_window *egl_window;
701 struct wl_egl_window *dummy_egl_window;
702 struct zxdg_exported_v1 *xdg_exported;
703 struct org_kde_kwin_server_decoration *server_decoration;
704 } display_server;
705 EGLSurface egl_surface;
706 EGLSurface dummy_egl_surface;
707 unsigned int initial_configure_received : 1;
708 unsigned int configuring_popup : 1;
709 unsigned int mapped : 1;
710 unsigned int use_custom_surface : 1;
711 unsigned int pending_buffer_attached : 1;
712 unsigned int pending_commit : 1;
713 unsigned int awaiting_frame : 1;
714 unsigned int using_csd : 1;
715 GdkWindowTypeHint hint;
716 GdkWindow *transient_for;
717 GdkWindow *popup_parent;
718 PositionMethod position_method;
719 cairo_surface_t *staging_cairo_surface;
720 cairo_surface_t *committed_cairo_surface;
721 cairo_surface_t *backfill_cairo_surface;
722 int pending_buffer_offset_x;
723 int pending_buffer_offset_y;
724 int subsurface_x;
725 int subsurface_y;
726 gchar *title;
727 struct {
728 gboolean was_set;
729 gchar *application_id;
730 gchar *app_menu_path;
731 gchar *menubar_path;
732 gchar *window_object_path;
733 gchar *application_object_path;
734 gchar *unique_bus_name;
735 } application;
736 GdkGeometry geometry_hints;
737 GdkWindowHints geometry_mask;
738 GdkSeat *grab_input_seat;
739 gint64 pending_frame_counter;
740 guint32 scale;
741 int margin_left;
742 int margin_right;
743 int margin_top;
744 int margin_bottom;
745 gboolean margin_dirty;
746 int initial_fullscreen_monitor;
747 cairo_region_t *opaque_region;
748 gboolean opaque_region_dirty;
749 cairo_region_t *input_region;
750 gboolean input_region_dirty;
751 cairo_region_t *staged_updates_region;
752 int saved_width;
753 int saved_height;
754 gulong parent_surface_committed_handler;
755 struct {
756 GdkRectangle rect;
757 GdkGravity rect_anchor;
758 GdkGravity window_anchor;
759 GdkAnchorHints anchor_hints;
760 gint rect_anchor_dx;
761 gint rect_anchor_dy;
762 } pending_move_to_rect;
763 struct {
764 int width;
765 int height;
766 GdkWindowState state;
767 } pending;
768 struct {
769 char *handle;
770 int export_count;
771 GList *closures;
772 guint idle_source_id;
773 } exported;
774 struct zxdg_imported_v1 *imported_transient_for;
775 GHashTable *shortcuts_inhibitors;
776 };
777
778 // Version ID 8
779 // Diff from previous version:
780 // + int unconfigured_width;
781 // + int unconfigured_height;
782 // + int fixed_size_width;
783 // + int fixed_size_height;
784 // Valid for GTK v3.24.17 - v3.24.21
785 struct _GdkWindowImplWayland_v3_24_17
786 {
787 struct _GdkWindowImpl_v3_22_0 parent_instance;
788 GdkWindow *wrapper;
789 struct {
790 GSList *outputs;
791 struct wl_surface *wl_surface;
792 struct xdg_surface *xdg_surface;
793 struct xdg_toplevel *xdg_toplevel;
794 struct xdg_popup *xdg_popup;
795 struct zxdg_surface_v6 *zxdg_surface_v6;
796 struct zxdg_toplevel_v6 *zxdg_toplevel_v6;
797 struct zxdg_popup_v6 *zxdg_popup_v6;
798 struct gtk_surface1 *gtk_surface;
799 struct wl_subsurface *wl_subsurface;
800 struct wl_egl_window *egl_window;
801 struct wl_egl_window *dummy_egl_window;
802 struct zxdg_exported_v1 *xdg_exported;
803 struct org_kde_kwin_server_decoration *server_decoration;
804 } display_server;
805 EGLSurface egl_surface;
806 EGLSurface dummy_egl_surface;
807 unsigned int initial_configure_received : 1;
808 unsigned int configuring_popup : 1;
809 unsigned int mapped : 1;
810 unsigned int use_custom_surface : 1;
811 unsigned int pending_buffer_attached : 1;
812 unsigned int pending_commit : 1;
813 unsigned int awaiting_frame : 1;
814 unsigned int using_csd : 1;
815 GdkWindowTypeHint hint;
816 GdkWindow *transient_for;
817 GdkWindow *popup_parent;
818 PositionMethod position_method;
819 cairo_surface_t *staging_cairo_surface;
820 cairo_surface_t *committed_cairo_surface;
821 cairo_surface_t *backfill_cairo_surface;
822 int pending_buffer_offset_x;
823 int pending_buffer_offset_y;
824 int subsurface_x;
825 int subsurface_y;
826 gchar *title;
827 struct {
828 gboolean was_set;
829 gchar *application_id;
830 gchar *app_menu_path;
831 gchar *menubar_path;
832 gchar *window_object_path;
833 gchar *application_object_path;
834 gchar *unique_bus_name;
835 } application;
836 GdkGeometry geometry_hints;
837 GdkWindowHints geometry_mask;
838 GdkSeat *grab_input_seat;
839 gint64 pending_frame_counter;
840 guint32 scale;
841 int margin_left;
842 int margin_right;
843 int margin_top;
844 int margin_bottom;
845 gboolean margin_dirty;
846 int initial_fullscreen_monitor;
847 cairo_region_t *opaque_region;
848 gboolean opaque_region_dirty;
849 cairo_region_t *input_region;
850 gboolean input_region_dirty;
851 cairo_region_t *staged_updates_region;
852 int saved_width;
853 int saved_height;
854 int unconfigured_width;
855 int unconfigured_height;
856 int fixed_size_width;
857 int fixed_size_height;
858 gulong parent_surface_committed_handler;
859 struct {
860 GdkRectangle rect;
861 GdkGravity rect_anchor;
862 GdkGravity window_anchor;
863 GdkAnchorHints anchor_hints;
864 gint rect_anchor_dx;
865 gint rect_anchor_dy;
866 } pending_move_to_rect;
867 struct {
868 int width;
869 int height;
870 GdkWindowState state;
871 } pending;
872 struct {
873 char *handle;
874 int export_count;
875 GList *closures;
876 guint idle_source_id;
877 } exported;
878 struct zxdg_imported_v1 *imported_transient_for;
879 GHashTable *shortcuts_inhibitors;
880 };
881
882 // Version ID 9
883 // Diff from previous version:
884 // + gboolean saved_size_changed;
885 // Valid for GTK v3.24.22 - v3.24.24
886 struct _GdkWindowImplWayland_v3_24_22
887 {
888 struct _GdkWindowImpl_v3_22_0 parent_instance;
889 GdkWindow *wrapper;
890 struct {
891 GSList *outputs;
892 struct wl_surface *wl_surface;
893 struct xdg_surface *xdg_surface;
894 struct xdg_toplevel *xdg_toplevel;
895 struct xdg_popup *xdg_popup;
896 struct zxdg_surface_v6 *zxdg_surface_v6;
897 struct zxdg_toplevel_v6 *zxdg_toplevel_v6;
898 struct zxdg_popup_v6 *zxdg_popup_v6;
899 struct gtk_surface1 *gtk_surface;
900 struct wl_subsurface *wl_subsurface;
901 struct wl_egl_window *egl_window;
902 struct wl_egl_window *dummy_egl_window;
903 struct zxdg_exported_v1 *xdg_exported;
904 struct org_kde_kwin_server_decoration *server_decoration;
905 } display_server;
906 EGLSurface egl_surface;
907 EGLSurface dummy_egl_surface;
908 unsigned int initial_configure_received : 1;
909 unsigned int configuring_popup : 1;
910 unsigned int mapped : 1;
911 unsigned int use_custom_surface : 1;
912 unsigned int pending_buffer_attached : 1;
913 unsigned int pending_commit : 1;
914 unsigned int awaiting_frame : 1;
915 unsigned int using_csd : 1;
916 GdkWindowTypeHint hint;
917 GdkWindow *transient_for;
918 GdkWindow *popup_parent;
919 PositionMethod position_method;
920 cairo_surface_t *staging_cairo_surface;
921 cairo_surface_t *committed_cairo_surface;
922 cairo_surface_t *backfill_cairo_surface;
923 int pending_buffer_offset_x;
924 int pending_buffer_offset_y;
925 int subsurface_x;
926 int subsurface_y;
927 gchar *title;
928 struct {
929 gboolean was_set;
930 gchar *application_id;
931 gchar *app_menu_path;
932 gchar *menubar_path;
933 gchar *window_object_path;
934 gchar *application_object_path;
935 gchar *unique_bus_name;
936 } application;
937 GdkGeometry geometry_hints;
938 GdkWindowHints geometry_mask;
939 GdkSeat *grab_input_seat;
940 gint64 pending_frame_counter;
941 guint32 scale;
942 int margin_left;
943 int margin_right;
944 int margin_top;
945 int margin_bottom;
946 gboolean margin_dirty;
947 int initial_fullscreen_monitor;
948 cairo_region_t *opaque_region;
949 gboolean opaque_region_dirty;
950 cairo_region_t *input_region;
951 gboolean input_region_dirty;
952 cairo_region_t *staged_updates_region;
953 int saved_width;
954 int saved_height;
955 gboolean saved_size_changed;
956 int unconfigured_width;
957 int unconfigured_height;
958 int fixed_size_width;
959 int fixed_size_height;
960 gulong parent_surface_committed_handler;
961 struct {
962 GdkRectangle rect;
963 GdkGravity rect_anchor;
964 GdkGravity window_anchor;
965 GdkAnchorHints anchor_hints;
966 gint rect_anchor_dx;
967 gint rect_anchor_dy;
968 } pending_move_to_rect;
969 struct {
970 int width;
971 int height;
972 GdkWindowState state;
973 } pending;
974 struct {
975 char *handle;
976 int export_count;
977 GList *closures;
978 guint idle_source_id;
979 } exported;
980 struct zxdg_imported_v1 *imported_transient_for;
981 GHashTable *shortcuts_inhibitors;
982 };
983
984 // Version ID 10
985 // Diff from previous version:
986 // + struct wl_callback *surface_callback;
987 // + GHashTable *frame_callback_surfaces;
988 // Valid for GTK v3.24.25 - v3.24.39
989 struct _GdkWindowImplWayland_v3_24_25
990 {
991 struct _GdkWindowImpl_v3_22_0 parent_instance;
992 GdkWindow *wrapper;
993 struct {
994 GSList *outputs;
995 struct wl_surface *wl_surface;
996 struct xdg_surface *xdg_surface;
997 struct xdg_toplevel *xdg_toplevel;
998 struct xdg_popup *xdg_popup;
999 struct zxdg_surface_v6 *zxdg_surface_v6;
1000 struct zxdg_toplevel_v6 *zxdg_toplevel_v6;
1001 struct zxdg_popup_v6 *zxdg_popup_v6;
1002 struct gtk_surface1 *gtk_surface;
1003 struct wl_subsurface *wl_subsurface;
1004 struct wl_egl_window *egl_window;
1005 struct wl_egl_window *dummy_egl_window;
1006 struct zxdg_exported_v1 *xdg_exported;
1007 struct org_kde_kwin_server_decoration *server_decoration;
1008 } display_server;
1009 EGLSurface egl_surface;
1010 EGLSurface dummy_egl_surface;
1011 unsigned int initial_configure_received : 1;
1012 unsigned int configuring_popup : 1;
1013 unsigned int mapped : 1;
1014 unsigned int use_custom_surface : 1;
1015 unsigned int pending_buffer_attached : 1;
1016 unsigned int pending_commit : 1;
1017 unsigned int awaiting_frame : 1;
1018 unsigned int using_csd : 1;
1019 GdkWindowTypeHint hint;
1020 GdkWindow *transient_for;
1021 GdkWindow *popup_parent;
1022 PositionMethod position_method;
1023 cairo_surface_t *staging_cairo_surface;
1024 cairo_surface_t *committed_cairo_surface;
1025 cairo_surface_t *backfill_cairo_surface;
1026 int pending_buffer_offset_x;
1027 int pending_buffer_offset_y;
1028 int subsurface_x;
1029 int subsurface_y;
1030 gchar *title;
1031 struct {
1032 gboolean was_set;
1033 gchar *application_id;
1034 gchar *app_menu_path;
1035 gchar *menubar_path;
1036 gchar *window_object_path;
1037 gchar *application_object_path;
1038 gchar *unique_bus_name;
1039 } application;
1040 GdkGeometry geometry_hints;
1041 GdkWindowHints geometry_mask;
1042 GdkSeat *grab_input_seat;
1043 gint64 pending_frame_counter;
1044 guint32 scale;
1045 int margin_left;
1046 int margin_right;
1047 int margin_top;
1048 int margin_bottom;
1049 gboolean margin_dirty;
1050 int initial_fullscreen_monitor;
1051 cairo_region_t *opaque_region;
1052 gboolean opaque_region_dirty;
1053 cairo_region_t *input_region;
1054 gboolean input_region_dirty;
1055 cairo_region_t *staged_updates_region;
1056 int saved_width;
1057 int saved_height;
1058 gboolean saved_size_changed;
1059 int unconfigured_width;
1060 int unconfigured_height;
1061 int fixed_size_width;
1062 int fixed_size_height;
1063 gulong parent_surface_committed_handler;
1064 struct {
1065 GdkRectangle rect;
1066 GdkGravity rect_anchor;
1067 GdkGravity window_anchor;
1068 GdkAnchorHints anchor_hints;
1069 gint rect_anchor_dx;
1070 gint rect_anchor_dy;
1071 } pending_move_to_rect;
1072 struct {
1073 int width;
1074 int height;
1075 GdkWindowState state;
1076 } pending;
1077 struct {
1078 char *handle;
1079 int export_count;
1080 GList *closures;
1081 guint idle_source_id;
1082 } exported;
1083 struct zxdg_imported_v1 *imported_transient_for;
1084 GHashTable *shortcuts_inhibitors;
1085 struct wl_callback *surface_callback;
1086 GHashTable *frame_callback_surfaces;
1087 };
1088
1089 // Version ID 11
1090 // Diff from previous version:
1091 // + unsigned int suspended : 1;
1092 // + gboolean suspended;
1093 // Valid for GTK v3.24.40 (unreleased)
1094 struct _GdkWindowImplWayland_v3_24_40
1095 {
1096 struct _GdkWindowImpl_v3_22_0 parent_instance;
1097 GdkWindow *wrapper;
1098 struct {
1099 GSList *outputs;
1100 struct wl_surface *wl_surface;
1101 struct xdg_surface *xdg_surface;
1102 struct xdg_toplevel *xdg_toplevel;
1103 struct xdg_popup *xdg_popup;
1104 struct zxdg_surface_v6 *zxdg_surface_v6;
1105 struct zxdg_toplevel_v6 *zxdg_toplevel_v6;
1106 struct zxdg_popup_v6 *zxdg_popup_v6;
1107 struct gtk_surface1 *gtk_surface;
1108 struct wl_subsurface *wl_subsurface;
1109 struct wl_egl_window *egl_window;
1110 struct wl_egl_window *dummy_egl_window;
1111 struct zxdg_exported_v1 *xdg_exported;
1112 struct org_kde_kwin_server_decoration *server_decoration;
1113 } display_server;
1114 EGLSurface egl_surface;
1115 EGLSurface dummy_egl_surface;
1116 unsigned int initial_configure_received : 1;
1117 unsigned int configuring_popup : 1;
1118 unsigned int mapped : 1;
1119 unsigned int use_custom_surface : 1;
1120 unsigned int pending_buffer_attached : 1;
1121 unsigned int pending_commit : 1;
1122 unsigned int awaiting_frame : 1;
1123 unsigned int using_csd : 1;
1124 unsigned int suspended : 1;
1125 GdkWindowTypeHint hint;
1126 GdkWindow *transient_for;
1127 GdkWindow *popup_parent;
1128 PositionMethod position_method;
1129 cairo_surface_t *staging_cairo_surface;
1130 cairo_surface_t *committed_cairo_surface;
1131 cairo_surface_t *backfill_cairo_surface;
1132 int pending_buffer_offset_x;
1133 int pending_buffer_offset_y;
1134 int subsurface_x;
1135 int subsurface_y;
1136 gchar *title;
1137 struct {
1138 gboolean was_set;
1139 gchar *application_id;
1140 gchar *app_menu_path;
1141 gchar *menubar_path;
1142 gchar *window_object_path;
1143 gchar *application_object_path;
1144 gchar *unique_bus_name;
1145 } application;
1146 GdkGeometry geometry_hints;
1147 GdkWindowHints geometry_mask;
1148 GdkSeat *grab_input_seat;
1149 gint64 pending_frame_counter;
1150 guint32 scale;
1151 int margin_left;
1152 int margin_right;
1153 int margin_top;
1154 int margin_bottom;
1155 gboolean margin_dirty;
1156 int initial_fullscreen_monitor;
1157 cairo_region_t *opaque_region;
1158 gboolean opaque_region_dirty;
1159 cairo_region_t *input_region;
1160 gboolean input_region_dirty;
1161 cairo_region_t *staged_updates_region;
1162 int saved_width;
1163 int saved_height;
1164 gboolean saved_size_changed;
1165 int unconfigured_width;
1166 int unconfigured_height;
1167 int fixed_size_width;
1168 int fixed_size_height;
1169 gulong parent_surface_committed_handler;
1170 struct {
1171 GdkRectangle rect;
1172 GdkGravity rect_anchor;
1173 GdkGravity window_anchor;
1174 GdkAnchorHints anchor_hints;
1175 gint rect_anchor_dx;
1176 gint rect_anchor_dy;
1177 } pending_move_to_rect;
1178 struct {
1179 int width;
1180 int height;
1181 GdkWindowState state;
1182 gboolean suspended;
1183 } pending;
1184 struct {
1185 char *handle;
1186 int export_count;
1187 GList *closures;
1188 guint idle_source_id;
1189 } exported;
1190 struct zxdg_imported_v1 *imported_transient_for;
1191 GHashTable *shortcuts_inhibitors;
1192 struct wl_callback *surface_callback;
1193 GHashTable *frame_callback_surfaces;
1194 };
1195
1196 // For internal use only
1197 int gdk_window_impl_wayland_priv_get_version_id() {
1198 static int version_id = -1;
1199
1200 if (version_id == -1) {
1201 gtk_priv_assert_gtk_version_valid();
1202 int combo = gtk_get_minor_version() * 1000 + gtk_get_micro_version();
1203
1204 switch (combo) {
1205 case 22000:
1206 case 22001:
1207 case 22002:
1208 case 22003:
1209 case 22004:
1210 case 22005:
1211 case 22006:
1212 case 22007:
1213 case 22008:
1214 case 22009:
1215 case 22010:
1216 case 22011:
1217 case 22012:
1218 case 22013:
1219 case 22014:
1220 case 22015:
1221 case 22016:
1222 case 22017:
1223 case 22018:
1224 case 22019:
1225 case 22020:
1226 case 22021:
1227 case 22022:
1228 case 22023:
1229 case 22024:
1230 case 22025:
1231 case 22026:
1232 case 22027:
1233 case 22028:
1234 case 22029:
1235 case 22030:
1236 case 23000:
1237 case 23001:
1238 case 23002:
1239 case 23003:
1240 case 24000:
1241 case 24001:
1242 case 24002:
1243 case 24003:
1244 case 24004:
1245 case 24005:
1246 case 24006:
1247 case 24007:
1248 case 24008:
1249 case 24009:
1250 case 24010:
1251 case 24011:
1252 case 24012:
1253 case 24013:
1254 case 24014:
1255 case 24015:
1256 case 24016:
1257 case 24017:
1258 case 24018:
1259 case 24020:
1260 case 24021:
1261 case 24022:
1262 case 24023:
1263 case 24024:
1264 case 24025:
1265 case 24026:
1266 case 24027:
1267 case 24028:
1268 case 24029:
1269 case 24030:
1270 case 24031:
1271 case 24032:
1272 case 24033:
1273 case 24034:
1274 case 24035:
1275 case 24036:
1276 case 24037:
1277 case 24038:
1278 case 24039:
1279 break;
1280
1281 default:
1282 gtk_priv_warn_gtk_version_may_be_unsupported();
1283 }
1284
1285 if (combo >= 24040) {
1286 version_id = 11;
1287 } else if (combo >= 24025) {
1288 version_id = 10;
1289 } else if (combo >= 24022) {
1290 version_id = 9;
1291 } else if (combo >= 24017) {
1292 version_id = 8;
1293 } else if (combo >= 24004) {
1294 version_id = 7;
1295 } else if (combo >= 23003) {
1296 version_id = 6;
1297 } else if (combo >= 23001) {
1298 version_id = 5;
1299 } else if (combo >= 22030) {
1300 version_id = 4;
1301 } else if (combo >= 22025) {
1302 version_id = 3;
1303 } else if (combo >= 22018) {
1304 version_id = 2;
1305 } else if (combo >= 22016) {
1306 version_id = 1;
1307 } else {
1308 version_id = 0;
1309 }
1310 }
1311
1312 return version_id;
1313 }
1314
1315 // GdkWindowImplWayland::parent_instance
1316
1317 GdkWindowImpl * gdk_window_impl_wayland_priv_get_parent_instance_ptr(GdkWindowImplWayland * self) {
1318 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1319 case 0: return (GdkWindowImpl *)&((struct _GdkWindowImplWayland_v3_22_0*)self)->parent_instance;
1320 case 1: return (GdkWindowImpl *)&((struct _GdkWindowImplWayland_v3_22_16*)self)->parent_instance;
1321 case 2: return (GdkWindowImpl *)&((struct _GdkWindowImplWayland_v3_22_18*)self)->parent_instance;
1322 case 3: return (GdkWindowImpl *)&((struct _GdkWindowImplWayland_v3_22_25*)self)->parent_instance;
1323 case 4: return (GdkWindowImpl *)&((struct _GdkWindowImplWayland_v3_22_30*)self)->parent_instance;
1324 case 5: return (GdkWindowImpl *)&((struct _GdkWindowImplWayland_v3_23_1*)self)->parent_instance;
1325 case 6: return (GdkWindowImpl *)&((struct _GdkWindowImplWayland_v3_23_3*)self)->parent_instance;
1326 case 7: return (GdkWindowImpl *)&((struct _GdkWindowImplWayland_v3_24_4*)self)->parent_instance;
1327 case 8: return (GdkWindowImpl *)&((struct _GdkWindowImplWayland_v3_24_17*)self)->parent_instance;
1328 case 9: return (GdkWindowImpl *)&((struct _GdkWindowImplWayland_v3_24_22*)self)->parent_instance;
1329 case 10: return (GdkWindowImpl *)&((struct _GdkWindowImplWayland_v3_24_25*)self)->parent_instance;
1330 case 11: return (GdkWindowImpl *)&((struct _GdkWindowImplWayland_v3_24_40*)self)->parent_instance;
1331 default: g_error("Invalid version ID"); g_abort();
1332 }
1333 }
1334
1335 // GdkWindowImplWayland::wrapper
1336
1337 GdkWindow * gdk_window_impl_wayland_priv_get_wrapper(GdkWindowImplWayland * self) {
1338 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1339 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->wrapper;
1340 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->wrapper;
1341 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->wrapper;
1342 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->wrapper;
1343 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->wrapper;
1344 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->wrapper;
1345 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->wrapper;
1346 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->wrapper;
1347 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->wrapper;
1348 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->wrapper;
1349 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->wrapper;
1350 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->wrapper;
1351 default: g_error("Invalid version ID"); g_abort();
1352 }
1353 }
1354
1355 void gdk_window_impl_wayland_priv_set_wrapper(GdkWindowImplWayland * self, GdkWindow * wrapper) {
1356 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1357 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->wrapper = wrapper; break;
1358 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->wrapper = wrapper; break;
1359 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->wrapper = wrapper; break;
1360 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->wrapper = wrapper; break;
1361 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->wrapper = wrapper; break;
1362 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->wrapper = wrapper; break;
1363 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->wrapper = wrapper; break;
1364 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->wrapper = wrapper; break;
1365 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->wrapper = wrapper; break;
1366 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->wrapper = wrapper; break;
1367 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->wrapper = wrapper; break;
1368 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->wrapper = wrapper; break;
1369 default: g_error("Invalid version ID"); g_abort();
1370 }
1371 }
1372
1373 // GdkWindowImplWayland::display_server.outputs
1374
1375 GSList * gdk_window_impl_wayland_priv_get_display_server_outputs(GdkWindowImplWayland * self) {
1376 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1377 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->display_server.outputs;
1378 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->display_server.outputs;
1379 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->display_server.outputs;
1380 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->display_server.outputs;
1381 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.outputs;
1382 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.outputs;
1383 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.outputs;
1384 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.outputs;
1385 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.outputs;
1386 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.outputs;
1387 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.outputs;
1388 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.outputs;
1389 default: g_error("Invalid version ID"); g_abort();
1390 }
1391 }
1392
1393 void gdk_window_impl_wayland_priv_set_display_server_outputs(GdkWindowImplWayland * self, GSList * display_server_outputs) {
1394 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1395 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->display_server.outputs = display_server_outputs; break;
1396 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->display_server.outputs = display_server_outputs; break;
1397 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->display_server.outputs = display_server_outputs; break;
1398 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->display_server.outputs = display_server_outputs; break;
1399 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.outputs = display_server_outputs; break;
1400 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.outputs = display_server_outputs; break;
1401 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.outputs = display_server_outputs; break;
1402 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.outputs = display_server_outputs; break;
1403 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.outputs = display_server_outputs; break;
1404 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.outputs = display_server_outputs; break;
1405 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.outputs = display_server_outputs; break;
1406 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.outputs = display_server_outputs; break;
1407 default: g_error("Invalid version ID"); g_abort();
1408 }
1409 }
1410
1411 // GdkWindowImplWayland::display_server.wl_surface
1412
1413 struct wl_surface * gdk_window_impl_wayland_priv_get_display_server_wl_surface(GdkWindowImplWayland * self) {
1414 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1415 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->display_server.wl_surface;
1416 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->display_server.wl_surface;
1417 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->display_server.wl_surface;
1418 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->display_server.wl_surface;
1419 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.wl_surface;
1420 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.wl_surface;
1421 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.wl_surface;
1422 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.wl_surface;
1423 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.wl_surface;
1424 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.wl_surface;
1425 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.wl_surface;
1426 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.wl_surface;
1427 default: g_error("Invalid version ID"); g_abort();
1428 }
1429 }
1430
1431 void gdk_window_impl_wayland_priv_set_display_server_wl_surface(GdkWindowImplWayland * self, struct wl_surface * display_server_wl_surface) {
1432 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1433 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->display_server.wl_surface = display_server_wl_surface; break;
1434 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->display_server.wl_surface = display_server_wl_surface; break;
1435 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->display_server.wl_surface = display_server_wl_surface; break;
1436 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->display_server.wl_surface = display_server_wl_surface; break;
1437 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.wl_surface = display_server_wl_surface; break;
1438 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.wl_surface = display_server_wl_surface; break;
1439 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.wl_surface = display_server_wl_surface; break;
1440 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.wl_surface = display_server_wl_surface; break;
1441 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.wl_surface = display_server_wl_surface; break;
1442 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.wl_surface = display_server_wl_surface; break;
1443 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.wl_surface = display_server_wl_surface; break;
1444 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.wl_surface = display_server_wl_surface; break;
1445 default: g_error("Invalid version ID"); g_abort();
1446 }
1447 }
1448
1449 // GdkWindowImplWayland::display_server.gtk_surface
1450
1451 struct gtk_surface1 * gdk_window_impl_wayland_priv_get_display_server_gtk_surface(GdkWindowImplWayland * self) {
1452 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1453 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->display_server.gtk_surface;
1454 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->display_server.gtk_surface;
1455 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->display_server.gtk_surface;
1456 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->display_server.gtk_surface;
1457 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.gtk_surface;
1458 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.gtk_surface;
1459 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.gtk_surface;
1460 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.gtk_surface;
1461 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.gtk_surface;
1462 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.gtk_surface;
1463 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.gtk_surface;
1464 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.gtk_surface;
1465 default: g_error("Invalid version ID"); g_abort();
1466 }
1467 }
1468
1469 void gdk_window_impl_wayland_priv_set_display_server_gtk_surface(GdkWindowImplWayland * self, struct gtk_surface1 * display_server_gtk_surface) {
1470 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1471 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->display_server.gtk_surface = display_server_gtk_surface; break;
1472 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->display_server.gtk_surface = display_server_gtk_surface; break;
1473 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->display_server.gtk_surface = display_server_gtk_surface; break;
1474 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->display_server.gtk_surface = display_server_gtk_surface; break;
1475 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.gtk_surface = display_server_gtk_surface; break;
1476 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.gtk_surface = display_server_gtk_surface; break;
1477 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.gtk_surface = display_server_gtk_surface; break;
1478 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.gtk_surface = display_server_gtk_surface; break;
1479 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.gtk_surface = display_server_gtk_surface; break;
1480 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.gtk_surface = display_server_gtk_surface; break;
1481 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.gtk_surface = display_server_gtk_surface; break;
1482 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.gtk_surface = display_server_gtk_surface; break;
1483 default: g_error("Invalid version ID"); g_abort();
1484 }
1485 }
1486
1487 // GdkWindowImplWayland::display_server.wl_subsurface
1488
1489 struct wl_subsurface * gdk_window_impl_wayland_priv_get_display_server_wl_subsurface(GdkWindowImplWayland * self) {
1490 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1491 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->display_server.wl_subsurface;
1492 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->display_server.wl_subsurface;
1493 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->display_server.wl_subsurface;
1494 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->display_server.wl_subsurface;
1495 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.wl_subsurface;
1496 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.wl_subsurface;
1497 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.wl_subsurface;
1498 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.wl_subsurface;
1499 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.wl_subsurface;
1500 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.wl_subsurface;
1501 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.wl_subsurface;
1502 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.wl_subsurface;
1503 default: g_error("Invalid version ID"); g_abort();
1504 }
1505 }
1506
1507 void gdk_window_impl_wayland_priv_set_display_server_wl_subsurface(GdkWindowImplWayland * self, struct wl_subsurface * display_server_wl_subsurface) {
1508 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1509 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->display_server.wl_subsurface = display_server_wl_subsurface; break;
1510 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->display_server.wl_subsurface = display_server_wl_subsurface; break;
1511 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->display_server.wl_subsurface = display_server_wl_subsurface; break;
1512 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->display_server.wl_subsurface = display_server_wl_subsurface; break;
1513 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.wl_subsurface = display_server_wl_subsurface; break;
1514 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.wl_subsurface = display_server_wl_subsurface; break;
1515 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.wl_subsurface = display_server_wl_subsurface; break;
1516 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.wl_subsurface = display_server_wl_subsurface; break;
1517 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.wl_subsurface = display_server_wl_subsurface; break;
1518 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.wl_subsurface = display_server_wl_subsurface; break;
1519 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.wl_subsurface = display_server_wl_subsurface; break;
1520 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.wl_subsurface = display_server_wl_subsurface; break;
1521 default: g_error("Invalid version ID"); g_abort();
1522 }
1523 }
1524
1525 // GdkWindowImplWayland::display_server.egl_window
1526
1527 struct wl_egl_window * gdk_window_impl_wayland_priv_get_display_server_egl_window(GdkWindowImplWayland * self) {
1528 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1529 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->display_server.egl_window;
1530 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->display_server.egl_window;
1531 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->display_server.egl_window;
1532 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->display_server.egl_window;
1533 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.egl_window;
1534 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.egl_window;
1535 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.egl_window;
1536 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.egl_window;
1537 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.egl_window;
1538 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.egl_window;
1539 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.egl_window;
1540 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.egl_window;
1541 default: g_error("Invalid version ID"); g_abort();
1542 }
1543 }
1544
1545 void gdk_window_impl_wayland_priv_set_display_server_egl_window(GdkWindowImplWayland * self, struct wl_egl_window * display_server_egl_window) {
1546 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1547 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->display_server.egl_window = display_server_egl_window; break;
1548 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->display_server.egl_window = display_server_egl_window; break;
1549 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->display_server.egl_window = display_server_egl_window; break;
1550 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->display_server.egl_window = display_server_egl_window; break;
1551 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.egl_window = display_server_egl_window; break;
1552 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.egl_window = display_server_egl_window; break;
1553 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.egl_window = display_server_egl_window; break;
1554 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.egl_window = display_server_egl_window; break;
1555 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.egl_window = display_server_egl_window; break;
1556 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.egl_window = display_server_egl_window; break;
1557 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.egl_window = display_server_egl_window; break;
1558 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.egl_window = display_server_egl_window; break;
1559 default: g_error("Invalid version ID"); g_abort();
1560 }
1561 }
1562
1563 // GdkWindowImplWayland::display_server.dummy_egl_window
1564
1565 struct wl_egl_window * gdk_window_impl_wayland_priv_get_display_server_dummy_egl_window(GdkWindowImplWayland * self) {
1566 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1567 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->display_server.dummy_egl_window;
1568 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->display_server.dummy_egl_window;
1569 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->display_server.dummy_egl_window;
1570 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->display_server.dummy_egl_window;
1571 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.dummy_egl_window;
1572 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.dummy_egl_window;
1573 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.dummy_egl_window;
1574 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.dummy_egl_window;
1575 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.dummy_egl_window;
1576 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.dummy_egl_window;
1577 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.dummy_egl_window;
1578 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.dummy_egl_window;
1579 default: g_error("Invalid version ID"); g_abort();
1580 }
1581 }
1582
1583 void gdk_window_impl_wayland_priv_set_display_server_dummy_egl_window(GdkWindowImplWayland * self, struct wl_egl_window * display_server_dummy_egl_window) {
1584 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1585 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->display_server.dummy_egl_window = display_server_dummy_egl_window; break;
1586 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->display_server.dummy_egl_window = display_server_dummy_egl_window; break;
1587 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->display_server.dummy_egl_window = display_server_dummy_egl_window; break;
1588 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->display_server.dummy_egl_window = display_server_dummy_egl_window; break;
1589 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.dummy_egl_window = display_server_dummy_egl_window; break;
1590 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.dummy_egl_window = display_server_dummy_egl_window; break;
1591 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.dummy_egl_window = display_server_dummy_egl_window; break;
1592 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.dummy_egl_window = display_server_dummy_egl_window; break;
1593 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.dummy_egl_window = display_server_dummy_egl_window; break;
1594 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.dummy_egl_window = display_server_dummy_egl_window; break;
1595 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.dummy_egl_window = display_server_dummy_egl_window; break;
1596 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.dummy_egl_window = display_server_dummy_egl_window; break;
1597 default: g_error("Invalid version ID"); g_abort();
1598 }
1599 }
1600
1601 // GdkWindowImplWayland::display_server.xdg_exported
1602
1603 struct zxdg_exported_v1 * gdk_window_impl_wayland_priv_get_display_server_xdg_exported(GdkWindowImplWayland * self) {
1604 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1605 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->display_server.xdg_exported;
1606 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->display_server.xdg_exported;
1607 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->display_server.xdg_exported;
1608 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->display_server.xdg_exported;
1609 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.xdg_exported;
1610 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.xdg_exported;
1611 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.xdg_exported;
1612 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.xdg_exported;
1613 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.xdg_exported;
1614 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.xdg_exported;
1615 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.xdg_exported;
1616 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.xdg_exported;
1617 default: g_error("Invalid version ID"); g_abort();
1618 }
1619 }
1620
1621 void gdk_window_impl_wayland_priv_set_display_server_xdg_exported(GdkWindowImplWayland * self, struct zxdg_exported_v1 * display_server_xdg_exported) {
1622 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1623 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->display_server.xdg_exported = display_server_xdg_exported; break;
1624 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->display_server.xdg_exported = display_server_xdg_exported; break;
1625 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->display_server.xdg_exported = display_server_xdg_exported; break;
1626 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->display_server.xdg_exported = display_server_xdg_exported; break;
1627 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.xdg_exported = display_server_xdg_exported; break;
1628 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.xdg_exported = display_server_xdg_exported; break;
1629 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.xdg_exported = display_server_xdg_exported; break;
1630 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.xdg_exported = display_server_xdg_exported; break;
1631 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.xdg_exported = display_server_xdg_exported; break;
1632 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.xdg_exported = display_server_xdg_exported; break;
1633 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.xdg_exported = display_server_xdg_exported; break;
1634 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.xdg_exported = display_server_xdg_exported; break;
1635 default: g_error("Invalid version ID"); g_abort();
1636 }
1637 }
1638
1639 // GdkWindowImplWayland::egl_surface
1640
1641 EGLSurface * gdk_window_impl_wayland_priv_get_egl_surface_ptr(GdkWindowImplWayland * self) {
1642 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1643 case 0: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_22_0*)self)->egl_surface;
1644 case 1: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_22_16*)self)->egl_surface;
1645 case 2: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_22_18*)self)->egl_surface;
1646 case 3: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_22_25*)self)->egl_surface;
1647 case 4: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_22_30*)self)->egl_surface;
1648 case 5: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_23_1*)self)->egl_surface;
1649 case 6: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_23_3*)self)->egl_surface;
1650 case 7: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_24_4*)self)->egl_surface;
1651 case 8: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_24_17*)self)->egl_surface;
1652 case 9: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_24_22*)self)->egl_surface;
1653 case 10: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_24_25*)self)->egl_surface;
1654 case 11: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_24_40*)self)->egl_surface;
1655 default: g_error("Invalid version ID"); g_abort();
1656 }
1657 }
1658
1659 // GdkWindowImplWayland::dummy_egl_surface
1660
1661 EGLSurface * gdk_window_impl_wayland_priv_get_dummy_egl_surface_ptr(GdkWindowImplWayland * self) {
1662 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1663 case 0: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_22_0*)self)->dummy_egl_surface;
1664 case 1: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_22_16*)self)->dummy_egl_surface;
1665 case 2: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_22_18*)self)->dummy_egl_surface;
1666 case 3: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_22_25*)self)->dummy_egl_surface;
1667 case 4: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_22_30*)self)->dummy_egl_surface;
1668 case 5: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_23_1*)self)->dummy_egl_surface;
1669 case 6: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_23_3*)self)->dummy_egl_surface;
1670 case 7: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_24_4*)self)->dummy_egl_surface;
1671 case 8: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_24_17*)self)->dummy_egl_surface;
1672 case 9: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_24_22*)self)->dummy_egl_surface;
1673 case 10: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_24_25*)self)->dummy_egl_surface;
1674 case 11: return (EGLSurface *)&((struct _GdkWindowImplWayland_v3_24_40*)self)->dummy_egl_surface;
1675 default: g_error("Invalid version ID"); g_abort();
1676 }
1677 }
1678
1679 // GdkWindowImplWayland::initial_configure_received
1680
1681 unsigned int gdk_window_impl_wayland_priv_get_initial_configure_received(GdkWindowImplWayland * self) {
1682 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1683 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->initial_configure_received;
1684 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->initial_configure_received;
1685 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->initial_configure_received;
1686 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->initial_configure_received;
1687 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->initial_configure_received;
1688 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->initial_configure_received;
1689 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->initial_configure_received;
1690 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->initial_configure_received;
1691 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->initial_configure_received;
1692 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->initial_configure_received;
1693 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->initial_configure_received;
1694 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->initial_configure_received;
1695 default: g_error("Invalid version ID"); g_abort();
1696 }
1697 }
1698
1699 void gdk_window_impl_wayland_priv_set_initial_configure_received(GdkWindowImplWayland * self, unsigned int initial_configure_received) {
1700 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1701 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->initial_configure_received = initial_configure_received; break;
1702 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->initial_configure_received = initial_configure_received; break;
1703 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->initial_configure_received = initial_configure_received; break;
1704 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->initial_configure_received = initial_configure_received; break;
1705 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->initial_configure_received = initial_configure_received; break;
1706 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->initial_configure_received = initial_configure_received; break;
1707 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->initial_configure_received = initial_configure_received; break;
1708 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->initial_configure_received = initial_configure_received; break;
1709 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->initial_configure_received = initial_configure_received; break;
1710 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->initial_configure_received = initial_configure_received; break;
1711 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->initial_configure_received = initial_configure_received; break;
1712 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->initial_configure_received = initial_configure_received; break;
1713 default: g_error("Invalid version ID"); g_abort();
1714 }
1715 }
1716
1717 // GdkWindowImplWayland::mapped
1718
1719 unsigned int gdk_window_impl_wayland_priv_get_mapped(GdkWindowImplWayland * self) {
1720 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1721 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->mapped;
1722 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->mapped;
1723 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->mapped;
1724 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->mapped;
1725 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->mapped;
1726 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->mapped;
1727 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->mapped;
1728 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->mapped;
1729 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->mapped;
1730 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->mapped;
1731 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->mapped;
1732 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->mapped;
1733 default: g_error("Invalid version ID"); g_abort();
1734 }
1735 }
1736
1737 void gdk_window_impl_wayland_priv_set_mapped(GdkWindowImplWayland * self, unsigned int mapped) {
1738 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1739 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->mapped = mapped; break;
1740 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->mapped = mapped; break;
1741 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->mapped = mapped; break;
1742 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->mapped = mapped; break;
1743 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->mapped = mapped; break;
1744 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->mapped = mapped; break;
1745 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->mapped = mapped; break;
1746 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->mapped = mapped; break;
1747 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->mapped = mapped; break;
1748 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->mapped = mapped; break;
1749 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->mapped = mapped; break;
1750 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->mapped = mapped; break;
1751 default: g_error("Invalid version ID"); g_abort();
1752 }
1753 }
1754
1755 // GdkWindowImplWayland::use_custom_surface
1756
1757 unsigned int gdk_window_impl_wayland_priv_get_use_custom_surface(GdkWindowImplWayland * self) {
1758 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1759 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->use_custom_surface;
1760 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->use_custom_surface;
1761 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->use_custom_surface;
1762 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->use_custom_surface;
1763 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->use_custom_surface;
1764 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->use_custom_surface;
1765 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->use_custom_surface;
1766 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->use_custom_surface;
1767 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->use_custom_surface;
1768 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->use_custom_surface;
1769 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->use_custom_surface;
1770 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->use_custom_surface;
1771 default: g_error("Invalid version ID"); g_abort();
1772 }
1773 }
1774
1775 void gdk_window_impl_wayland_priv_set_use_custom_surface(GdkWindowImplWayland * self, unsigned int use_custom_surface) {
1776 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1777 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->use_custom_surface = use_custom_surface; break;
1778 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->use_custom_surface = use_custom_surface; break;
1779 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->use_custom_surface = use_custom_surface; break;
1780 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->use_custom_surface = use_custom_surface; break;
1781 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->use_custom_surface = use_custom_surface; break;
1782 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->use_custom_surface = use_custom_surface; break;
1783 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->use_custom_surface = use_custom_surface; break;
1784 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->use_custom_surface = use_custom_surface; break;
1785 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->use_custom_surface = use_custom_surface; break;
1786 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->use_custom_surface = use_custom_surface; break;
1787 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->use_custom_surface = use_custom_surface; break;
1788 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->use_custom_surface = use_custom_surface; break;
1789 default: g_error("Invalid version ID"); g_abort();
1790 }
1791 }
1792
1793 // GdkWindowImplWayland::pending_buffer_attached
1794
1795 unsigned int gdk_window_impl_wayland_priv_get_pending_buffer_attached(GdkWindowImplWayland * self) {
1796 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1797 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->pending_buffer_attached;
1798 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->pending_buffer_attached;
1799 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->pending_buffer_attached;
1800 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->pending_buffer_attached;
1801 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->pending_buffer_attached;
1802 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->pending_buffer_attached;
1803 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->pending_buffer_attached;
1804 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->pending_buffer_attached;
1805 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->pending_buffer_attached;
1806 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->pending_buffer_attached;
1807 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->pending_buffer_attached;
1808 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->pending_buffer_attached;
1809 default: g_error("Invalid version ID"); g_abort();
1810 }
1811 }
1812
1813 void gdk_window_impl_wayland_priv_set_pending_buffer_attached(GdkWindowImplWayland * self, unsigned int pending_buffer_attached) {
1814 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1815 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->pending_buffer_attached = pending_buffer_attached; break;
1816 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->pending_buffer_attached = pending_buffer_attached; break;
1817 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->pending_buffer_attached = pending_buffer_attached; break;
1818 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->pending_buffer_attached = pending_buffer_attached; break;
1819 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->pending_buffer_attached = pending_buffer_attached; break;
1820 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->pending_buffer_attached = pending_buffer_attached; break;
1821 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->pending_buffer_attached = pending_buffer_attached; break;
1822 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->pending_buffer_attached = pending_buffer_attached; break;
1823 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->pending_buffer_attached = pending_buffer_attached; break;
1824 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->pending_buffer_attached = pending_buffer_attached; break;
1825 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->pending_buffer_attached = pending_buffer_attached; break;
1826 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->pending_buffer_attached = pending_buffer_attached; break;
1827 default: g_error("Invalid version ID"); g_abort();
1828 }
1829 }
1830
1831 // GdkWindowImplWayland::pending_commit
1832
1833 unsigned int gdk_window_impl_wayland_priv_get_pending_commit(GdkWindowImplWayland * self) {
1834 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1835 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->pending_commit;
1836 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->pending_commit;
1837 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->pending_commit;
1838 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->pending_commit;
1839 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->pending_commit;
1840 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->pending_commit;
1841 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->pending_commit;
1842 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->pending_commit;
1843 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->pending_commit;
1844 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->pending_commit;
1845 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->pending_commit;
1846 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->pending_commit;
1847 default: g_error("Invalid version ID"); g_abort();
1848 }
1849 }
1850
1851 void gdk_window_impl_wayland_priv_set_pending_commit(GdkWindowImplWayland * self, unsigned int pending_commit) {
1852 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1853 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->pending_commit = pending_commit; break;
1854 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->pending_commit = pending_commit; break;
1855 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->pending_commit = pending_commit; break;
1856 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->pending_commit = pending_commit; break;
1857 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->pending_commit = pending_commit; break;
1858 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->pending_commit = pending_commit; break;
1859 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->pending_commit = pending_commit; break;
1860 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->pending_commit = pending_commit; break;
1861 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->pending_commit = pending_commit; break;
1862 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->pending_commit = pending_commit; break;
1863 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->pending_commit = pending_commit; break;
1864 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->pending_commit = pending_commit; break;
1865 default: g_error("Invalid version ID"); g_abort();
1866 }
1867 }
1868
1869 // GdkWindowImplWayland::awaiting_frame
1870
1871 unsigned int gdk_window_impl_wayland_priv_get_awaiting_frame(GdkWindowImplWayland * self) {
1872 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1873 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->awaiting_frame;
1874 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->awaiting_frame;
1875 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->awaiting_frame;
1876 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->awaiting_frame;
1877 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->awaiting_frame;
1878 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->awaiting_frame;
1879 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->awaiting_frame;
1880 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->awaiting_frame;
1881 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->awaiting_frame;
1882 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->awaiting_frame;
1883 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->awaiting_frame;
1884 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->awaiting_frame;
1885 default: g_error("Invalid version ID"); g_abort();
1886 }
1887 }
1888
1889 void gdk_window_impl_wayland_priv_set_awaiting_frame(GdkWindowImplWayland * self, unsigned int awaiting_frame) {
1890 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1891 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->awaiting_frame = awaiting_frame; break;
1892 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->awaiting_frame = awaiting_frame; break;
1893 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->awaiting_frame = awaiting_frame; break;
1894 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->awaiting_frame = awaiting_frame; break;
1895 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->awaiting_frame = awaiting_frame; break;
1896 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->awaiting_frame = awaiting_frame; break;
1897 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->awaiting_frame = awaiting_frame; break;
1898 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->awaiting_frame = awaiting_frame; break;
1899 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->awaiting_frame = awaiting_frame; break;
1900 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->awaiting_frame = awaiting_frame; break;
1901 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->awaiting_frame = awaiting_frame; break;
1902 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->awaiting_frame = awaiting_frame; break;
1903 default: g_error("Invalid version ID"); g_abort();
1904 }
1905 }
1906
1907 // GdkWindowImplWayland::hint
1908
1909 GdkWindowTypeHint * gdk_window_impl_wayland_priv_get_hint_ptr(GdkWindowImplWayland * self) {
1910 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1911 case 0: return (GdkWindowTypeHint *)&((struct _GdkWindowImplWayland_v3_22_0*)self)->hint;
1912 case 1: return (GdkWindowTypeHint *)&((struct _GdkWindowImplWayland_v3_22_16*)self)->hint;
1913 case 2: return (GdkWindowTypeHint *)&((struct _GdkWindowImplWayland_v3_22_18*)self)->hint;
1914 case 3: return (GdkWindowTypeHint *)&((struct _GdkWindowImplWayland_v3_22_25*)self)->hint;
1915 case 4: return (GdkWindowTypeHint *)&((struct _GdkWindowImplWayland_v3_22_30*)self)->hint;
1916 case 5: return (GdkWindowTypeHint *)&((struct _GdkWindowImplWayland_v3_23_1*)self)->hint;
1917 case 6: return (GdkWindowTypeHint *)&((struct _GdkWindowImplWayland_v3_23_3*)self)->hint;
1918 case 7: return (GdkWindowTypeHint *)&((struct _GdkWindowImplWayland_v3_24_4*)self)->hint;
1919 case 8: return (GdkWindowTypeHint *)&((struct _GdkWindowImplWayland_v3_24_17*)self)->hint;
1920 case 9: return (GdkWindowTypeHint *)&((struct _GdkWindowImplWayland_v3_24_22*)self)->hint;
1921 case 10: return (GdkWindowTypeHint *)&((struct _GdkWindowImplWayland_v3_24_25*)self)->hint;
1922 case 11: return (GdkWindowTypeHint *)&((struct _GdkWindowImplWayland_v3_24_40*)self)->hint;
1923 default: g_error("Invalid version ID"); g_abort();
1924 }
1925 }
1926
1927 // GdkWindowImplWayland::transient_for
1928
1929 GdkWindow * gdk_window_impl_wayland_priv_get_transient_for(GdkWindowImplWayland * self) {
1930 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1931 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->transient_for;
1932 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->transient_for;
1933 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->transient_for;
1934 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->transient_for;
1935 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->transient_for;
1936 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->transient_for;
1937 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->transient_for;
1938 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->transient_for;
1939 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->transient_for;
1940 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->transient_for;
1941 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->transient_for;
1942 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->transient_for;
1943 default: g_error("Invalid version ID"); g_abort();
1944 }
1945 }
1946
1947 void gdk_window_impl_wayland_priv_set_transient_for(GdkWindowImplWayland * self, GdkWindow * transient_for) {
1948 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1949 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->transient_for = transient_for; break;
1950 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->transient_for = transient_for; break;
1951 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->transient_for = transient_for; break;
1952 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->transient_for = transient_for; break;
1953 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->transient_for = transient_for; break;
1954 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->transient_for = transient_for; break;
1955 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->transient_for = transient_for; break;
1956 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->transient_for = transient_for; break;
1957 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->transient_for = transient_for; break;
1958 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->transient_for = transient_for; break;
1959 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->transient_for = transient_for; break;
1960 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->transient_for = transient_for; break;
1961 default: g_error("Invalid version ID"); g_abort();
1962 }
1963 }
1964
1965 // GdkWindowImplWayland::popup_parent
1966
1967 GdkWindow * gdk_window_impl_wayland_priv_get_popup_parent(GdkWindowImplWayland * self) {
1968 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1969 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->popup_parent;
1970 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->popup_parent;
1971 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->popup_parent;
1972 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->popup_parent;
1973 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->popup_parent;
1974 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->popup_parent;
1975 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->popup_parent;
1976 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->popup_parent;
1977 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->popup_parent;
1978 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->popup_parent;
1979 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->popup_parent;
1980 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->popup_parent;
1981 default: g_error("Invalid version ID"); g_abort();
1982 }
1983 }
1984
1985 void gdk_window_impl_wayland_priv_set_popup_parent(GdkWindowImplWayland * self, GdkWindow * popup_parent) {
1986 switch (gdk_window_impl_wayland_priv_get_version_id()) {
1987 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->popup_parent = popup_parent; break;
1988 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->popup_parent = popup_parent; break;
1989 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->popup_parent = popup_parent; break;
1990 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->popup_parent = popup_parent; break;
1991 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->popup_parent = popup_parent; break;
1992 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->popup_parent = popup_parent; break;
1993 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->popup_parent = popup_parent; break;
1994 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->popup_parent = popup_parent; break;
1995 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->popup_parent = popup_parent; break;
1996 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->popup_parent = popup_parent; break;
1997 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->popup_parent = popup_parent; break;
1998 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->popup_parent = popup_parent; break;
1999 default: g_error("Invalid version ID"); g_abort();
2000 }
2001 }
2002
2003 // GdkWindowImplWayland::position_method
2004
2005 PositionMethod * gdk_window_impl_wayland_priv_get_position_method_ptr(GdkWindowImplWayland * self) {
2006 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2007 case 0: return (PositionMethod *)&((struct _GdkWindowImplWayland_v3_22_0*)self)->position_method;
2008 case 1: return (PositionMethod *)&((struct _GdkWindowImplWayland_v3_22_16*)self)->position_method;
2009 case 2: return (PositionMethod *)&((struct _GdkWindowImplWayland_v3_22_18*)self)->position_method;
2010 case 3: return (PositionMethod *)&((struct _GdkWindowImplWayland_v3_22_25*)self)->position_method;
2011 case 4: return (PositionMethod *)&((struct _GdkWindowImplWayland_v3_22_30*)self)->position_method;
2012 case 5: return (PositionMethod *)&((struct _GdkWindowImplWayland_v3_23_1*)self)->position_method;
2013 case 6: return (PositionMethod *)&((struct _GdkWindowImplWayland_v3_23_3*)self)->position_method;
2014 case 7: return (PositionMethod *)&((struct _GdkWindowImplWayland_v3_24_4*)self)->position_method;
2015 case 8: return (PositionMethod *)&((struct _GdkWindowImplWayland_v3_24_17*)self)->position_method;
2016 case 9: return (PositionMethod *)&((struct _GdkWindowImplWayland_v3_24_22*)self)->position_method;
2017 case 10: return (PositionMethod *)&((struct _GdkWindowImplWayland_v3_24_25*)self)->position_method;
2018 case 11: return (PositionMethod *)&((struct _GdkWindowImplWayland_v3_24_40*)self)->position_method;
2019 default: g_error("Invalid version ID"); g_abort();
2020 }
2021 }
2022
2023 // GdkWindowImplWayland::staging_cairo_surface
2024
2025 cairo_surface_t * gdk_window_impl_wayland_priv_get_staging_cairo_surface(GdkWindowImplWayland * self) {
2026 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2027 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->staging_cairo_surface;
2028 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->staging_cairo_surface;
2029 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->staging_cairo_surface;
2030 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->staging_cairo_surface;
2031 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->staging_cairo_surface;
2032 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->staging_cairo_surface;
2033 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->staging_cairo_surface;
2034 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->staging_cairo_surface;
2035 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->staging_cairo_surface;
2036 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->staging_cairo_surface;
2037 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->staging_cairo_surface;
2038 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->staging_cairo_surface;
2039 default: g_error("Invalid version ID"); g_abort();
2040 }
2041 }
2042
2043 void gdk_window_impl_wayland_priv_set_staging_cairo_surface(GdkWindowImplWayland * self, cairo_surface_t * staging_cairo_surface) {
2044 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2045 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->staging_cairo_surface = staging_cairo_surface; break;
2046 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->staging_cairo_surface = staging_cairo_surface; break;
2047 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->staging_cairo_surface = staging_cairo_surface; break;
2048 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->staging_cairo_surface = staging_cairo_surface; break;
2049 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->staging_cairo_surface = staging_cairo_surface; break;
2050 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->staging_cairo_surface = staging_cairo_surface; break;
2051 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->staging_cairo_surface = staging_cairo_surface; break;
2052 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->staging_cairo_surface = staging_cairo_surface; break;
2053 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->staging_cairo_surface = staging_cairo_surface; break;
2054 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->staging_cairo_surface = staging_cairo_surface; break;
2055 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->staging_cairo_surface = staging_cairo_surface; break;
2056 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->staging_cairo_surface = staging_cairo_surface; break;
2057 default: g_error("Invalid version ID"); g_abort();
2058 }
2059 }
2060
2061 // GdkWindowImplWayland::committed_cairo_surface
2062
2063 cairo_surface_t * gdk_window_impl_wayland_priv_get_committed_cairo_surface(GdkWindowImplWayland * self) {
2064 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2065 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->committed_cairo_surface;
2066 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->committed_cairo_surface;
2067 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->committed_cairo_surface;
2068 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->committed_cairo_surface;
2069 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->committed_cairo_surface;
2070 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->committed_cairo_surface;
2071 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->committed_cairo_surface;
2072 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->committed_cairo_surface;
2073 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->committed_cairo_surface;
2074 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->committed_cairo_surface;
2075 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->committed_cairo_surface;
2076 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->committed_cairo_surface;
2077 default: g_error("Invalid version ID"); g_abort();
2078 }
2079 }
2080
2081 void gdk_window_impl_wayland_priv_set_committed_cairo_surface(GdkWindowImplWayland * self, cairo_surface_t * committed_cairo_surface) {
2082 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2083 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->committed_cairo_surface = committed_cairo_surface; break;
2084 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->committed_cairo_surface = committed_cairo_surface; break;
2085 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->committed_cairo_surface = committed_cairo_surface; break;
2086 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->committed_cairo_surface = committed_cairo_surface; break;
2087 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->committed_cairo_surface = committed_cairo_surface; break;
2088 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->committed_cairo_surface = committed_cairo_surface; break;
2089 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->committed_cairo_surface = committed_cairo_surface; break;
2090 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->committed_cairo_surface = committed_cairo_surface; break;
2091 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->committed_cairo_surface = committed_cairo_surface; break;
2092 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->committed_cairo_surface = committed_cairo_surface; break;
2093 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->committed_cairo_surface = committed_cairo_surface; break;
2094 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->committed_cairo_surface = committed_cairo_surface; break;
2095 default: g_error("Invalid version ID"); g_abort();
2096 }
2097 }
2098
2099 // GdkWindowImplWayland::backfill_cairo_surface
2100
2101 cairo_surface_t * gdk_window_impl_wayland_priv_get_backfill_cairo_surface(GdkWindowImplWayland * self) {
2102 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2103 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->backfill_cairo_surface;
2104 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->backfill_cairo_surface;
2105 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->backfill_cairo_surface;
2106 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->backfill_cairo_surface;
2107 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->backfill_cairo_surface;
2108 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->backfill_cairo_surface;
2109 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->backfill_cairo_surface;
2110 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->backfill_cairo_surface;
2111 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->backfill_cairo_surface;
2112 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->backfill_cairo_surface;
2113 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->backfill_cairo_surface;
2114 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->backfill_cairo_surface;
2115 default: g_error("Invalid version ID"); g_abort();
2116 }
2117 }
2118
2119 void gdk_window_impl_wayland_priv_set_backfill_cairo_surface(GdkWindowImplWayland * self, cairo_surface_t * backfill_cairo_surface) {
2120 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2121 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->backfill_cairo_surface = backfill_cairo_surface; break;
2122 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->backfill_cairo_surface = backfill_cairo_surface; break;
2123 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->backfill_cairo_surface = backfill_cairo_surface; break;
2124 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->backfill_cairo_surface = backfill_cairo_surface; break;
2125 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->backfill_cairo_surface = backfill_cairo_surface; break;
2126 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->backfill_cairo_surface = backfill_cairo_surface; break;
2127 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->backfill_cairo_surface = backfill_cairo_surface; break;
2128 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->backfill_cairo_surface = backfill_cairo_surface; break;
2129 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->backfill_cairo_surface = backfill_cairo_surface; break;
2130 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->backfill_cairo_surface = backfill_cairo_surface; break;
2131 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->backfill_cairo_surface = backfill_cairo_surface; break;
2132 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->backfill_cairo_surface = backfill_cairo_surface; break;
2133 default: g_error("Invalid version ID"); g_abort();
2134 }
2135 }
2136
2137 // GdkWindowImplWayland::pending_buffer_offset_x
2138
2139 int gdk_window_impl_wayland_priv_get_pending_buffer_offset_x(GdkWindowImplWayland * self) {
2140 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2141 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->pending_buffer_offset_x;
2142 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->pending_buffer_offset_x;
2143 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->pending_buffer_offset_x;
2144 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->pending_buffer_offset_x;
2145 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->pending_buffer_offset_x;
2146 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->pending_buffer_offset_x;
2147 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->pending_buffer_offset_x;
2148 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->pending_buffer_offset_x;
2149 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->pending_buffer_offset_x;
2150 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->pending_buffer_offset_x;
2151 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->pending_buffer_offset_x;
2152 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->pending_buffer_offset_x;
2153 default: g_error("Invalid version ID"); g_abort();
2154 }
2155 }
2156
2157 void gdk_window_impl_wayland_priv_set_pending_buffer_offset_x(GdkWindowImplWayland * self, int pending_buffer_offset_x) {
2158 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2159 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->pending_buffer_offset_x = pending_buffer_offset_x; break;
2160 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->pending_buffer_offset_x = pending_buffer_offset_x; break;
2161 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->pending_buffer_offset_x = pending_buffer_offset_x; break;
2162 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->pending_buffer_offset_x = pending_buffer_offset_x; break;
2163 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->pending_buffer_offset_x = pending_buffer_offset_x; break;
2164 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->pending_buffer_offset_x = pending_buffer_offset_x; break;
2165 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->pending_buffer_offset_x = pending_buffer_offset_x; break;
2166 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->pending_buffer_offset_x = pending_buffer_offset_x; break;
2167 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->pending_buffer_offset_x = pending_buffer_offset_x; break;
2168 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->pending_buffer_offset_x = pending_buffer_offset_x; break;
2169 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->pending_buffer_offset_x = pending_buffer_offset_x; break;
2170 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->pending_buffer_offset_x = pending_buffer_offset_x; break;
2171 default: g_error("Invalid version ID"); g_abort();
2172 }
2173 }
2174
2175 // GdkWindowImplWayland::pending_buffer_offset_y
2176
2177 int gdk_window_impl_wayland_priv_get_pending_buffer_offset_y(GdkWindowImplWayland * self) {
2178 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2179 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->pending_buffer_offset_y;
2180 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->pending_buffer_offset_y;
2181 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->pending_buffer_offset_y;
2182 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->pending_buffer_offset_y;
2183 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->pending_buffer_offset_y;
2184 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->pending_buffer_offset_y;
2185 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->pending_buffer_offset_y;
2186 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->pending_buffer_offset_y;
2187 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->pending_buffer_offset_y;
2188 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->pending_buffer_offset_y;
2189 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->pending_buffer_offset_y;
2190 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->pending_buffer_offset_y;
2191 default: g_error("Invalid version ID"); g_abort();
2192 }
2193 }
2194
2195 void gdk_window_impl_wayland_priv_set_pending_buffer_offset_y(GdkWindowImplWayland * self, int pending_buffer_offset_y) {
2196 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2197 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->pending_buffer_offset_y = pending_buffer_offset_y; break;
2198 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->pending_buffer_offset_y = pending_buffer_offset_y; break;
2199 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->pending_buffer_offset_y = pending_buffer_offset_y; break;
2200 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->pending_buffer_offset_y = pending_buffer_offset_y; break;
2201 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->pending_buffer_offset_y = pending_buffer_offset_y; break;
2202 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->pending_buffer_offset_y = pending_buffer_offset_y; break;
2203 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->pending_buffer_offset_y = pending_buffer_offset_y; break;
2204 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->pending_buffer_offset_y = pending_buffer_offset_y; break;
2205 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->pending_buffer_offset_y = pending_buffer_offset_y; break;
2206 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->pending_buffer_offset_y = pending_buffer_offset_y; break;
2207 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->pending_buffer_offset_y = pending_buffer_offset_y; break;
2208 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->pending_buffer_offset_y = pending_buffer_offset_y; break;
2209 default: g_error("Invalid version ID"); g_abort();
2210 }
2211 }
2212
2213 // GdkWindowImplWayland::title
2214
2215 gchar * gdk_window_impl_wayland_priv_get_title(GdkWindowImplWayland * self) {
2216 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2217 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->title;
2218 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->title;
2219 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->title;
2220 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->title;
2221 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->title;
2222 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->title;
2223 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->title;
2224 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->title;
2225 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->title;
2226 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->title;
2227 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->title;
2228 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->title;
2229 default: g_error("Invalid version ID"); g_abort();
2230 }
2231 }
2232
2233 void gdk_window_impl_wayland_priv_set_title(GdkWindowImplWayland * self, gchar * title) {
2234 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2235 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->title = title; break;
2236 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->title = title; break;
2237 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->title = title; break;
2238 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->title = title; break;
2239 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->title = title; break;
2240 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->title = title; break;
2241 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->title = title; break;
2242 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->title = title; break;
2243 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->title = title; break;
2244 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->title = title; break;
2245 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->title = title; break;
2246 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->title = title; break;
2247 default: g_error("Invalid version ID"); g_abort();
2248 }
2249 }
2250
2251 // GdkWindowImplWayland::application.was_set
2252
2253 gboolean gdk_window_impl_wayland_priv_get_application_was_set(GdkWindowImplWayland * self) {
2254 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2255 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->application.was_set;
2256 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->application.was_set;
2257 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->application.was_set;
2258 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->application.was_set;
2259 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->application.was_set;
2260 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->application.was_set;
2261 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->application.was_set;
2262 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->application.was_set;
2263 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->application.was_set;
2264 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->application.was_set;
2265 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->application.was_set;
2266 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->application.was_set;
2267 default: g_error("Invalid version ID"); g_abort();
2268 }
2269 }
2270
2271 void gdk_window_impl_wayland_priv_set_application_was_set(GdkWindowImplWayland * self, gboolean application_was_set) {
2272 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2273 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->application.was_set = application_was_set; break;
2274 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->application.was_set = application_was_set; break;
2275 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->application.was_set = application_was_set; break;
2276 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->application.was_set = application_was_set; break;
2277 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->application.was_set = application_was_set; break;
2278 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->application.was_set = application_was_set; break;
2279 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->application.was_set = application_was_set; break;
2280 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->application.was_set = application_was_set; break;
2281 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->application.was_set = application_was_set; break;
2282 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->application.was_set = application_was_set; break;
2283 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->application.was_set = application_was_set; break;
2284 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->application.was_set = application_was_set; break;
2285 default: g_error("Invalid version ID"); g_abort();
2286 }
2287 }
2288
2289 // GdkWindowImplWayland::application.application_id
2290
2291 gchar * gdk_window_impl_wayland_priv_get_application_application_id(GdkWindowImplWayland * self) {
2292 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2293 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->application.application_id;
2294 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->application.application_id;
2295 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->application.application_id;
2296 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->application.application_id;
2297 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->application.application_id;
2298 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->application.application_id;
2299 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->application.application_id;
2300 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->application.application_id;
2301 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->application.application_id;
2302 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->application.application_id;
2303 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->application.application_id;
2304 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->application.application_id;
2305 default: g_error("Invalid version ID"); g_abort();
2306 }
2307 }
2308
2309 void gdk_window_impl_wayland_priv_set_application_application_id(GdkWindowImplWayland * self, gchar * application_application_id) {
2310 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2311 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->application.application_id = application_application_id; break;
2312 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->application.application_id = application_application_id; break;
2313 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->application.application_id = application_application_id; break;
2314 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->application.application_id = application_application_id; break;
2315 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->application.application_id = application_application_id; break;
2316 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->application.application_id = application_application_id; break;
2317 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->application.application_id = application_application_id; break;
2318 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->application.application_id = application_application_id; break;
2319 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->application.application_id = application_application_id; break;
2320 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->application.application_id = application_application_id; break;
2321 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->application.application_id = application_application_id; break;
2322 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->application.application_id = application_application_id; break;
2323 default: g_error("Invalid version ID"); g_abort();
2324 }
2325 }
2326
2327 // GdkWindowImplWayland::application.app_menu_path
2328
2329 gchar * gdk_window_impl_wayland_priv_get_application_app_menu_path(GdkWindowImplWayland * self) {
2330 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2331 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->application.app_menu_path;
2332 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->application.app_menu_path;
2333 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->application.app_menu_path;
2334 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->application.app_menu_path;
2335 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->application.app_menu_path;
2336 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->application.app_menu_path;
2337 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->application.app_menu_path;
2338 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->application.app_menu_path;
2339 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->application.app_menu_path;
2340 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->application.app_menu_path;
2341 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->application.app_menu_path;
2342 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->application.app_menu_path;
2343 default: g_error("Invalid version ID"); g_abort();
2344 }
2345 }
2346
2347 void gdk_window_impl_wayland_priv_set_application_app_menu_path(GdkWindowImplWayland * self, gchar * application_app_menu_path) {
2348 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2349 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->application.app_menu_path = application_app_menu_path; break;
2350 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->application.app_menu_path = application_app_menu_path; break;
2351 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->application.app_menu_path = application_app_menu_path; break;
2352 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->application.app_menu_path = application_app_menu_path; break;
2353 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->application.app_menu_path = application_app_menu_path; break;
2354 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->application.app_menu_path = application_app_menu_path; break;
2355 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->application.app_menu_path = application_app_menu_path; break;
2356 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->application.app_menu_path = application_app_menu_path; break;
2357 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->application.app_menu_path = application_app_menu_path; break;
2358 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->application.app_menu_path = application_app_menu_path; break;
2359 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->application.app_menu_path = application_app_menu_path; break;
2360 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->application.app_menu_path = application_app_menu_path; break;
2361 default: g_error("Invalid version ID"); g_abort();
2362 }
2363 }
2364
2365 // GdkWindowImplWayland::application.menubar_path
2366
2367 gchar * gdk_window_impl_wayland_priv_get_application_menubar_path(GdkWindowImplWayland * self) {
2368 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2369 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->application.menubar_path;
2370 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->application.menubar_path;
2371 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->application.menubar_path;
2372 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->application.menubar_path;
2373 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->application.menubar_path;
2374 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->application.menubar_path;
2375 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->application.menubar_path;
2376 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->application.menubar_path;
2377 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->application.menubar_path;
2378 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->application.menubar_path;
2379 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->application.menubar_path;
2380 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->application.menubar_path;
2381 default: g_error("Invalid version ID"); g_abort();
2382 }
2383 }
2384
2385 void gdk_window_impl_wayland_priv_set_application_menubar_path(GdkWindowImplWayland * self, gchar * application_menubar_path) {
2386 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2387 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->application.menubar_path = application_menubar_path; break;
2388 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->application.menubar_path = application_menubar_path; break;
2389 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->application.menubar_path = application_menubar_path; break;
2390 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->application.menubar_path = application_menubar_path; break;
2391 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->application.menubar_path = application_menubar_path; break;
2392 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->application.menubar_path = application_menubar_path; break;
2393 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->application.menubar_path = application_menubar_path; break;
2394 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->application.menubar_path = application_menubar_path; break;
2395 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->application.menubar_path = application_menubar_path; break;
2396 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->application.menubar_path = application_menubar_path; break;
2397 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->application.menubar_path = application_menubar_path; break;
2398 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->application.menubar_path = application_menubar_path; break;
2399 default: g_error("Invalid version ID"); g_abort();
2400 }
2401 }
2402
2403 // GdkWindowImplWayland::application.window_object_path
2404
2405 gchar * gdk_window_impl_wayland_priv_get_application_window_object_path(GdkWindowImplWayland * self) {
2406 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2407 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->application.window_object_path;
2408 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->application.window_object_path;
2409 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->application.window_object_path;
2410 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->application.window_object_path;
2411 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->application.window_object_path;
2412 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->application.window_object_path;
2413 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->application.window_object_path;
2414 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->application.window_object_path;
2415 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->application.window_object_path;
2416 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->application.window_object_path;
2417 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->application.window_object_path;
2418 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->application.window_object_path;
2419 default: g_error("Invalid version ID"); g_abort();
2420 }
2421 }
2422
2423 void gdk_window_impl_wayland_priv_set_application_window_object_path(GdkWindowImplWayland * self, gchar * application_window_object_path) {
2424 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2425 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->application.window_object_path = application_window_object_path; break;
2426 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->application.window_object_path = application_window_object_path; break;
2427 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->application.window_object_path = application_window_object_path; break;
2428 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->application.window_object_path = application_window_object_path; break;
2429 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->application.window_object_path = application_window_object_path; break;
2430 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->application.window_object_path = application_window_object_path; break;
2431 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->application.window_object_path = application_window_object_path; break;
2432 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->application.window_object_path = application_window_object_path; break;
2433 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->application.window_object_path = application_window_object_path; break;
2434 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->application.window_object_path = application_window_object_path; break;
2435 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->application.window_object_path = application_window_object_path; break;
2436 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->application.window_object_path = application_window_object_path; break;
2437 default: g_error("Invalid version ID"); g_abort();
2438 }
2439 }
2440
2441 // GdkWindowImplWayland::application.application_object_path
2442
2443 gchar * gdk_window_impl_wayland_priv_get_application_application_object_path(GdkWindowImplWayland * self) {
2444 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2445 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->application.application_object_path;
2446 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->application.application_object_path;
2447 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->application.application_object_path;
2448 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->application.application_object_path;
2449 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->application.application_object_path;
2450 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->application.application_object_path;
2451 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->application.application_object_path;
2452 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->application.application_object_path;
2453 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->application.application_object_path;
2454 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->application.application_object_path;
2455 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->application.application_object_path;
2456 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->application.application_object_path;
2457 default: g_error("Invalid version ID"); g_abort();
2458 }
2459 }
2460
2461 void gdk_window_impl_wayland_priv_set_application_application_object_path(GdkWindowImplWayland * self, gchar * application_application_object_path) {
2462 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2463 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->application.application_object_path = application_application_object_path; break;
2464 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->application.application_object_path = application_application_object_path; break;
2465 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->application.application_object_path = application_application_object_path; break;
2466 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->application.application_object_path = application_application_object_path; break;
2467 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->application.application_object_path = application_application_object_path; break;
2468 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->application.application_object_path = application_application_object_path; break;
2469 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->application.application_object_path = application_application_object_path; break;
2470 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->application.application_object_path = application_application_object_path; break;
2471 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->application.application_object_path = application_application_object_path; break;
2472 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->application.application_object_path = application_application_object_path; break;
2473 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->application.application_object_path = application_application_object_path; break;
2474 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->application.application_object_path = application_application_object_path; break;
2475 default: g_error("Invalid version ID"); g_abort();
2476 }
2477 }
2478
2479 // GdkWindowImplWayland::application.unique_bus_name
2480
2481 gchar * gdk_window_impl_wayland_priv_get_application_unique_bus_name(GdkWindowImplWayland * self) {
2482 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2483 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->application.unique_bus_name;
2484 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->application.unique_bus_name;
2485 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->application.unique_bus_name;
2486 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->application.unique_bus_name;
2487 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->application.unique_bus_name;
2488 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->application.unique_bus_name;
2489 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->application.unique_bus_name;
2490 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->application.unique_bus_name;
2491 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->application.unique_bus_name;
2492 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->application.unique_bus_name;
2493 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->application.unique_bus_name;
2494 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->application.unique_bus_name;
2495 default: g_error("Invalid version ID"); g_abort();
2496 }
2497 }
2498
2499 void gdk_window_impl_wayland_priv_set_application_unique_bus_name(GdkWindowImplWayland * self, gchar * application_unique_bus_name) {
2500 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2501 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->application.unique_bus_name = application_unique_bus_name; break;
2502 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->application.unique_bus_name = application_unique_bus_name; break;
2503 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->application.unique_bus_name = application_unique_bus_name; break;
2504 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->application.unique_bus_name = application_unique_bus_name; break;
2505 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->application.unique_bus_name = application_unique_bus_name; break;
2506 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->application.unique_bus_name = application_unique_bus_name; break;
2507 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->application.unique_bus_name = application_unique_bus_name; break;
2508 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->application.unique_bus_name = application_unique_bus_name; break;
2509 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->application.unique_bus_name = application_unique_bus_name; break;
2510 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->application.unique_bus_name = application_unique_bus_name; break;
2511 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->application.unique_bus_name = application_unique_bus_name; break;
2512 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->application.unique_bus_name = application_unique_bus_name; break;
2513 default: g_error("Invalid version ID"); g_abort();
2514 }
2515 }
2516
2517 // GdkWindowImplWayland::geometry_hints
2518
2519 GdkGeometry * gdk_window_impl_wayland_priv_get_geometry_hints_ptr(GdkWindowImplWayland * self) {
2520 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2521 case 0: return (GdkGeometry *)&((struct _GdkWindowImplWayland_v3_22_0*)self)->geometry_hints;
2522 case 1: return (GdkGeometry *)&((struct _GdkWindowImplWayland_v3_22_16*)self)->geometry_hints;
2523 case 2: return (GdkGeometry *)&((struct _GdkWindowImplWayland_v3_22_18*)self)->geometry_hints;
2524 case 3: return (GdkGeometry *)&((struct _GdkWindowImplWayland_v3_22_25*)self)->geometry_hints;
2525 case 4: return (GdkGeometry *)&((struct _GdkWindowImplWayland_v3_22_30*)self)->geometry_hints;
2526 case 5: return (GdkGeometry *)&((struct _GdkWindowImplWayland_v3_23_1*)self)->geometry_hints;
2527 case 6: return (GdkGeometry *)&((struct _GdkWindowImplWayland_v3_23_3*)self)->geometry_hints;
2528 case 7: return (GdkGeometry *)&((struct _GdkWindowImplWayland_v3_24_4*)self)->geometry_hints;
2529 case 8: return (GdkGeometry *)&((struct _GdkWindowImplWayland_v3_24_17*)self)->geometry_hints;
2530 case 9: return (GdkGeometry *)&((struct _GdkWindowImplWayland_v3_24_22*)self)->geometry_hints;
2531 case 10: return (GdkGeometry *)&((struct _GdkWindowImplWayland_v3_24_25*)self)->geometry_hints;
2532 case 11: return (GdkGeometry *)&((struct _GdkWindowImplWayland_v3_24_40*)self)->geometry_hints;
2533 default: g_error("Invalid version ID"); g_abort();
2534 }
2535 }
2536
2537 // GdkWindowImplWayland::geometry_mask
2538
2539 GdkWindowHints * gdk_window_impl_wayland_priv_get_geometry_mask_ptr(GdkWindowImplWayland * self) {
2540 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2541 case 0: return (GdkWindowHints *)&((struct _GdkWindowImplWayland_v3_22_0*)self)->geometry_mask;
2542 case 1: return (GdkWindowHints *)&((struct _GdkWindowImplWayland_v3_22_16*)self)->geometry_mask;
2543 case 2: return (GdkWindowHints *)&((struct _GdkWindowImplWayland_v3_22_18*)self)->geometry_mask;
2544 case 3: return (GdkWindowHints *)&((struct _GdkWindowImplWayland_v3_22_25*)self)->geometry_mask;
2545 case 4: return (GdkWindowHints *)&((struct _GdkWindowImplWayland_v3_22_30*)self)->geometry_mask;
2546 case 5: return (GdkWindowHints *)&((struct _GdkWindowImplWayland_v3_23_1*)self)->geometry_mask;
2547 case 6: return (GdkWindowHints *)&((struct _GdkWindowImplWayland_v3_23_3*)self)->geometry_mask;
2548 case 7: return (GdkWindowHints *)&((struct _GdkWindowImplWayland_v3_24_4*)self)->geometry_mask;
2549 case 8: return (GdkWindowHints *)&((struct _GdkWindowImplWayland_v3_24_17*)self)->geometry_mask;
2550 case 9: return (GdkWindowHints *)&((struct _GdkWindowImplWayland_v3_24_22*)self)->geometry_mask;
2551 case 10: return (GdkWindowHints *)&((struct _GdkWindowImplWayland_v3_24_25*)self)->geometry_mask;
2552 case 11: return (GdkWindowHints *)&((struct _GdkWindowImplWayland_v3_24_40*)self)->geometry_mask;
2553 default: g_error("Invalid version ID"); g_abort();
2554 }
2555 }
2556
2557 // GdkWindowImplWayland::grab_input_seat
2558
2559 GdkSeat * gdk_window_impl_wayland_priv_get_grab_input_seat(GdkWindowImplWayland * self) {
2560 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2561 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->grab_input_seat;
2562 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->grab_input_seat;
2563 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->grab_input_seat;
2564 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->grab_input_seat;
2565 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->grab_input_seat;
2566 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->grab_input_seat;
2567 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->grab_input_seat;
2568 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->grab_input_seat;
2569 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->grab_input_seat;
2570 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->grab_input_seat;
2571 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->grab_input_seat;
2572 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->grab_input_seat;
2573 default: g_error("Invalid version ID"); g_abort();
2574 }
2575 }
2576
2577 void gdk_window_impl_wayland_priv_set_grab_input_seat(GdkWindowImplWayland * self, GdkSeat * grab_input_seat) {
2578 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2579 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->grab_input_seat = grab_input_seat; break;
2580 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->grab_input_seat = grab_input_seat; break;
2581 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->grab_input_seat = grab_input_seat; break;
2582 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->grab_input_seat = grab_input_seat; break;
2583 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->grab_input_seat = grab_input_seat; break;
2584 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->grab_input_seat = grab_input_seat; break;
2585 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->grab_input_seat = grab_input_seat; break;
2586 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->grab_input_seat = grab_input_seat; break;
2587 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->grab_input_seat = grab_input_seat; break;
2588 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->grab_input_seat = grab_input_seat; break;
2589 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->grab_input_seat = grab_input_seat; break;
2590 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->grab_input_seat = grab_input_seat; break;
2591 default: g_error("Invalid version ID"); g_abort();
2592 }
2593 }
2594
2595 // GdkWindowImplWayland::pending_frame_counter
2596
2597 gint64 * gdk_window_impl_wayland_priv_get_pending_frame_counter_ptr(GdkWindowImplWayland * self) {
2598 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2599 case 0: return (gint64 *)&((struct _GdkWindowImplWayland_v3_22_0*)self)->pending_frame_counter;
2600 case 1: return (gint64 *)&((struct _GdkWindowImplWayland_v3_22_16*)self)->pending_frame_counter;
2601 case 2: return (gint64 *)&((struct _GdkWindowImplWayland_v3_22_18*)self)->pending_frame_counter;
2602 case 3: return (gint64 *)&((struct _GdkWindowImplWayland_v3_22_25*)self)->pending_frame_counter;
2603 case 4: return (gint64 *)&((struct _GdkWindowImplWayland_v3_22_30*)self)->pending_frame_counter;
2604 case 5: return (gint64 *)&((struct _GdkWindowImplWayland_v3_23_1*)self)->pending_frame_counter;
2605 case 6: return (gint64 *)&((struct _GdkWindowImplWayland_v3_23_3*)self)->pending_frame_counter;
2606 case 7: return (gint64 *)&((struct _GdkWindowImplWayland_v3_24_4*)self)->pending_frame_counter;
2607 case 8: return (gint64 *)&((struct _GdkWindowImplWayland_v3_24_17*)self)->pending_frame_counter;
2608 case 9: return (gint64 *)&((struct _GdkWindowImplWayland_v3_24_22*)self)->pending_frame_counter;
2609 case 10: return (gint64 *)&((struct _GdkWindowImplWayland_v3_24_25*)self)->pending_frame_counter;
2610 case 11: return (gint64 *)&((struct _GdkWindowImplWayland_v3_24_40*)self)->pending_frame_counter;
2611 default: g_error("Invalid version ID"); g_abort();
2612 }
2613 }
2614
2615 // GdkWindowImplWayland::scale
2616
2617 guint32 * gdk_window_impl_wayland_priv_get_scale_ptr(GdkWindowImplWayland * self) {
2618 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2619 case 0: return (guint32 *)&((struct _GdkWindowImplWayland_v3_22_0*)self)->scale;
2620 case 1: return (guint32 *)&((struct _GdkWindowImplWayland_v3_22_16*)self)->scale;
2621 case 2: return (guint32 *)&((struct _GdkWindowImplWayland_v3_22_18*)self)->scale;
2622 case 3: return (guint32 *)&((struct _GdkWindowImplWayland_v3_22_25*)self)->scale;
2623 case 4: return (guint32 *)&((struct _GdkWindowImplWayland_v3_22_30*)self)->scale;
2624 case 5: return (guint32 *)&((struct _GdkWindowImplWayland_v3_23_1*)self)->scale;
2625 case 6: return (guint32 *)&((struct _GdkWindowImplWayland_v3_23_3*)self)->scale;
2626 case 7: return (guint32 *)&((struct _GdkWindowImplWayland_v3_24_4*)self)->scale;
2627 case 8: return (guint32 *)&((struct _GdkWindowImplWayland_v3_24_17*)self)->scale;
2628 case 9: return (guint32 *)&((struct _GdkWindowImplWayland_v3_24_22*)self)->scale;
2629 case 10: return (guint32 *)&((struct _GdkWindowImplWayland_v3_24_25*)self)->scale;
2630 case 11: return (guint32 *)&((struct _GdkWindowImplWayland_v3_24_40*)self)->scale;
2631 default: g_error("Invalid version ID"); g_abort();
2632 }
2633 }
2634
2635 // GdkWindowImplWayland::margin_left
2636
2637 int gdk_window_impl_wayland_priv_get_margin_left(GdkWindowImplWayland * self) {
2638 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2639 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->margin_left;
2640 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->margin_left;
2641 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->margin_left;
2642 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->margin_left;
2643 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->margin_left;
2644 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->margin_left;
2645 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->margin_left;
2646 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->margin_left;
2647 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->margin_left;
2648 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->margin_left;
2649 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->margin_left;
2650 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->margin_left;
2651 default: g_error("Invalid version ID"); g_abort();
2652 }
2653 }
2654
2655 void gdk_window_impl_wayland_priv_set_margin_left(GdkWindowImplWayland * self, int margin_left) {
2656 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2657 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->margin_left = margin_left; break;
2658 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->margin_left = margin_left; break;
2659 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->margin_left = margin_left; break;
2660 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->margin_left = margin_left; break;
2661 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->margin_left = margin_left; break;
2662 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->margin_left = margin_left; break;
2663 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->margin_left = margin_left; break;
2664 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->margin_left = margin_left; break;
2665 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->margin_left = margin_left; break;
2666 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->margin_left = margin_left; break;
2667 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->margin_left = margin_left; break;
2668 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->margin_left = margin_left; break;
2669 default: g_error("Invalid version ID"); g_abort();
2670 }
2671 }
2672
2673 // GdkWindowImplWayland::margin_right
2674
2675 int gdk_window_impl_wayland_priv_get_margin_right(GdkWindowImplWayland * self) {
2676 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2677 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->margin_right;
2678 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->margin_right;
2679 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->margin_right;
2680 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->margin_right;
2681 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->margin_right;
2682 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->margin_right;
2683 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->margin_right;
2684 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->margin_right;
2685 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->margin_right;
2686 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->margin_right;
2687 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->margin_right;
2688 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->margin_right;
2689 default: g_error("Invalid version ID"); g_abort();
2690 }
2691 }
2692
2693 void gdk_window_impl_wayland_priv_set_margin_right(GdkWindowImplWayland * self, int margin_right) {
2694 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2695 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->margin_right = margin_right; break;
2696 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->margin_right = margin_right; break;
2697 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->margin_right = margin_right; break;
2698 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->margin_right = margin_right; break;
2699 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->margin_right = margin_right; break;
2700 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->margin_right = margin_right; break;
2701 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->margin_right = margin_right; break;
2702 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->margin_right = margin_right; break;
2703 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->margin_right = margin_right; break;
2704 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->margin_right = margin_right; break;
2705 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->margin_right = margin_right; break;
2706 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->margin_right = margin_right; break;
2707 default: g_error("Invalid version ID"); g_abort();
2708 }
2709 }
2710
2711 // GdkWindowImplWayland::margin_top
2712
2713 int gdk_window_impl_wayland_priv_get_margin_top(GdkWindowImplWayland * self) {
2714 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2715 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->margin_top;
2716 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->margin_top;
2717 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->margin_top;
2718 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->margin_top;
2719 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->margin_top;
2720 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->margin_top;
2721 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->margin_top;
2722 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->margin_top;
2723 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->margin_top;
2724 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->margin_top;
2725 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->margin_top;
2726 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->margin_top;
2727 default: g_error("Invalid version ID"); g_abort();
2728 }
2729 }
2730
2731 void gdk_window_impl_wayland_priv_set_margin_top(GdkWindowImplWayland * self, int margin_top) {
2732 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2733 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->margin_top = margin_top; break;
2734 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->margin_top = margin_top; break;
2735 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->margin_top = margin_top; break;
2736 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->margin_top = margin_top; break;
2737 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->margin_top = margin_top; break;
2738 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->margin_top = margin_top; break;
2739 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->margin_top = margin_top; break;
2740 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->margin_top = margin_top; break;
2741 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->margin_top = margin_top; break;
2742 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->margin_top = margin_top; break;
2743 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->margin_top = margin_top; break;
2744 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->margin_top = margin_top; break;
2745 default: g_error("Invalid version ID"); g_abort();
2746 }
2747 }
2748
2749 // GdkWindowImplWayland::margin_bottom
2750
2751 int gdk_window_impl_wayland_priv_get_margin_bottom(GdkWindowImplWayland * self) {
2752 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2753 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->margin_bottom;
2754 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->margin_bottom;
2755 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->margin_bottom;
2756 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->margin_bottom;
2757 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->margin_bottom;
2758 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->margin_bottom;
2759 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->margin_bottom;
2760 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->margin_bottom;
2761 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->margin_bottom;
2762 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->margin_bottom;
2763 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->margin_bottom;
2764 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->margin_bottom;
2765 default: g_error("Invalid version ID"); g_abort();
2766 }
2767 }
2768
2769 void gdk_window_impl_wayland_priv_set_margin_bottom(GdkWindowImplWayland * self, int margin_bottom) {
2770 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2771 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->margin_bottom = margin_bottom; break;
2772 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->margin_bottom = margin_bottom; break;
2773 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->margin_bottom = margin_bottom; break;
2774 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->margin_bottom = margin_bottom; break;
2775 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->margin_bottom = margin_bottom; break;
2776 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->margin_bottom = margin_bottom; break;
2777 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->margin_bottom = margin_bottom; break;
2778 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->margin_bottom = margin_bottom; break;
2779 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->margin_bottom = margin_bottom; break;
2780 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->margin_bottom = margin_bottom; break;
2781 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->margin_bottom = margin_bottom; break;
2782 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->margin_bottom = margin_bottom; break;
2783 default: g_error("Invalid version ID"); g_abort();
2784 }
2785 }
2786
2787 // GdkWindowImplWayland::margin_dirty
2788
2789 gboolean gdk_window_impl_wayland_priv_get_margin_dirty(GdkWindowImplWayland * self) {
2790 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2791 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->margin_dirty;
2792 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->margin_dirty;
2793 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->margin_dirty;
2794 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->margin_dirty;
2795 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->margin_dirty;
2796 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->margin_dirty;
2797 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->margin_dirty;
2798 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->margin_dirty;
2799 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->margin_dirty;
2800 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->margin_dirty;
2801 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->margin_dirty;
2802 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->margin_dirty;
2803 default: g_error("Invalid version ID"); g_abort();
2804 }
2805 }
2806
2807 void gdk_window_impl_wayland_priv_set_margin_dirty(GdkWindowImplWayland * self, gboolean margin_dirty) {
2808 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2809 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->margin_dirty = margin_dirty; break;
2810 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->margin_dirty = margin_dirty; break;
2811 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->margin_dirty = margin_dirty; break;
2812 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->margin_dirty = margin_dirty; break;
2813 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->margin_dirty = margin_dirty; break;
2814 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->margin_dirty = margin_dirty; break;
2815 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->margin_dirty = margin_dirty; break;
2816 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->margin_dirty = margin_dirty; break;
2817 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->margin_dirty = margin_dirty; break;
2818 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->margin_dirty = margin_dirty; break;
2819 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->margin_dirty = margin_dirty; break;
2820 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->margin_dirty = margin_dirty; break;
2821 default: g_error("Invalid version ID"); g_abort();
2822 }
2823 }
2824
2825 // GdkWindowImplWayland::initial_fullscreen_monitor
2826
2827 int gdk_window_impl_wayland_priv_get_initial_fullscreen_monitor(GdkWindowImplWayland * self) {
2828 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2829 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->initial_fullscreen_monitor;
2830 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->initial_fullscreen_monitor;
2831 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->initial_fullscreen_monitor;
2832 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->initial_fullscreen_monitor;
2833 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->initial_fullscreen_monitor;
2834 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->initial_fullscreen_monitor;
2835 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->initial_fullscreen_monitor;
2836 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->initial_fullscreen_monitor;
2837 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->initial_fullscreen_monitor;
2838 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->initial_fullscreen_monitor;
2839 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->initial_fullscreen_monitor;
2840 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->initial_fullscreen_monitor;
2841 default: g_error("Invalid version ID"); g_abort();
2842 }
2843 }
2844
2845 void gdk_window_impl_wayland_priv_set_initial_fullscreen_monitor(GdkWindowImplWayland * self, int initial_fullscreen_monitor) {
2846 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2847 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->initial_fullscreen_monitor = initial_fullscreen_monitor; break;
2848 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->initial_fullscreen_monitor = initial_fullscreen_monitor; break;
2849 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->initial_fullscreen_monitor = initial_fullscreen_monitor; break;
2850 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->initial_fullscreen_monitor = initial_fullscreen_monitor; break;
2851 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->initial_fullscreen_monitor = initial_fullscreen_monitor; break;
2852 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->initial_fullscreen_monitor = initial_fullscreen_monitor; break;
2853 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->initial_fullscreen_monitor = initial_fullscreen_monitor; break;
2854 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->initial_fullscreen_monitor = initial_fullscreen_monitor; break;
2855 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->initial_fullscreen_monitor = initial_fullscreen_monitor; break;
2856 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->initial_fullscreen_monitor = initial_fullscreen_monitor; break;
2857 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->initial_fullscreen_monitor = initial_fullscreen_monitor; break;
2858 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->initial_fullscreen_monitor = initial_fullscreen_monitor; break;
2859 default: g_error("Invalid version ID"); g_abort();
2860 }
2861 }
2862
2863 // GdkWindowImplWayland::opaque_region
2864
2865 cairo_region_t * gdk_window_impl_wayland_priv_get_opaque_region(GdkWindowImplWayland * self) {
2866 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2867 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->opaque_region;
2868 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->opaque_region;
2869 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->opaque_region;
2870 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->opaque_region;
2871 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->opaque_region;
2872 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->opaque_region;
2873 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->opaque_region;
2874 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->opaque_region;
2875 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->opaque_region;
2876 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->opaque_region;
2877 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->opaque_region;
2878 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->opaque_region;
2879 default: g_error("Invalid version ID"); g_abort();
2880 }
2881 }
2882
2883 void gdk_window_impl_wayland_priv_set_opaque_region(GdkWindowImplWayland * self, cairo_region_t * opaque_region) {
2884 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2885 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->opaque_region = opaque_region; break;
2886 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->opaque_region = opaque_region; break;
2887 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->opaque_region = opaque_region; break;
2888 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->opaque_region = opaque_region; break;
2889 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->opaque_region = opaque_region; break;
2890 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->opaque_region = opaque_region; break;
2891 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->opaque_region = opaque_region; break;
2892 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->opaque_region = opaque_region; break;
2893 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->opaque_region = opaque_region; break;
2894 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->opaque_region = opaque_region; break;
2895 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->opaque_region = opaque_region; break;
2896 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->opaque_region = opaque_region; break;
2897 default: g_error("Invalid version ID"); g_abort();
2898 }
2899 }
2900
2901 // GdkWindowImplWayland::opaque_region_dirty
2902
2903 gboolean gdk_window_impl_wayland_priv_get_opaque_region_dirty(GdkWindowImplWayland * self) {
2904 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2905 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->opaque_region_dirty;
2906 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->opaque_region_dirty;
2907 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->opaque_region_dirty;
2908 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->opaque_region_dirty;
2909 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->opaque_region_dirty;
2910 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->opaque_region_dirty;
2911 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->opaque_region_dirty;
2912 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->opaque_region_dirty;
2913 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->opaque_region_dirty;
2914 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->opaque_region_dirty;
2915 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->opaque_region_dirty;
2916 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->opaque_region_dirty;
2917 default: g_error("Invalid version ID"); g_abort();
2918 }
2919 }
2920
2921 void gdk_window_impl_wayland_priv_set_opaque_region_dirty(GdkWindowImplWayland * self, gboolean opaque_region_dirty) {
2922 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2923 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->opaque_region_dirty = opaque_region_dirty; break;
2924 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->opaque_region_dirty = opaque_region_dirty; break;
2925 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->opaque_region_dirty = opaque_region_dirty; break;
2926 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->opaque_region_dirty = opaque_region_dirty; break;
2927 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->opaque_region_dirty = opaque_region_dirty; break;
2928 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->opaque_region_dirty = opaque_region_dirty; break;
2929 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->opaque_region_dirty = opaque_region_dirty; break;
2930 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->opaque_region_dirty = opaque_region_dirty; break;
2931 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->opaque_region_dirty = opaque_region_dirty; break;
2932 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->opaque_region_dirty = opaque_region_dirty; break;
2933 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->opaque_region_dirty = opaque_region_dirty; break;
2934 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->opaque_region_dirty = opaque_region_dirty; break;
2935 default: g_error("Invalid version ID"); g_abort();
2936 }
2937 }
2938
2939 // GdkWindowImplWayland::input_region
2940
2941 cairo_region_t * gdk_window_impl_wayland_priv_get_input_region(GdkWindowImplWayland * self) {
2942 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2943 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->input_region;
2944 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->input_region;
2945 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->input_region;
2946 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->input_region;
2947 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->input_region;
2948 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->input_region;
2949 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->input_region;
2950 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->input_region;
2951 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->input_region;
2952 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->input_region;
2953 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->input_region;
2954 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->input_region;
2955 default: g_error("Invalid version ID"); g_abort();
2956 }
2957 }
2958
2959 void gdk_window_impl_wayland_priv_set_input_region(GdkWindowImplWayland * self, cairo_region_t * input_region) {
2960 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2961 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->input_region = input_region; break;
2962 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->input_region = input_region; break;
2963 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->input_region = input_region; break;
2964 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->input_region = input_region; break;
2965 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->input_region = input_region; break;
2966 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->input_region = input_region; break;
2967 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->input_region = input_region; break;
2968 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->input_region = input_region; break;
2969 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->input_region = input_region; break;
2970 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->input_region = input_region; break;
2971 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->input_region = input_region; break;
2972 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->input_region = input_region; break;
2973 default: g_error("Invalid version ID"); g_abort();
2974 }
2975 }
2976
2977 // GdkWindowImplWayland::input_region_dirty
2978
2979 gboolean gdk_window_impl_wayland_priv_get_input_region_dirty(GdkWindowImplWayland * self) {
2980 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2981 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->input_region_dirty;
2982 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->input_region_dirty;
2983 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->input_region_dirty;
2984 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->input_region_dirty;
2985 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->input_region_dirty;
2986 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->input_region_dirty;
2987 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->input_region_dirty;
2988 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->input_region_dirty;
2989 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->input_region_dirty;
2990 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->input_region_dirty;
2991 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->input_region_dirty;
2992 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->input_region_dirty;
2993 default: g_error("Invalid version ID"); g_abort();
2994 }
2995 }
2996
2997 void gdk_window_impl_wayland_priv_set_input_region_dirty(GdkWindowImplWayland * self, gboolean input_region_dirty) {
2998 switch (gdk_window_impl_wayland_priv_get_version_id()) {
2999 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->input_region_dirty = input_region_dirty; break;
3000 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->input_region_dirty = input_region_dirty; break;
3001 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->input_region_dirty = input_region_dirty; break;
3002 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->input_region_dirty = input_region_dirty; break;
3003 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->input_region_dirty = input_region_dirty; break;
3004 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->input_region_dirty = input_region_dirty; break;
3005 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->input_region_dirty = input_region_dirty; break;
3006 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->input_region_dirty = input_region_dirty; break;
3007 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->input_region_dirty = input_region_dirty; break;
3008 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->input_region_dirty = input_region_dirty; break;
3009 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->input_region_dirty = input_region_dirty; break;
3010 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->input_region_dirty = input_region_dirty; break;
3011 default: g_error("Invalid version ID"); g_abort();
3012 }
3013 }
3014
3015 // GdkWindowImplWayland::staged_updates_region
3016
3017 cairo_region_t * gdk_window_impl_wayland_priv_get_staged_updates_region(GdkWindowImplWayland * self) {
3018 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3019 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->staged_updates_region;
3020 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->staged_updates_region;
3021 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->staged_updates_region;
3022 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->staged_updates_region;
3023 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->staged_updates_region;
3024 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->staged_updates_region;
3025 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->staged_updates_region;
3026 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->staged_updates_region;
3027 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->staged_updates_region;
3028 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->staged_updates_region;
3029 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->staged_updates_region;
3030 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->staged_updates_region;
3031 default: g_error("Invalid version ID"); g_abort();
3032 }
3033 }
3034
3035 void gdk_window_impl_wayland_priv_set_staged_updates_region(GdkWindowImplWayland * self, cairo_region_t * staged_updates_region) {
3036 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3037 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->staged_updates_region = staged_updates_region; break;
3038 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->staged_updates_region = staged_updates_region; break;
3039 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->staged_updates_region = staged_updates_region; break;
3040 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->staged_updates_region = staged_updates_region; break;
3041 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->staged_updates_region = staged_updates_region; break;
3042 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->staged_updates_region = staged_updates_region; break;
3043 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->staged_updates_region = staged_updates_region; break;
3044 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->staged_updates_region = staged_updates_region; break;
3045 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->staged_updates_region = staged_updates_region; break;
3046 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->staged_updates_region = staged_updates_region; break;
3047 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->staged_updates_region = staged_updates_region; break;
3048 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->staged_updates_region = staged_updates_region; break;
3049 default: g_error("Invalid version ID"); g_abort();
3050 }
3051 }
3052
3053 // GdkWindowImplWayland::saved_width
3054
3055 int gdk_window_impl_wayland_priv_get_saved_width(GdkWindowImplWayland * self) {
3056 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3057 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->saved_width;
3058 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->saved_width;
3059 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->saved_width;
3060 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->saved_width;
3061 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->saved_width;
3062 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->saved_width;
3063 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->saved_width;
3064 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->saved_width;
3065 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->saved_width;
3066 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->saved_width;
3067 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->saved_width;
3068 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->saved_width;
3069 default: g_error("Invalid version ID"); g_abort();
3070 }
3071 }
3072
3073 void gdk_window_impl_wayland_priv_set_saved_width(GdkWindowImplWayland * self, int saved_width) {
3074 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3075 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->saved_width = saved_width; break;
3076 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->saved_width = saved_width; break;
3077 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->saved_width = saved_width; break;
3078 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->saved_width = saved_width; break;
3079 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->saved_width = saved_width; break;
3080 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->saved_width = saved_width; break;
3081 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->saved_width = saved_width; break;
3082 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->saved_width = saved_width; break;
3083 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->saved_width = saved_width; break;
3084 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->saved_width = saved_width; break;
3085 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->saved_width = saved_width; break;
3086 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->saved_width = saved_width; break;
3087 default: g_error("Invalid version ID"); g_abort();
3088 }
3089 }
3090
3091 // GdkWindowImplWayland::saved_height
3092
3093 int gdk_window_impl_wayland_priv_get_saved_height(GdkWindowImplWayland * self) {
3094 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3095 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->saved_height;
3096 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->saved_height;
3097 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->saved_height;
3098 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->saved_height;
3099 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->saved_height;
3100 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->saved_height;
3101 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->saved_height;
3102 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->saved_height;
3103 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->saved_height;
3104 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->saved_height;
3105 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->saved_height;
3106 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->saved_height;
3107 default: g_error("Invalid version ID"); g_abort();
3108 }
3109 }
3110
3111 void gdk_window_impl_wayland_priv_set_saved_height(GdkWindowImplWayland * self, int saved_height) {
3112 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3113 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->saved_height = saved_height; break;
3114 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->saved_height = saved_height; break;
3115 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->saved_height = saved_height; break;
3116 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->saved_height = saved_height; break;
3117 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->saved_height = saved_height; break;
3118 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->saved_height = saved_height; break;
3119 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->saved_height = saved_height; break;
3120 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->saved_height = saved_height; break;
3121 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->saved_height = saved_height; break;
3122 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->saved_height = saved_height; break;
3123 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->saved_height = saved_height; break;
3124 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->saved_height = saved_height; break;
3125 default: g_error("Invalid version ID"); g_abort();
3126 }
3127 }
3128
3129 // GdkWindowImplWayland::parent_surface_committed_handler
3130
3131 gulong * gdk_window_impl_wayland_priv_get_parent_surface_committed_handler_ptr(GdkWindowImplWayland * self) {
3132 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3133 case 0: return (gulong *)&((struct _GdkWindowImplWayland_v3_22_0*)self)->parent_surface_committed_handler;
3134 case 1: return (gulong *)&((struct _GdkWindowImplWayland_v3_22_16*)self)->parent_surface_committed_handler;
3135 case 2: return (gulong *)&((struct _GdkWindowImplWayland_v3_22_18*)self)->parent_surface_committed_handler;
3136 case 3: return (gulong *)&((struct _GdkWindowImplWayland_v3_22_25*)self)->parent_surface_committed_handler;
3137 case 4: return (gulong *)&((struct _GdkWindowImplWayland_v3_22_30*)self)->parent_surface_committed_handler;
3138 case 5: return (gulong *)&((struct _GdkWindowImplWayland_v3_23_1*)self)->parent_surface_committed_handler;
3139 case 6: return (gulong *)&((struct _GdkWindowImplWayland_v3_23_3*)self)->parent_surface_committed_handler;
3140 case 7: return (gulong *)&((struct _GdkWindowImplWayland_v3_24_4*)self)->parent_surface_committed_handler;
3141 case 8: return (gulong *)&((struct _GdkWindowImplWayland_v3_24_17*)self)->parent_surface_committed_handler;
3142 case 9: return (gulong *)&((struct _GdkWindowImplWayland_v3_24_22*)self)->parent_surface_committed_handler;
3143 case 10: return (gulong *)&((struct _GdkWindowImplWayland_v3_24_25*)self)->parent_surface_committed_handler;
3144 case 11: return (gulong *)&((struct _GdkWindowImplWayland_v3_24_40*)self)->parent_surface_committed_handler;
3145 default: g_error("Invalid version ID"); g_abort();
3146 }
3147 }
3148
3149 // GdkWindowImplWayland::pending_move_to_rect.rect
3150
3151 GdkRectangle * gdk_window_impl_wayland_priv_get_pending_move_to_rect_rect_ptr(GdkWindowImplWayland * self) {
3152 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3153 case 0: return (GdkRectangle *)&((struct _GdkWindowImplWayland_v3_22_0*)self)->pending_move_to_rect.rect;
3154 case 1: return (GdkRectangle *)&((struct _GdkWindowImplWayland_v3_22_16*)self)->pending_move_to_rect.rect;
3155 case 2: return (GdkRectangle *)&((struct _GdkWindowImplWayland_v3_22_18*)self)->pending_move_to_rect.rect;
3156 case 3: return (GdkRectangle *)&((struct _GdkWindowImplWayland_v3_22_25*)self)->pending_move_to_rect.rect;
3157 case 4: return (GdkRectangle *)&((struct _GdkWindowImplWayland_v3_22_30*)self)->pending_move_to_rect.rect;
3158 case 5: return (GdkRectangle *)&((struct _GdkWindowImplWayland_v3_23_1*)self)->pending_move_to_rect.rect;
3159 case 6: return (GdkRectangle *)&((struct _GdkWindowImplWayland_v3_23_3*)self)->pending_move_to_rect.rect;
3160 case 7: return (GdkRectangle *)&((struct _GdkWindowImplWayland_v3_24_4*)self)->pending_move_to_rect.rect;
3161 case 8: return (GdkRectangle *)&((struct _GdkWindowImplWayland_v3_24_17*)self)->pending_move_to_rect.rect;
3162 case 9: return (GdkRectangle *)&((struct _GdkWindowImplWayland_v3_24_22*)self)->pending_move_to_rect.rect;
3163 case 10: return (GdkRectangle *)&((struct _GdkWindowImplWayland_v3_24_25*)self)->pending_move_to_rect.rect;
3164 case 11: return (GdkRectangle *)&((struct _GdkWindowImplWayland_v3_24_40*)self)->pending_move_to_rect.rect;
3165 default: g_error("Invalid version ID"); g_abort();
3166 }
3167 }
3168
3169 // GdkWindowImplWayland::pending_move_to_rect.rect_anchor
3170
3171 GdkGravity * gdk_window_impl_wayland_priv_get_pending_move_to_rect_rect_anchor_ptr(GdkWindowImplWayland * self) {
3172 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3173 case 0: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_22_0*)self)->pending_move_to_rect.rect_anchor;
3174 case 1: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_22_16*)self)->pending_move_to_rect.rect_anchor;
3175 case 2: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_22_18*)self)->pending_move_to_rect.rect_anchor;
3176 case 3: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_22_25*)self)->pending_move_to_rect.rect_anchor;
3177 case 4: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_22_30*)self)->pending_move_to_rect.rect_anchor;
3178 case 5: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_23_1*)self)->pending_move_to_rect.rect_anchor;
3179 case 6: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_23_3*)self)->pending_move_to_rect.rect_anchor;
3180 case 7: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_24_4*)self)->pending_move_to_rect.rect_anchor;
3181 case 8: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_24_17*)self)->pending_move_to_rect.rect_anchor;
3182 case 9: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_24_22*)self)->pending_move_to_rect.rect_anchor;
3183 case 10: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_24_25*)self)->pending_move_to_rect.rect_anchor;
3184 case 11: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_24_40*)self)->pending_move_to_rect.rect_anchor;
3185 default: g_error("Invalid version ID"); g_abort();
3186 }
3187 }
3188
3189 // GdkWindowImplWayland::pending_move_to_rect.window_anchor
3190
3191 GdkGravity * gdk_window_impl_wayland_priv_get_pending_move_to_rect_window_anchor_ptr(GdkWindowImplWayland * self) {
3192 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3193 case 0: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_22_0*)self)->pending_move_to_rect.window_anchor;
3194 case 1: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_22_16*)self)->pending_move_to_rect.window_anchor;
3195 case 2: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_22_18*)self)->pending_move_to_rect.window_anchor;
3196 case 3: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_22_25*)self)->pending_move_to_rect.window_anchor;
3197 case 4: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_22_30*)self)->pending_move_to_rect.window_anchor;
3198 case 5: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_23_1*)self)->pending_move_to_rect.window_anchor;
3199 case 6: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_23_3*)self)->pending_move_to_rect.window_anchor;
3200 case 7: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_24_4*)self)->pending_move_to_rect.window_anchor;
3201 case 8: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_24_17*)self)->pending_move_to_rect.window_anchor;
3202 case 9: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_24_22*)self)->pending_move_to_rect.window_anchor;
3203 case 10: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_24_25*)self)->pending_move_to_rect.window_anchor;
3204 case 11: return (GdkGravity *)&((struct _GdkWindowImplWayland_v3_24_40*)self)->pending_move_to_rect.window_anchor;
3205 default: g_error("Invalid version ID"); g_abort();
3206 }
3207 }
3208
3209 // GdkWindowImplWayland::pending_move_to_rect.anchor_hints
3210
3211 GdkAnchorHints * gdk_window_impl_wayland_priv_get_pending_move_to_rect_anchor_hints_ptr(GdkWindowImplWayland * self) {
3212 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3213 case 0: return (GdkAnchorHints *)&((struct _GdkWindowImplWayland_v3_22_0*)self)->pending_move_to_rect.anchor_hints;
3214 case 1: return (GdkAnchorHints *)&((struct _GdkWindowImplWayland_v3_22_16*)self)->pending_move_to_rect.anchor_hints;
3215 case 2: return (GdkAnchorHints *)&((struct _GdkWindowImplWayland_v3_22_18*)self)->pending_move_to_rect.anchor_hints;
3216 case 3: return (GdkAnchorHints *)&((struct _GdkWindowImplWayland_v3_22_25*)self)->pending_move_to_rect.anchor_hints;
3217 case 4: return (GdkAnchorHints *)&((struct _GdkWindowImplWayland_v3_22_30*)self)->pending_move_to_rect.anchor_hints;
3218 case 5: return (GdkAnchorHints *)&((struct _GdkWindowImplWayland_v3_23_1*)self)->pending_move_to_rect.anchor_hints;
3219 case 6: return (GdkAnchorHints *)&((struct _GdkWindowImplWayland_v3_23_3*)self)->pending_move_to_rect.anchor_hints;
3220 case 7: return (GdkAnchorHints *)&((struct _GdkWindowImplWayland_v3_24_4*)self)->pending_move_to_rect.anchor_hints;
3221 case 8: return (GdkAnchorHints *)&((struct _GdkWindowImplWayland_v3_24_17*)self)->pending_move_to_rect.anchor_hints;
3222 case 9: return (GdkAnchorHints *)&((struct _GdkWindowImplWayland_v3_24_22*)self)->pending_move_to_rect.anchor_hints;
3223 case 10: return (GdkAnchorHints *)&((struct _GdkWindowImplWayland_v3_24_25*)self)->pending_move_to_rect.anchor_hints;
3224 case 11: return (GdkAnchorHints *)&((struct _GdkWindowImplWayland_v3_24_40*)self)->pending_move_to_rect.anchor_hints;
3225 default: g_error("Invalid version ID"); g_abort();
3226 }
3227 }
3228
3229 // GdkWindowImplWayland::pending_move_to_rect.rect_anchor_dx
3230
3231 gint gdk_window_impl_wayland_priv_get_pending_move_to_rect_rect_anchor_dx(GdkWindowImplWayland * self) {
3232 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3233 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->pending_move_to_rect.rect_anchor_dx;
3234 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->pending_move_to_rect.rect_anchor_dx;
3235 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->pending_move_to_rect.rect_anchor_dx;
3236 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->pending_move_to_rect.rect_anchor_dx;
3237 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->pending_move_to_rect.rect_anchor_dx;
3238 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->pending_move_to_rect.rect_anchor_dx;
3239 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->pending_move_to_rect.rect_anchor_dx;
3240 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->pending_move_to_rect.rect_anchor_dx;
3241 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->pending_move_to_rect.rect_anchor_dx;
3242 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->pending_move_to_rect.rect_anchor_dx;
3243 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->pending_move_to_rect.rect_anchor_dx;
3244 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->pending_move_to_rect.rect_anchor_dx;
3245 default: g_error("Invalid version ID"); g_abort();
3246 }
3247 }
3248
3249 void gdk_window_impl_wayland_priv_set_pending_move_to_rect_rect_anchor_dx(GdkWindowImplWayland * self, gint pending_move_to_rect_rect_anchor_dx) {
3250 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3251 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->pending_move_to_rect.rect_anchor_dx = pending_move_to_rect_rect_anchor_dx; break;
3252 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->pending_move_to_rect.rect_anchor_dx = pending_move_to_rect_rect_anchor_dx; break;
3253 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->pending_move_to_rect.rect_anchor_dx = pending_move_to_rect_rect_anchor_dx; break;
3254 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->pending_move_to_rect.rect_anchor_dx = pending_move_to_rect_rect_anchor_dx; break;
3255 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->pending_move_to_rect.rect_anchor_dx = pending_move_to_rect_rect_anchor_dx; break;
3256 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->pending_move_to_rect.rect_anchor_dx = pending_move_to_rect_rect_anchor_dx; break;
3257 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->pending_move_to_rect.rect_anchor_dx = pending_move_to_rect_rect_anchor_dx; break;
3258 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->pending_move_to_rect.rect_anchor_dx = pending_move_to_rect_rect_anchor_dx; break;
3259 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->pending_move_to_rect.rect_anchor_dx = pending_move_to_rect_rect_anchor_dx; break;
3260 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->pending_move_to_rect.rect_anchor_dx = pending_move_to_rect_rect_anchor_dx; break;
3261 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->pending_move_to_rect.rect_anchor_dx = pending_move_to_rect_rect_anchor_dx; break;
3262 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->pending_move_to_rect.rect_anchor_dx = pending_move_to_rect_rect_anchor_dx; break;
3263 default: g_error("Invalid version ID"); g_abort();
3264 }
3265 }
3266
3267 // GdkWindowImplWayland::pending_move_to_rect.rect_anchor_dy
3268
3269 gint gdk_window_impl_wayland_priv_get_pending_move_to_rect_rect_anchor_dy(GdkWindowImplWayland * self) {
3270 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3271 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->pending_move_to_rect.rect_anchor_dy;
3272 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->pending_move_to_rect.rect_anchor_dy;
3273 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->pending_move_to_rect.rect_anchor_dy;
3274 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->pending_move_to_rect.rect_anchor_dy;
3275 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->pending_move_to_rect.rect_anchor_dy;
3276 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->pending_move_to_rect.rect_anchor_dy;
3277 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->pending_move_to_rect.rect_anchor_dy;
3278 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->pending_move_to_rect.rect_anchor_dy;
3279 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->pending_move_to_rect.rect_anchor_dy;
3280 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->pending_move_to_rect.rect_anchor_dy;
3281 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->pending_move_to_rect.rect_anchor_dy;
3282 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->pending_move_to_rect.rect_anchor_dy;
3283 default: g_error("Invalid version ID"); g_abort();
3284 }
3285 }
3286
3287 void gdk_window_impl_wayland_priv_set_pending_move_to_rect_rect_anchor_dy(GdkWindowImplWayland * self, gint pending_move_to_rect_rect_anchor_dy) {
3288 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3289 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->pending_move_to_rect.rect_anchor_dy = pending_move_to_rect_rect_anchor_dy; break;
3290 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->pending_move_to_rect.rect_anchor_dy = pending_move_to_rect_rect_anchor_dy; break;
3291 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->pending_move_to_rect.rect_anchor_dy = pending_move_to_rect_rect_anchor_dy; break;
3292 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->pending_move_to_rect.rect_anchor_dy = pending_move_to_rect_rect_anchor_dy; break;
3293 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->pending_move_to_rect.rect_anchor_dy = pending_move_to_rect_rect_anchor_dy; break;
3294 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->pending_move_to_rect.rect_anchor_dy = pending_move_to_rect_rect_anchor_dy; break;
3295 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->pending_move_to_rect.rect_anchor_dy = pending_move_to_rect_rect_anchor_dy; break;
3296 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->pending_move_to_rect.rect_anchor_dy = pending_move_to_rect_rect_anchor_dy; break;
3297 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->pending_move_to_rect.rect_anchor_dy = pending_move_to_rect_rect_anchor_dy; break;
3298 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->pending_move_to_rect.rect_anchor_dy = pending_move_to_rect_rect_anchor_dy; break;
3299 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->pending_move_to_rect.rect_anchor_dy = pending_move_to_rect_rect_anchor_dy; break;
3300 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->pending_move_to_rect.rect_anchor_dy = pending_move_to_rect_rect_anchor_dy; break;
3301 default: g_error("Invalid version ID"); g_abort();
3302 }
3303 }
3304
3305 // GdkWindowImplWayland::pending.width
3306
3307 int gdk_window_impl_wayland_priv_get_pending_width(GdkWindowImplWayland * self) {
3308 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3309 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->pending.width;
3310 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->pending.width;
3311 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->pending.width;
3312 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->pending.width;
3313 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->pending.width;
3314 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->pending.width;
3315 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->pending.width;
3316 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->pending.width;
3317 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->pending.width;
3318 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->pending.width;
3319 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->pending.width;
3320 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->pending.width;
3321 default: g_error("Invalid version ID"); g_abort();
3322 }
3323 }
3324
3325 void gdk_window_impl_wayland_priv_set_pending_width(GdkWindowImplWayland * self, int pending_width) {
3326 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3327 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->pending.width = pending_width; break;
3328 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->pending.width = pending_width; break;
3329 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->pending.width = pending_width; break;
3330 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->pending.width = pending_width; break;
3331 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->pending.width = pending_width; break;
3332 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->pending.width = pending_width; break;
3333 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->pending.width = pending_width; break;
3334 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->pending.width = pending_width; break;
3335 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->pending.width = pending_width; break;
3336 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->pending.width = pending_width; break;
3337 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->pending.width = pending_width; break;
3338 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->pending.width = pending_width; break;
3339 default: g_error("Invalid version ID"); g_abort();
3340 }
3341 }
3342
3343 // GdkWindowImplWayland::pending.height
3344
3345 int gdk_window_impl_wayland_priv_get_pending_height(GdkWindowImplWayland * self) {
3346 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3347 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->pending.height;
3348 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->pending.height;
3349 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->pending.height;
3350 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->pending.height;
3351 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->pending.height;
3352 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->pending.height;
3353 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->pending.height;
3354 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->pending.height;
3355 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->pending.height;
3356 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->pending.height;
3357 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->pending.height;
3358 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->pending.height;
3359 default: g_error("Invalid version ID"); g_abort();
3360 }
3361 }
3362
3363 void gdk_window_impl_wayland_priv_set_pending_height(GdkWindowImplWayland * self, int pending_height) {
3364 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3365 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->pending.height = pending_height; break;
3366 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->pending.height = pending_height; break;
3367 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->pending.height = pending_height; break;
3368 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->pending.height = pending_height; break;
3369 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->pending.height = pending_height; break;
3370 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->pending.height = pending_height; break;
3371 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->pending.height = pending_height; break;
3372 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->pending.height = pending_height; break;
3373 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->pending.height = pending_height; break;
3374 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->pending.height = pending_height; break;
3375 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->pending.height = pending_height; break;
3376 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->pending.height = pending_height; break;
3377 default: g_error("Invalid version ID"); g_abort();
3378 }
3379 }
3380
3381 // GdkWindowImplWayland::pending.state
3382
3383 GdkWindowState * gdk_window_impl_wayland_priv_get_pending_state_ptr(GdkWindowImplWayland * self) {
3384 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3385 case 0: return (GdkWindowState *)&((struct _GdkWindowImplWayland_v3_22_0*)self)->pending.state;
3386 case 1: return (GdkWindowState *)&((struct _GdkWindowImplWayland_v3_22_16*)self)->pending.state;
3387 case 2: return (GdkWindowState *)&((struct _GdkWindowImplWayland_v3_22_18*)self)->pending.state;
3388 case 3: return (GdkWindowState *)&((struct _GdkWindowImplWayland_v3_22_25*)self)->pending.state;
3389 case 4: return (GdkWindowState *)&((struct _GdkWindowImplWayland_v3_22_30*)self)->pending.state;
3390 case 5: return (GdkWindowState *)&((struct _GdkWindowImplWayland_v3_23_1*)self)->pending.state;
3391 case 6: return (GdkWindowState *)&((struct _GdkWindowImplWayland_v3_23_3*)self)->pending.state;
3392 case 7: return (GdkWindowState *)&((struct _GdkWindowImplWayland_v3_24_4*)self)->pending.state;
3393 case 8: return (GdkWindowState *)&((struct _GdkWindowImplWayland_v3_24_17*)self)->pending.state;
3394 case 9: return (GdkWindowState *)&((struct _GdkWindowImplWayland_v3_24_22*)self)->pending.state;
3395 case 10: return (GdkWindowState *)&((struct _GdkWindowImplWayland_v3_24_25*)self)->pending.state;
3396 case 11: return (GdkWindowState *)&((struct _GdkWindowImplWayland_v3_24_40*)self)->pending.state;
3397 default: g_error("Invalid version ID"); g_abort();
3398 }
3399 }
3400
3401 // GdkWindowImplWayland::exported.callback
3402
3403 gboolean gdk_window_impl_wayland_priv_get_exported_callback_supported() {
3404 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3405 case 0: return TRUE;
3406 case 1: return FALSE;
3407 case 2: return FALSE;
3408 case 3: return FALSE;
3409 case 4: return FALSE;
3410 case 5: return FALSE;
3411 case 6: return FALSE;
3412 case 7: return FALSE;
3413 case 8: return FALSE;
3414 case 9: return FALSE;
3415 case 10: return FALSE;
3416 case 11: return FALSE;
3417 default: g_error("Invalid version ID"); g_abort();
3418 }
3419 }
3420
3421 GdkWaylandWindowExported * gdk_window_impl_wayland_priv_get_exported_callback_ptr_or_null(GdkWindowImplWayland * self) {
3422 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3423 case 0: return (GdkWaylandWindowExported *)&((struct _GdkWindowImplWayland_v3_22_0*)self)->exported.callback;
3424 case 1: return NULL;
3425 case 2: return NULL;
3426 case 3: return NULL;
3427 case 4: return NULL;
3428 case 5: return NULL;
3429 case 6: return NULL;
3430 case 7: return NULL;
3431 case 8: return NULL;
3432 case 9: return NULL;
3433 case 10: return NULL;
3434 case 11: return NULL;
3435 default: g_error("Invalid version ID"); g_abort();
3436 }
3437 }
3438
3439 // GdkWindowImplWayland::exported.user_data
3440
3441 gboolean gdk_window_impl_wayland_priv_get_exported_user_data_supported() {
3442 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3443 case 0: return TRUE;
3444 case 1: return FALSE;
3445 case 2: return FALSE;
3446 case 3: return FALSE;
3447 case 4: return FALSE;
3448 case 5: return FALSE;
3449 case 6: return FALSE;
3450 case 7: return FALSE;
3451 case 8: return FALSE;
3452 case 9: return FALSE;
3453 case 10: return FALSE;
3454 case 11: return FALSE;
3455 default: g_error("Invalid version ID"); g_abort();
3456 }
3457 }
3458
3459 gpointer gdk_window_impl_wayland_priv_get_exported_user_data_or_abort(GdkWindowImplWayland * self) {
3460 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3461 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->exported.user_data;
3462 case 1: g_error("GdkWindowImplWayland::exported.user_data not supported on this GTK"); g_abort();
3463 case 2: g_error("GdkWindowImplWayland::exported.user_data not supported on this GTK"); g_abort();
3464 case 3: g_error("GdkWindowImplWayland::exported.user_data not supported on this GTK"); g_abort();
3465 case 4: g_error("GdkWindowImplWayland::exported.user_data not supported on this GTK"); g_abort();
3466 case 5: g_error("GdkWindowImplWayland::exported.user_data not supported on this GTK"); g_abort();
3467 case 6: g_error("GdkWindowImplWayland::exported.user_data not supported on this GTK"); g_abort();
3468 case 7: g_error("GdkWindowImplWayland::exported.user_data not supported on this GTK"); g_abort();
3469 case 8: g_error("GdkWindowImplWayland::exported.user_data not supported on this GTK"); g_abort();
3470 case 9: g_error("GdkWindowImplWayland::exported.user_data not supported on this GTK"); g_abort();
3471 case 10: g_error("GdkWindowImplWayland::exported.user_data not supported on this GTK"); g_abort();
3472 case 11: g_error("GdkWindowImplWayland::exported.user_data not supported on this GTK"); g_abort();
3473 default: g_error("Invalid version ID"); g_abort();
3474 }
3475 }
3476
3477 void gdk_window_impl_wayland_priv_set_exported_user_data_or_abort(GdkWindowImplWayland * self, gpointer exported_user_data) {
3478 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3479 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->exported.user_data = exported_user_data; break;
3480 case 1: g_error("GdkWindowImplWayland::exported.user_data not supported on this GTK"); g_abort();
3481 case 2: g_error("GdkWindowImplWayland::exported.user_data not supported on this GTK"); g_abort();
3482 case 3: g_error("GdkWindowImplWayland::exported.user_data not supported on this GTK"); g_abort();
3483 case 4: g_error("GdkWindowImplWayland::exported.user_data not supported on this GTK"); g_abort();
3484 case 5: g_error("GdkWindowImplWayland::exported.user_data not supported on this GTK"); g_abort();
3485 case 6: g_error("GdkWindowImplWayland::exported.user_data not supported on this GTK"); g_abort();
3486 case 7: g_error("GdkWindowImplWayland::exported.user_data not supported on this GTK"); g_abort();
3487 case 8: g_error("GdkWindowImplWayland::exported.user_data not supported on this GTK"); g_abort();
3488 case 9: g_error("GdkWindowImplWayland::exported.user_data not supported on this GTK"); g_abort();
3489 case 10: g_error("GdkWindowImplWayland::exported.user_data not supported on this GTK"); g_abort();
3490 case 11: g_error("GdkWindowImplWayland::exported.user_data not supported on this GTK"); g_abort();
3491 default: g_error("Invalid version ID"); g_abort();
3492 }
3493 }
3494
3495 // GdkWindowImplWayland::exported.destroy_func
3496
3497 gboolean gdk_window_impl_wayland_priv_get_exported_destroy_func_supported() {
3498 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3499 case 0: return TRUE;
3500 case 1: return FALSE;
3501 case 2: return FALSE;
3502 case 3: return FALSE;
3503 case 4: return FALSE;
3504 case 5: return FALSE;
3505 case 6: return FALSE;
3506 case 7: return FALSE;
3507 case 8: return FALSE;
3508 case 9: return FALSE;
3509 case 10: return FALSE;
3510 case 11: return FALSE;
3511 default: g_error("Invalid version ID"); g_abort();
3512 }
3513 }
3514
3515 GDestroyNotify * gdk_window_impl_wayland_priv_get_exported_destroy_func_ptr_or_null(GdkWindowImplWayland * self) {
3516 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3517 case 0: return (GDestroyNotify *)&((struct _GdkWindowImplWayland_v3_22_0*)self)->exported.destroy_func;
3518 case 1: return NULL;
3519 case 2: return NULL;
3520 case 3: return NULL;
3521 case 4: return NULL;
3522 case 5: return NULL;
3523 case 6: return NULL;
3524 case 7: return NULL;
3525 case 8: return NULL;
3526 case 9: return NULL;
3527 case 10: return NULL;
3528 case 11: return NULL;
3529 default: g_error("Invalid version ID"); g_abort();
3530 }
3531 }
3532
3533 // GdkWindowImplWayland::imported_transient_for
3534
3535 struct zxdg_imported_v1 * gdk_window_impl_wayland_priv_get_imported_transient_for(GdkWindowImplWayland * self) {
3536 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3537 case 0: return ((struct _GdkWindowImplWayland_v3_22_0*)self)->imported_transient_for;
3538 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->imported_transient_for;
3539 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->imported_transient_for;
3540 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->imported_transient_for;
3541 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->imported_transient_for;
3542 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->imported_transient_for;
3543 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->imported_transient_for;
3544 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->imported_transient_for;
3545 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->imported_transient_for;
3546 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->imported_transient_for;
3547 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->imported_transient_for;
3548 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->imported_transient_for;
3549 default: g_error("Invalid version ID"); g_abort();
3550 }
3551 }
3552
3553 void gdk_window_impl_wayland_priv_set_imported_transient_for(GdkWindowImplWayland * self, struct zxdg_imported_v1 * imported_transient_for) {
3554 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3555 case 0: ((struct _GdkWindowImplWayland_v3_22_0*)self)->imported_transient_for = imported_transient_for; break;
3556 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->imported_transient_for = imported_transient_for; break;
3557 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->imported_transient_for = imported_transient_for; break;
3558 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->imported_transient_for = imported_transient_for; break;
3559 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->imported_transient_for = imported_transient_for; break;
3560 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->imported_transient_for = imported_transient_for; break;
3561 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->imported_transient_for = imported_transient_for; break;
3562 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->imported_transient_for = imported_transient_for; break;
3563 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->imported_transient_for = imported_transient_for; break;
3564 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->imported_transient_for = imported_transient_for; break;
3565 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->imported_transient_for = imported_transient_for; break;
3566 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->imported_transient_for = imported_transient_for; break;
3567 default: g_error("Invalid version ID"); g_abort();
3568 }
3569 }
3570
3571 // GdkWindowImplWayland::exported.handle
3572
3573 gboolean gdk_window_impl_wayland_priv_get_exported_handle_supported() {
3574 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3575 case 0: return FALSE;
3576 case 1: return TRUE;
3577 case 2: return TRUE;
3578 case 3: return TRUE;
3579 case 4: return TRUE;
3580 case 5: return TRUE;
3581 case 6: return TRUE;
3582 case 7: return TRUE;
3583 case 8: return TRUE;
3584 case 9: return TRUE;
3585 case 10: return TRUE;
3586 case 11: return TRUE;
3587 default: g_error("Invalid version ID"); g_abort();
3588 }
3589 }
3590
3591 char * gdk_window_impl_wayland_priv_get_exported_handle_or_abort(GdkWindowImplWayland * self) {
3592 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3593 case 0: g_error("GdkWindowImplWayland::exported.handle not supported on this GTK"); g_abort();
3594 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->exported.handle;
3595 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->exported.handle;
3596 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->exported.handle;
3597 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->exported.handle;
3598 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->exported.handle;
3599 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->exported.handle;
3600 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->exported.handle;
3601 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->exported.handle;
3602 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->exported.handle;
3603 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->exported.handle;
3604 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->exported.handle;
3605 default: g_error("Invalid version ID"); g_abort();
3606 }
3607 }
3608
3609 void gdk_window_impl_wayland_priv_set_exported_handle_or_abort(GdkWindowImplWayland * self, char * exported_handle) {
3610 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3611 case 0: g_error("GdkWindowImplWayland::exported.handle not supported on this GTK"); g_abort();
3612 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->exported.handle = exported_handle; break;
3613 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->exported.handle = exported_handle; break;
3614 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->exported.handle = exported_handle; break;
3615 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->exported.handle = exported_handle; break;
3616 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->exported.handle = exported_handle; break;
3617 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->exported.handle = exported_handle; break;
3618 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->exported.handle = exported_handle; break;
3619 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->exported.handle = exported_handle; break;
3620 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->exported.handle = exported_handle; break;
3621 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->exported.handle = exported_handle; break;
3622 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->exported.handle = exported_handle; break;
3623 default: g_error("Invalid version ID"); g_abort();
3624 }
3625 }
3626
3627 // GdkWindowImplWayland::exported.export_count
3628
3629 gboolean gdk_window_impl_wayland_priv_get_exported_export_count_supported() {
3630 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3631 case 0: return FALSE;
3632 case 1: return TRUE;
3633 case 2: return TRUE;
3634 case 3: return TRUE;
3635 case 4: return TRUE;
3636 case 5: return TRUE;
3637 case 6: return TRUE;
3638 case 7: return TRUE;
3639 case 8: return TRUE;
3640 case 9: return TRUE;
3641 case 10: return TRUE;
3642 case 11: return TRUE;
3643 default: g_error("Invalid version ID"); g_abort();
3644 }
3645 }
3646
3647 int gdk_window_impl_wayland_priv_get_exported_export_count_or_abort(GdkWindowImplWayland * self) {
3648 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3649 case 0: g_error("GdkWindowImplWayland::exported.export_count not supported on this GTK"); g_abort();
3650 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->exported.export_count;
3651 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->exported.export_count;
3652 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->exported.export_count;
3653 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->exported.export_count;
3654 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->exported.export_count;
3655 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->exported.export_count;
3656 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->exported.export_count;
3657 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->exported.export_count;
3658 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->exported.export_count;
3659 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->exported.export_count;
3660 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->exported.export_count;
3661 default: g_error("Invalid version ID"); g_abort();
3662 }
3663 }
3664
3665 void gdk_window_impl_wayland_priv_set_exported_export_count_or_abort(GdkWindowImplWayland * self, int exported_export_count) {
3666 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3667 case 0: g_error("GdkWindowImplWayland::exported.export_count not supported on this GTK"); g_abort();
3668 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->exported.export_count = exported_export_count; break;
3669 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->exported.export_count = exported_export_count; break;
3670 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->exported.export_count = exported_export_count; break;
3671 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->exported.export_count = exported_export_count; break;
3672 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->exported.export_count = exported_export_count; break;
3673 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->exported.export_count = exported_export_count; break;
3674 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->exported.export_count = exported_export_count; break;
3675 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->exported.export_count = exported_export_count; break;
3676 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->exported.export_count = exported_export_count; break;
3677 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->exported.export_count = exported_export_count; break;
3678 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->exported.export_count = exported_export_count; break;
3679 default: g_error("Invalid version ID"); g_abort();
3680 }
3681 }
3682
3683 // GdkWindowImplWayland::exported.closures
3684
3685 gboolean gdk_window_impl_wayland_priv_get_exported_closures_supported() {
3686 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3687 case 0: return FALSE;
3688 case 1: return TRUE;
3689 case 2: return TRUE;
3690 case 3: return TRUE;
3691 case 4: return TRUE;
3692 case 5: return TRUE;
3693 case 6: return TRUE;
3694 case 7: return TRUE;
3695 case 8: return TRUE;
3696 case 9: return TRUE;
3697 case 10: return TRUE;
3698 case 11: return TRUE;
3699 default: g_error("Invalid version ID"); g_abort();
3700 }
3701 }
3702
3703 GList * gdk_window_impl_wayland_priv_get_exported_closures_or_abort(GdkWindowImplWayland * self) {
3704 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3705 case 0: g_error("GdkWindowImplWayland::exported.closures not supported on this GTK"); g_abort();
3706 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->exported.closures;
3707 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->exported.closures;
3708 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->exported.closures;
3709 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->exported.closures;
3710 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->exported.closures;
3711 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->exported.closures;
3712 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->exported.closures;
3713 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->exported.closures;
3714 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->exported.closures;
3715 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->exported.closures;
3716 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->exported.closures;
3717 default: g_error("Invalid version ID"); g_abort();
3718 }
3719 }
3720
3721 void gdk_window_impl_wayland_priv_set_exported_closures_or_abort(GdkWindowImplWayland * self, GList * exported_closures) {
3722 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3723 case 0: g_error("GdkWindowImplWayland::exported.closures not supported on this GTK"); g_abort();
3724 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->exported.closures = exported_closures; break;
3725 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->exported.closures = exported_closures; break;
3726 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->exported.closures = exported_closures; break;
3727 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->exported.closures = exported_closures; break;
3728 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->exported.closures = exported_closures; break;
3729 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->exported.closures = exported_closures; break;
3730 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->exported.closures = exported_closures; break;
3731 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->exported.closures = exported_closures; break;
3732 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->exported.closures = exported_closures; break;
3733 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->exported.closures = exported_closures; break;
3734 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->exported.closures = exported_closures; break;
3735 default: g_error("Invalid version ID"); g_abort();
3736 }
3737 }
3738
3739 // GdkWindowImplWayland::exported.idle_source_id
3740
3741 gboolean gdk_window_impl_wayland_priv_get_exported_idle_source_id_supported() {
3742 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3743 case 0: return FALSE;
3744 case 1: return TRUE;
3745 case 2: return TRUE;
3746 case 3: return TRUE;
3747 case 4: return TRUE;
3748 case 5: return TRUE;
3749 case 6: return TRUE;
3750 case 7: return TRUE;
3751 case 8: return TRUE;
3752 case 9: return TRUE;
3753 case 10: return TRUE;
3754 case 11: return TRUE;
3755 default: g_error("Invalid version ID"); g_abort();
3756 }
3757 }
3758
3759 guint gdk_window_impl_wayland_priv_get_exported_idle_source_id_or_abort(GdkWindowImplWayland * self) {
3760 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3761 case 0: g_error("GdkWindowImplWayland::exported.idle_source_id not supported on this GTK"); g_abort();
3762 case 1: return ((struct _GdkWindowImplWayland_v3_22_16*)self)->exported.idle_source_id;
3763 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->exported.idle_source_id;
3764 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->exported.idle_source_id;
3765 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->exported.idle_source_id;
3766 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->exported.idle_source_id;
3767 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->exported.idle_source_id;
3768 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->exported.idle_source_id;
3769 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->exported.idle_source_id;
3770 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->exported.idle_source_id;
3771 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->exported.idle_source_id;
3772 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->exported.idle_source_id;
3773 default: g_error("Invalid version ID"); g_abort();
3774 }
3775 }
3776
3777 void gdk_window_impl_wayland_priv_set_exported_idle_source_id_or_abort(GdkWindowImplWayland * self, guint exported_idle_source_id) {
3778 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3779 case 0: g_error("GdkWindowImplWayland::exported.idle_source_id not supported on this GTK"); g_abort();
3780 case 1: ((struct _GdkWindowImplWayland_v3_22_16*)self)->exported.idle_source_id = exported_idle_source_id; break;
3781 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->exported.idle_source_id = exported_idle_source_id; break;
3782 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->exported.idle_source_id = exported_idle_source_id; break;
3783 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->exported.idle_source_id = exported_idle_source_id; break;
3784 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->exported.idle_source_id = exported_idle_source_id; break;
3785 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->exported.idle_source_id = exported_idle_source_id; break;
3786 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->exported.idle_source_id = exported_idle_source_id; break;
3787 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->exported.idle_source_id = exported_idle_source_id; break;
3788 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->exported.idle_source_id = exported_idle_source_id; break;
3789 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->exported.idle_source_id = exported_idle_source_id; break;
3790 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->exported.idle_source_id = exported_idle_source_id; break;
3791 default: g_error("Invalid version ID"); g_abort();
3792 }
3793 }
3794
3795 // GdkWindowImplWayland::shortcuts_inhibitors
3796
3797 gboolean gdk_window_impl_wayland_priv_get_shortcuts_inhibitors_supported() {
3798 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3799 case 0: return FALSE;
3800 case 1: return FALSE;
3801 case 2: return TRUE;
3802 case 3: return TRUE;
3803 case 4: return TRUE;
3804 case 5: return TRUE;
3805 case 6: return TRUE;
3806 case 7: return TRUE;
3807 case 8: return TRUE;
3808 case 9: return TRUE;
3809 case 10: return TRUE;
3810 case 11: return TRUE;
3811 default: g_error("Invalid version ID"); g_abort();
3812 }
3813 }
3814
3815 GHashTable * gdk_window_impl_wayland_priv_get_shortcuts_inhibitors_or_abort(GdkWindowImplWayland * self) {
3816 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3817 case 0: g_error("GdkWindowImplWayland::shortcuts_inhibitors not supported on this GTK"); g_abort();
3818 case 1: g_error("GdkWindowImplWayland::shortcuts_inhibitors not supported on this GTK"); g_abort();
3819 case 2: return ((struct _GdkWindowImplWayland_v3_22_18*)self)->shortcuts_inhibitors;
3820 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->shortcuts_inhibitors;
3821 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->shortcuts_inhibitors;
3822 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->shortcuts_inhibitors;
3823 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->shortcuts_inhibitors;
3824 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->shortcuts_inhibitors;
3825 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->shortcuts_inhibitors;
3826 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->shortcuts_inhibitors;
3827 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->shortcuts_inhibitors;
3828 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->shortcuts_inhibitors;
3829 default: g_error("Invalid version ID"); g_abort();
3830 }
3831 }
3832
3833 void gdk_window_impl_wayland_priv_set_shortcuts_inhibitors_or_abort(GdkWindowImplWayland * self, GHashTable * shortcuts_inhibitors) {
3834 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3835 case 0: g_error("GdkWindowImplWayland::shortcuts_inhibitors not supported on this GTK"); g_abort();
3836 case 1: g_error("GdkWindowImplWayland::shortcuts_inhibitors not supported on this GTK"); g_abort();
3837 case 2: ((struct _GdkWindowImplWayland_v3_22_18*)self)->shortcuts_inhibitors = shortcuts_inhibitors; break;
3838 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->shortcuts_inhibitors = shortcuts_inhibitors; break;
3839 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->shortcuts_inhibitors = shortcuts_inhibitors; break;
3840 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->shortcuts_inhibitors = shortcuts_inhibitors; break;
3841 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->shortcuts_inhibitors = shortcuts_inhibitors; break;
3842 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->shortcuts_inhibitors = shortcuts_inhibitors; break;
3843 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->shortcuts_inhibitors = shortcuts_inhibitors; break;
3844 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->shortcuts_inhibitors = shortcuts_inhibitors; break;
3845 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->shortcuts_inhibitors = shortcuts_inhibitors; break;
3846 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->shortcuts_inhibitors = shortcuts_inhibitors; break;
3847 default: g_error("Invalid version ID"); g_abort();
3848 }
3849 }
3850
3851 // GdkWindowImplWayland::display_server.server_decoration
3852
3853 gboolean gdk_window_impl_wayland_priv_get_display_server_server_decoration_supported() {
3854 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3855 case 0: return FALSE;
3856 case 1: return FALSE;
3857 case 2: return FALSE;
3858 case 3: return TRUE;
3859 case 4: return TRUE;
3860 case 5: return TRUE;
3861 case 6: return TRUE;
3862 case 7: return TRUE;
3863 case 8: return TRUE;
3864 case 9: return TRUE;
3865 case 10: return TRUE;
3866 case 11: return TRUE;
3867 default: g_error("Invalid version ID"); g_abort();
3868 }
3869 }
3870
3871 struct org_kde_kwin_server_decoration * gdk_window_impl_wayland_priv_get_display_server_server_decoration_or_abort(GdkWindowImplWayland * self) {
3872 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3873 case 0: g_error("GdkWindowImplWayland::display_server.server_decoration not supported on this GTK"); g_abort();
3874 case 1: g_error("GdkWindowImplWayland::display_server.server_decoration not supported on this GTK"); g_abort();
3875 case 2: g_error("GdkWindowImplWayland::display_server.server_decoration not supported on this GTK"); g_abort();
3876 case 3: return ((struct _GdkWindowImplWayland_v3_22_25*)self)->display_server.server_decoration;
3877 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.server_decoration;
3878 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.server_decoration;
3879 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.server_decoration;
3880 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.server_decoration;
3881 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.server_decoration;
3882 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.server_decoration;
3883 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.server_decoration;
3884 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.server_decoration;
3885 default: g_error("Invalid version ID"); g_abort();
3886 }
3887 }
3888
3889 void gdk_window_impl_wayland_priv_set_display_server_server_decoration_or_abort(GdkWindowImplWayland * self, struct org_kde_kwin_server_decoration * display_server_server_decoration) {
3890 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3891 case 0: g_error("GdkWindowImplWayland::display_server.server_decoration not supported on this GTK"); g_abort();
3892 case 1: g_error("GdkWindowImplWayland::display_server.server_decoration not supported on this GTK"); g_abort();
3893 case 2: g_error("GdkWindowImplWayland::display_server.server_decoration not supported on this GTK"); g_abort();
3894 case 3: ((struct _GdkWindowImplWayland_v3_22_25*)self)->display_server.server_decoration = display_server_server_decoration; break;
3895 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.server_decoration = display_server_server_decoration; break;
3896 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.server_decoration = display_server_server_decoration; break;
3897 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.server_decoration = display_server_server_decoration; break;
3898 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.server_decoration = display_server_server_decoration; break;
3899 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.server_decoration = display_server_server_decoration; break;
3900 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.server_decoration = display_server_server_decoration; break;
3901 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.server_decoration = display_server_server_decoration; break;
3902 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.server_decoration = display_server_server_decoration; break;
3903 default: g_error("Invalid version ID"); g_abort();
3904 }
3905 }
3906
3907 // GdkWindowImplWayland::display_server.xdg_surface
3908
3909 gboolean gdk_window_impl_wayland_priv_get_display_server_xdg_surface_supported() {
3910 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3911 case 0: return FALSE;
3912 case 1: return FALSE;
3913 case 2: return FALSE;
3914 case 3: return FALSE;
3915 case 4: return TRUE;
3916 case 5: return TRUE;
3917 case 6: return TRUE;
3918 case 7: return TRUE;
3919 case 8: return TRUE;
3920 case 9: return TRUE;
3921 case 10: return TRUE;
3922 case 11: return TRUE;
3923 default: g_error("Invalid version ID"); g_abort();
3924 }
3925 }
3926
3927 struct xdg_surface * gdk_window_impl_wayland_priv_get_display_server_xdg_surface_or_abort(GdkWindowImplWayland * self) {
3928 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3929 case 0: g_error("GdkWindowImplWayland::display_server.xdg_surface not supported on this GTK"); g_abort();
3930 case 1: g_error("GdkWindowImplWayland::display_server.xdg_surface not supported on this GTK"); g_abort();
3931 case 2: g_error("GdkWindowImplWayland::display_server.xdg_surface not supported on this GTK"); g_abort();
3932 case 3: g_error("GdkWindowImplWayland::display_server.xdg_surface not supported on this GTK"); g_abort();
3933 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.xdg_surface;
3934 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.xdg_surface;
3935 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.xdg_surface;
3936 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.xdg_surface;
3937 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.xdg_surface;
3938 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.xdg_surface;
3939 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.xdg_surface;
3940 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.xdg_surface;
3941 default: g_error("Invalid version ID"); g_abort();
3942 }
3943 }
3944
3945 void gdk_window_impl_wayland_priv_set_display_server_xdg_surface_or_abort(GdkWindowImplWayland * self, struct xdg_surface * display_server_xdg_surface) {
3946 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3947 case 0: g_error("GdkWindowImplWayland::display_server.xdg_surface not supported on this GTK"); g_abort();
3948 case 1: g_error("GdkWindowImplWayland::display_server.xdg_surface not supported on this GTK"); g_abort();
3949 case 2: g_error("GdkWindowImplWayland::display_server.xdg_surface not supported on this GTK"); g_abort();
3950 case 3: g_error("GdkWindowImplWayland::display_server.xdg_surface not supported on this GTK"); g_abort();
3951 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.xdg_surface = display_server_xdg_surface; break;
3952 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.xdg_surface = display_server_xdg_surface; break;
3953 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.xdg_surface = display_server_xdg_surface; break;
3954 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.xdg_surface = display_server_xdg_surface; break;
3955 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.xdg_surface = display_server_xdg_surface; break;
3956 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.xdg_surface = display_server_xdg_surface; break;
3957 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.xdg_surface = display_server_xdg_surface; break;
3958 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.xdg_surface = display_server_xdg_surface; break;
3959 default: g_error("Invalid version ID"); g_abort();
3960 }
3961 }
3962
3963 // GdkWindowImplWayland::display_server.xdg_toplevel
3964
3965 gboolean gdk_window_impl_wayland_priv_get_display_server_xdg_toplevel_supported() {
3966 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3967 case 0: return FALSE;
3968 case 1: return FALSE;
3969 case 2: return FALSE;
3970 case 3: return FALSE;
3971 case 4: return TRUE;
3972 case 5: return TRUE;
3973 case 6: return TRUE;
3974 case 7: return TRUE;
3975 case 8: return TRUE;
3976 case 9: return TRUE;
3977 case 10: return TRUE;
3978 case 11: return TRUE;
3979 default: g_error("Invalid version ID"); g_abort();
3980 }
3981 }
3982
3983 struct xdg_toplevel * gdk_window_impl_wayland_priv_get_display_server_xdg_toplevel_or_abort(GdkWindowImplWayland * self) {
3984 switch (gdk_window_impl_wayland_priv_get_version_id()) {
3985 case 0: g_error("GdkWindowImplWayland::display_server.xdg_toplevel not supported on this GTK"); g_abort();
3986 case 1: g_error("GdkWindowImplWayland::display_server.xdg_toplevel not supported on this GTK"); g_abort();
3987 case 2: g_error("GdkWindowImplWayland::display_server.xdg_toplevel not supported on this GTK"); g_abort();
3988 case 3: g_error("GdkWindowImplWayland::display_server.xdg_toplevel not supported on this GTK"); g_abort();
3989 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.xdg_toplevel;
3990 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.xdg_toplevel;
3991 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.xdg_toplevel;
3992 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.xdg_toplevel;
3993 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.xdg_toplevel;
3994 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.xdg_toplevel;
3995 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.xdg_toplevel;
3996 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.xdg_toplevel;
3997 default: g_error("Invalid version ID"); g_abort();
3998 }
3999 }
4000
4001 void gdk_window_impl_wayland_priv_set_display_server_xdg_toplevel_or_abort(GdkWindowImplWayland * self, struct xdg_toplevel * display_server_xdg_toplevel) {
4002 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4003 case 0: g_error("GdkWindowImplWayland::display_server.xdg_toplevel not supported on this GTK"); g_abort();
4004 case 1: g_error("GdkWindowImplWayland::display_server.xdg_toplevel not supported on this GTK"); g_abort();
4005 case 2: g_error("GdkWindowImplWayland::display_server.xdg_toplevel not supported on this GTK"); g_abort();
4006 case 3: g_error("GdkWindowImplWayland::display_server.xdg_toplevel not supported on this GTK"); g_abort();
4007 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.xdg_toplevel = display_server_xdg_toplevel; break;
4008 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.xdg_toplevel = display_server_xdg_toplevel; break;
4009 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.xdg_toplevel = display_server_xdg_toplevel; break;
4010 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.xdg_toplevel = display_server_xdg_toplevel; break;
4011 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.xdg_toplevel = display_server_xdg_toplevel; break;
4012 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.xdg_toplevel = display_server_xdg_toplevel; break;
4013 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.xdg_toplevel = display_server_xdg_toplevel; break;
4014 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.xdg_toplevel = display_server_xdg_toplevel; break;
4015 default: g_error("Invalid version ID"); g_abort();
4016 }
4017 }
4018
4019 // GdkWindowImplWayland::display_server.xdg_popup
4020
4021 gboolean gdk_window_impl_wayland_priv_get_display_server_xdg_popup_supported() {
4022 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4023 case 0: return FALSE;
4024 case 1: return FALSE;
4025 case 2: return FALSE;
4026 case 3: return FALSE;
4027 case 4: return TRUE;
4028 case 5: return TRUE;
4029 case 6: return TRUE;
4030 case 7: return TRUE;
4031 case 8: return TRUE;
4032 case 9: return TRUE;
4033 case 10: return TRUE;
4034 case 11: return TRUE;
4035 default: g_error("Invalid version ID"); g_abort();
4036 }
4037 }
4038
4039 struct xdg_popup * gdk_window_impl_wayland_priv_get_display_server_xdg_popup_or_abort(GdkWindowImplWayland * self) {
4040 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4041 case 0: g_error("GdkWindowImplWayland::display_server.xdg_popup not supported on this GTK"); g_abort();
4042 case 1: g_error("GdkWindowImplWayland::display_server.xdg_popup not supported on this GTK"); g_abort();
4043 case 2: g_error("GdkWindowImplWayland::display_server.xdg_popup not supported on this GTK"); g_abort();
4044 case 3: g_error("GdkWindowImplWayland::display_server.xdg_popup not supported on this GTK"); g_abort();
4045 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.xdg_popup;
4046 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.xdg_popup;
4047 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.xdg_popup;
4048 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.xdg_popup;
4049 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.xdg_popup;
4050 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.xdg_popup;
4051 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.xdg_popup;
4052 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.xdg_popup;
4053 default: g_error("Invalid version ID"); g_abort();
4054 }
4055 }
4056
4057 void gdk_window_impl_wayland_priv_set_display_server_xdg_popup_or_abort(GdkWindowImplWayland * self, struct xdg_popup * display_server_xdg_popup) {
4058 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4059 case 0: g_error("GdkWindowImplWayland::display_server.xdg_popup not supported on this GTK"); g_abort();
4060 case 1: g_error("GdkWindowImplWayland::display_server.xdg_popup not supported on this GTK"); g_abort();
4061 case 2: g_error("GdkWindowImplWayland::display_server.xdg_popup not supported on this GTK"); g_abort();
4062 case 3: g_error("GdkWindowImplWayland::display_server.xdg_popup not supported on this GTK"); g_abort();
4063 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.xdg_popup = display_server_xdg_popup; break;
4064 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.xdg_popup = display_server_xdg_popup; break;
4065 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.xdg_popup = display_server_xdg_popup; break;
4066 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.xdg_popup = display_server_xdg_popup; break;
4067 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.xdg_popup = display_server_xdg_popup; break;
4068 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.xdg_popup = display_server_xdg_popup; break;
4069 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.xdg_popup = display_server_xdg_popup; break;
4070 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.xdg_popup = display_server_xdg_popup; break;
4071 default: g_error("Invalid version ID"); g_abort();
4072 }
4073 }
4074
4075 // GdkWindowImplWayland::display_server.zxdg_surface_v6
4076
4077 gboolean gdk_window_impl_wayland_priv_get_display_server_zxdg_surface_v6_supported() {
4078 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4079 case 0: return FALSE;
4080 case 1: return FALSE;
4081 case 2: return FALSE;
4082 case 3: return FALSE;
4083 case 4: return TRUE;
4084 case 5: return TRUE;
4085 case 6: return TRUE;
4086 case 7: return TRUE;
4087 case 8: return TRUE;
4088 case 9: return TRUE;
4089 case 10: return TRUE;
4090 case 11: return TRUE;
4091 default: g_error("Invalid version ID"); g_abort();
4092 }
4093 }
4094
4095 struct zxdg_surface_v6 * gdk_window_impl_wayland_priv_get_display_server_zxdg_surface_v6_or_abort(GdkWindowImplWayland * self) {
4096 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4097 case 0: g_error("GdkWindowImplWayland::display_server.zxdg_surface_v6 not supported on this GTK"); g_abort();
4098 case 1: g_error("GdkWindowImplWayland::display_server.zxdg_surface_v6 not supported on this GTK"); g_abort();
4099 case 2: g_error("GdkWindowImplWayland::display_server.zxdg_surface_v6 not supported on this GTK"); g_abort();
4100 case 3: g_error("GdkWindowImplWayland::display_server.zxdg_surface_v6 not supported on this GTK"); g_abort();
4101 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.zxdg_surface_v6;
4102 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.zxdg_surface_v6;
4103 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.zxdg_surface_v6;
4104 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.zxdg_surface_v6;
4105 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.zxdg_surface_v6;
4106 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.zxdg_surface_v6;
4107 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.zxdg_surface_v6;
4108 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.zxdg_surface_v6;
4109 default: g_error("Invalid version ID"); g_abort();
4110 }
4111 }
4112
4113 void gdk_window_impl_wayland_priv_set_display_server_zxdg_surface_v6_or_abort(GdkWindowImplWayland * self, struct zxdg_surface_v6 * display_server_zxdg_surface_v6) {
4114 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4115 case 0: g_error("GdkWindowImplWayland::display_server.zxdg_surface_v6 not supported on this GTK"); g_abort();
4116 case 1: g_error("GdkWindowImplWayland::display_server.zxdg_surface_v6 not supported on this GTK"); g_abort();
4117 case 2: g_error("GdkWindowImplWayland::display_server.zxdg_surface_v6 not supported on this GTK"); g_abort();
4118 case 3: g_error("GdkWindowImplWayland::display_server.zxdg_surface_v6 not supported on this GTK"); g_abort();
4119 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.zxdg_surface_v6 = display_server_zxdg_surface_v6; break;
4120 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.zxdg_surface_v6 = display_server_zxdg_surface_v6; break;
4121 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.zxdg_surface_v6 = display_server_zxdg_surface_v6; break;
4122 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.zxdg_surface_v6 = display_server_zxdg_surface_v6; break;
4123 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.zxdg_surface_v6 = display_server_zxdg_surface_v6; break;
4124 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.zxdg_surface_v6 = display_server_zxdg_surface_v6; break;
4125 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.zxdg_surface_v6 = display_server_zxdg_surface_v6; break;
4126 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.zxdg_surface_v6 = display_server_zxdg_surface_v6; break;
4127 default: g_error("Invalid version ID"); g_abort();
4128 }
4129 }
4130
4131 // GdkWindowImplWayland::display_server.zxdg_toplevel_v6
4132
4133 gboolean gdk_window_impl_wayland_priv_get_display_server_zxdg_toplevel_v6_supported() {
4134 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4135 case 0: return FALSE;
4136 case 1: return FALSE;
4137 case 2: return FALSE;
4138 case 3: return FALSE;
4139 case 4: return TRUE;
4140 case 5: return TRUE;
4141 case 6: return TRUE;
4142 case 7: return TRUE;
4143 case 8: return TRUE;
4144 case 9: return TRUE;
4145 case 10: return TRUE;
4146 case 11: return TRUE;
4147 default: g_error("Invalid version ID"); g_abort();
4148 }
4149 }
4150
4151 struct zxdg_toplevel_v6 * gdk_window_impl_wayland_priv_get_display_server_zxdg_toplevel_v6_or_abort(GdkWindowImplWayland * self) {
4152 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4153 case 0: g_error("GdkWindowImplWayland::display_server.zxdg_toplevel_v6 not supported on this GTK"); g_abort();
4154 case 1: g_error("GdkWindowImplWayland::display_server.zxdg_toplevel_v6 not supported on this GTK"); g_abort();
4155 case 2: g_error("GdkWindowImplWayland::display_server.zxdg_toplevel_v6 not supported on this GTK"); g_abort();
4156 case 3: g_error("GdkWindowImplWayland::display_server.zxdg_toplevel_v6 not supported on this GTK"); g_abort();
4157 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.zxdg_toplevel_v6;
4158 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.zxdg_toplevel_v6;
4159 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.zxdg_toplevel_v6;
4160 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.zxdg_toplevel_v6;
4161 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.zxdg_toplevel_v6;
4162 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.zxdg_toplevel_v6;
4163 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.zxdg_toplevel_v6;
4164 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.zxdg_toplevel_v6;
4165 default: g_error("Invalid version ID"); g_abort();
4166 }
4167 }
4168
4169 void gdk_window_impl_wayland_priv_set_display_server_zxdg_toplevel_v6_or_abort(GdkWindowImplWayland * self, struct zxdg_toplevel_v6 * display_server_zxdg_toplevel_v6) {
4170 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4171 case 0: g_error("GdkWindowImplWayland::display_server.zxdg_toplevel_v6 not supported on this GTK"); g_abort();
4172 case 1: g_error("GdkWindowImplWayland::display_server.zxdg_toplevel_v6 not supported on this GTK"); g_abort();
4173 case 2: g_error("GdkWindowImplWayland::display_server.zxdg_toplevel_v6 not supported on this GTK"); g_abort();
4174 case 3: g_error("GdkWindowImplWayland::display_server.zxdg_toplevel_v6 not supported on this GTK"); g_abort();
4175 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.zxdg_toplevel_v6 = display_server_zxdg_toplevel_v6; break;
4176 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.zxdg_toplevel_v6 = display_server_zxdg_toplevel_v6; break;
4177 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.zxdg_toplevel_v6 = display_server_zxdg_toplevel_v6; break;
4178 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.zxdg_toplevel_v6 = display_server_zxdg_toplevel_v6; break;
4179 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.zxdg_toplevel_v6 = display_server_zxdg_toplevel_v6; break;
4180 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.zxdg_toplevel_v6 = display_server_zxdg_toplevel_v6; break;
4181 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.zxdg_toplevel_v6 = display_server_zxdg_toplevel_v6; break;
4182 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.zxdg_toplevel_v6 = display_server_zxdg_toplevel_v6; break;
4183 default: g_error("Invalid version ID"); g_abort();
4184 }
4185 }
4186
4187 // GdkWindowImplWayland::display_server.zxdg_popup_v6
4188
4189 gboolean gdk_window_impl_wayland_priv_get_display_server_zxdg_popup_v6_supported() {
4190 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4191 case 0: return FALSE;
4192 case 1: return FALSE;
4193 case 2: return FALSE;
4194 case 3: return FALSE;
4195 case 4: return TRUE;
4196 case 5: return TRUE;
4197 case 6: return TRUE;
4198 case 7: return TRUE;
4199 case 8: return TRUE;
4200 case 9: return TRUE;
4201 case 10: return TRUE;
4202 case 11: return TRUE;
4203 default: g_error("Invalid version ID"); g_abort();
4204 }
4205 }
4206
4207 struct zxdg_popup_v6 * gdk_window_impl_wayland_priv_get_display_server_zxdg_popup_v6_or_abort(GdkWindowImplWayland * self) {
4208 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4209 case 0: g_error("GdkWindowImplWayland::display_server.zxdg_popup_v6 not supported on this GTK"); g_abort();
4210 case 1: g_error("GdkWindowImplWayland::display_server.zxdg_popup_v6 not supported on this GTK"); g_abort();
4211 case 2: g_error("GdkWindowImplWayland::display_server.zxdg_popup_v6 not supported on this GTK"); g_abort();
4212 case 3: g_error("GdkWindowImplWayland::display_server.zxdg_popup_v6 not supported on this GTK"); g_abort();
4213 case 4: return ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.zxdg_popup_v6;
4214 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.zxdg_popup_v6;
4215 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.zxdg_popup_v6;
4216 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.zxdg_popup_v6;
4217 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.zxdg_popup_v6;
4218 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.zxdg_popup_v6;
4219 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.zxdg_popup_v6;
4220 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.zxdg_popup_v6;
4221 default: g_error("Invalid version ID"); g_abort();
4222 }
4223 }
4224
4225 void gdk_window_impl_wayland_priv_set_display_server_zxdg_popup_v6_or_abort(GdkWindowImplWayland * self, struct zxdg_popup_v6 * display_server_zxdg_popup_v6) {
4226 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4227 case 0: g_error("GdkWindowImplWayland::display_server.zxdg_popup_v6 not supported on this GTK"); g_abort();
4228 case 1: g_error("GdkWindowImplWayland::display_server.zxdg_popup_v6 not supported on this GTK"); g_abort();
4229 case 2: g_error("GdkWindowImplWayland::display_server.zxdg_popup_v6 not supported on this GTK"); g_abort();
4230 case 3: g_error("GdkWindowImplWayland::display_server.zxdg_popup_v6 not supported on this GTK"); g_abort();
4231 case 4: ((struct _GdkWindowImplWayland_v3_22_30*)self)->display_server.zxdg_popup_v6 = display_server_zxdg_popup_v6; break;
4232 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->display_server.zxdg_popup_v6 = display_server_zxdg_popup_v6; break;
4233 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->display_server.zxdg_popup_v6 = display_server_zxdg_popup_v6; break;
4234 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->display_server.zxdg_popup_v6 = display_server_zxdg_popup_v6; break;
4235 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->display_server.zxdg_popup_v6 = display_server_zxdg_popup_v6; break;
4236 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->display_server.zxdg_popup_v6 = display_server_zxdg_popup_v6; break;
4237 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->display_server.zxdg_popup_v6 = display_server_zxdg_popup_v6; break;
4238 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->display_server.zxdg_popup_v6 = display_server_zxdg_popup_v6; break;
4239 default: g_error("Invalid version ID"); g_abort();
4240 }
4241 }
4242
4243 // GdkWindowImplWayland::using_csd
4244
4245 gboolean gdk_window_impl_wayland_priv_get_using_csd_supported() {
4246 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4247 case 0: return FALSE;
4248 case 1: return FALSE;
4249 case 2: return FALSE;
4250 case 3: return FALSE;
4251 case 4: return FALSE;
4252 case 5: return TRUE;
4253 case 6: return TRUE;
4254 case 7: return TRUE;
4255 case 8: return TRUE;
4256 case 9: return TRUE;
4257 case 10: return TRUE;
4258 case 11: return TRUE;
4259 default: g_error("Invalid version ID"); g_abort();
4260 }
4261 }
4262
4263 unsigned int gdk_window_impl_wayland_priv_get_using_csd_or_abort(GdkWindowImplWayland * self) {
4264 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4265 case 0: g_error("GdkWindowImplWayland::using_csd not supported on this GTK"); g_abort();
4266 case 1: g_error("GdkWindowImplWayland::using_csd not supported on this GTK"); g_abort();
4267 case 2: g_error("GdkWindowImplWayland::using_csd not supported on this GTK"); g_abort();
4268 case 3: g_error("GdkWindowImplWayland::using_csd not supported on this GTK"); g_abort();
4269 case 4: g_error("GdkWindowImplWayland::using_csd not supported on this GTK"); g_abort();
4270 case 5: return ((struct _GdkWindowImplWayland_v3_23_1*)self)->using_csd;
4271 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->using_csd;
4272 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->using_csd;
4273 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->using_csd;
4274 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->using_csd;
4275 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->using_csd;
4276 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->using_csd;
4277 default: g_error("Invalid version ID"); g_abort();
4278 }
4279 }
4280
4281 void gdk_window_impl_wayland_priv_set_using_csd_or_abort(GdkWindowImplWayland * self, unsigned int using_csd) {
4282 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4283 case 0: g_error("GdkWindowImplWayland::using_csd not supported on this GTK"); g_abort();
4284 case 1: g_error("GdkWindowImplWayland::using_csd not supported on this GTK"); g_abort();
4285 case 2: g_error("GdkWindowImplWayland::using_csd not supported on this GTK"); g_abort();
4286 case 3: g_error("GdkWindowImplWayland::using_csd not supported on this GTK"); g_abort();
4287 case 4: g_error("GdkWindowImplWayland::using_csd not supported on this GTK"); g_abort();
4288 case 5: ((struct _GdkWindowImplWayland_v3_23_1*)self)->using_csd = using_csd; break;
4289 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->using_csd = using_csd; break;
4290 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->using_csd = using_csd; break;
4291 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->using_csd = using_csd; break;
4292 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->using_csd = using_csd; break;
4293 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->using_csd = using_csd; break;
4294 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->using_csd = using_csd; break;
4295 default: g_error("Invalid version ID"); g_abort();
4296 }
4297 }
4298
4299 // GdkWindowImplWayland::subsurface_x
4300
4301 gboolean gdk_window_impl_wayland_priv_get_subsurface_x_supported() {
4302 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4303 case 0: return FALSE;
4304 case 1: return FALSE;
4305 case 2: return FALSE;
4306 case 3: return FALSE;
4307 case 4: return FALSE;
4308 case 5: return FALSE;
4309 case 6: return TRUE;
4310 case 7: return TRUE;
4311 case 8: return TRUE;
4312 case 9: return TRUE;
4313 case 10: return TRUE;
4314 case 11: return TRUE;
4315 default: g_error("Invalid version ID"); g_abort();
4316 }
4317 }
4318
4319 int gdk_window_impl_wayland_priv_get_subsurface_x_or_abort(GdkWindowImplWayland * self) {
4320 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4321 case 0: g_error("GdkWindowImplWayland::subsurface_x not supported on this GTK"); g_abort();
4322 case 1: g_error("GdkWindowImplWayland::subsurface_x not supported on this GTK"); g_abort();
4323 case 2: g_error("GdkWindowImplWayland::subsurface_x not supported on this GTK"); g_abort();
4324 case 3: g_error("GdkWindowImplWayland::subsurface_x not supported on this GTK"); g_abort();
4325 case 4: g_error("GdkWindowImplWayland::subsurface_x not supported on this GTK"); g_abort();
4326 case 5: g_error("GdkWindowImplWayland::subsurface_x not supported on this GTK"); g_abort();
4327 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->subsurface_x;
4328 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->subsurface_x;
4329 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->subsurface_x;
4330 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->subsurface_x;
4331 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->subsurface_x;
4332 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->subsurface_x;
4333 default: g_error("Invalid version ID"); g_abort();
4334 }
4335 }
4336
4337 void gdk_window_impl_wayland_priv_set_subsurface_x_or_abort(GdkWindowImplWayland * self, int subsurface_x) {
4338 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4339 case 0: g_error("GdkWindowImplWayland::subsurface_x not supported on this GTK"); g_abort();
4340 case 1: g_error("GdkWindowImplWayland::subsurface_x not supported on this GTK"); g_abort();
4341 case 2: g_error("GdkWindowImplWayland::subsurface_x not supported on this GTK"); g_abort();
4342 case 3: g_error("GdkWindowImplWayland::subsurface_x not supported on this GTK"); g_abort();
4343 case 4: g_error("GdkWindowImplWayland::subsurface_x not supported on this GTK"); g_abort();
4344 case 5: g_error("GdkWindowImplWayland::subsurface_x not supported on this GTK"); g_abort();
4345 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->subsurface_x = subsurface_x; break;
4346 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->subsurface_x = subsurface_x; break;
4347 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->subsurface_x = subsurface_x; break;
4348 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->subsurface_x = subsurface_x; break;
4349 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->subsurface_x = subsurface_x; break;
4350 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->subsurface_x = subsurface_x; break;
4351 default: g_error("Invalid version ID"); g_abort();
4352 }
4353 }
4354
4355 // GdkWindowImplWayland::subsurface_y
4356
4357 gboolean gdk_window_impl_wayland_priv_get_subsurface_y_supported() {
4358 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4359 case 0: return FALSE;
4360 case 1: return FALSE;
4361 case 2: return FALSE;
4362 case 3: return FALSE;
4363 case 4: return FALSE;
4364 case 5: return FALSE;
4365 case 6: return TRUE;
4366 case 7: return TRUE;
4367 case 8: return TRUE;
4368 case 9: return TRUE;
4369 case 10: return TRUE;
4370 case 11: return TRUE;
4371 default: g_error("Invalid version ID"); g_abort();
4372 }
4373 }
4374
4375 int gdk_window_impl_wayland_priv_get_subsurface_y_or_abort(GdkWindowImplWayland * self) {
4376 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4377 case 0: g_error("GdkWindowImplWayland::subsurface_y not supported on this GTK"); g_abort();
4378 case 1: g_error("GdkWindowImplWayland::subsurface_y not supported on this GTK"); g_abort();
4379 case 2: g_error("GdkWindowImplWayland::subsurface_y not supported on this GTK"); g_abort();
4380 case 3: g_error("GdkWindowImplWayland::subsurface_y not supported on this GTK"); g_abort();
4381 case 4: g_error("GdkWindowImplWayland::subsurface_y not supported on this GTK"); g_abort();
4382 case 5: g_error("GdkWindowImplWayland::subsurface_y not supported on this GTK"); g_abort();
4383 case 6: return ((struct _GdkWindowImplWayland_v3_23_3*)self)->subsurface_y;
4384 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->subsurface_y;
4385 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->subsurface_y;
4386 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->subsurface_y;
4387 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->subsurface_y;
4388 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->subsurface_y;
4389 default: g_error("Invalid version ID"); g_abort();
4390 }
4391 }
4392
4393 void gdk_window_impl_wayland_priv_set_subsurface_y_or_abort(GdkWindowImplWayland * self, int subsurface_y) {
4394 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4395 case 0: g_error("GdkWindowImplWayland::subsurface_y not supported on this GTK"); g_abort();
4396 case 1: g_error("GdkWindowImplWayland::subsurface_y not supported on this GTK"); g_abort();
4397 case 2: g_error("GdkWindowImplWayland::subsurface_y not supported on this GTK"); g_abort();
4398 case 3: g_error("GdkWindowImplWayland::subsurface_y not supported on this GTK"); g_abort();
4399 case 4: g_error("GdkWindowImplWayland::subsurface_y not supported on this GTK"); g_abort();
4400 case 5: g_error("GdkWindowImplWayland::subsurface_y not supported on this GTK"); g_abort();
4401 case 6: ((struct _GdkWindowImplWayland_v3_23_3*)self)->subsurface_y = subsurface_y; break;
4402 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->subsurface_y = subsurface_y; break;
4403 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->subsurface_y = subsurface_y; break;
4404 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->subsurface_y = subsurface_y; break;
4405 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->subsurface_y = subsurface_y; break;
4406 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->subsurface_y = subsurface_y; break;
4407 default: g_error("Invalid version ID"); g_abort();
4408 }
4409 }
4410
4411 // GdkWindowImplWayland::configuring_popup
4412
4413 gboolean gdk_window_impl_wayland_priv_get_configuring_popup_supported() {
4414 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4415 case 0: return FALSE;
4416 case 1: return FALSE;
4417 case 2: return FALSE;
4418 case 3: return FALSE;
4419 case 4: return FALSE;
4420 case 5: return FALSE;
4421 case 6: return FALSE;
4422 case 7: return TRUE;
4423 case 8: return TRUE;
4424 case 9: return TRUE;
4425 case 10: return TRUE;
4426 case 11: return TRUE;
4427 default: g_error("Invalid version ID"); g_abort();
4428 }
4429 }
4430
4431 unsigned int gdk_window_impl_wayland_priv_get_configuring_popup_or_abort(GdkWindowImplWayland * self) {
4432 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4433 case 0: g_error("GdkWindowImplWayland::configuring_popup not supported on this GTK"); g_abort();
4434 case 1: g_error("GdkWindowImplWayland::configuring_popup not supported on this GTK"); g_abort();
4435 case 2: g_error("GdkWindowImplWayland::configuring_popup not supported on this GTK"); g_abort();
4436 case 3: g_error("GdkWindowImplWayland::configuring_popup not supported on this GTK"); g_abort();
4437 case 4: g_error("GdkWindowImplWayland::configuring_popup not supported on this GTK"); g_abort();
4438 case 5: g_error("GdkWindowImplWayland::configuring_popup not supported on this GTK"); g_abort();
4439 case 6: g_error("GdkWindowImplWayland::configuring_popup not supported on this GTK"); g_abort();
4440 case 7: return ((struct _GdkWindowImplWayland_v3_24_4*)self)->configuring_popup;
4441 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->configuring_popup;
4442 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->configuring_popup;
4443 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->configuring_popup;
4444 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->configuring_popup;
4445 default: g_error("Invalid version ID"); g_abort();
4446 }
4447 }
4448
4449 void gdk_window_impl_wayland_priv_set_configuring_popup_or_abort(GdkWindowImplWayland * self, unsigned int configuring_popup) {
4450 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4451 case 0: g_error("GdkWindowImplWayland::configuring_popup not supported on this GTK"); g_abort();
4452 case 1: g_error("GdkWindowImplWayland::configuring_popup not supported on this GTK"); g_abort();
4453 case 2: g_error("GdkWindowImplWayland::configuring_popup not supported on this GTK"); g_abort();
4454 case 3: g_error("GdkWindowImplWayland::configuring_popup not supported on this GTK"); g_abort();
4455 case 4: g_error("GdkWindowImplWayland::configuring_popup not supported on this GTK"); g_abort();
4456 case 5: g_error("GdkWindowImplWayland::configuring_popup not supported on this GTK"); g_abort();
4457 case 6: g_error("GdkWindowImplWayland::configuring_popup not supported on this GTK"); g_abort();
4458 case 7: ((struct _GdkWindowImplWayland_v3_24_4*)self)->configuring_popup = configuring_popup; break;
4459 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->configuring_popup = configuring_popup; break;
4460 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->configuring_popup = configuring_popup; break;
4461 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->configuring_popup = configuring_popup; break;
4462 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->configuring_popup = configuring_popup; break;
4463 default: g_error("Invalid version ID"); g_abort();
4464 }
4465 }
4466
4467 // GdkWindowImplWayland::unconfigured_width
4468
4469 gboolean gdk_window_impl_wayland_priv_get_unconfigured_width_supported() {
4470 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4471 case 0: return FALSE;
4472 case 1: return FALSE;
4473 case 2: return FALSE;
4474 case 3: return FALSE;
4475 case 4: return FALSE;
4476 case 5: return FALSE;
4477 case 6: return FALSE;
4478 case 7: return FALSE;
4479 case 8: return TRUE;
4480 case 9: return TRUE;
4481 case 10: return TRUE;
4482 case 11: return TRUE;
4483 default: g_error("Invalid version ID"); g_abort();
4484 }
4485 }
4486
4487 int gdk_window_impl_wayland_priv_get_unconfigured_width_or_abort(GdkWindowImplWayland * self) {
4488 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4489 case 0: g_error("GdkWindowImplWayland::unconfigured_width not supported on this GTK"); g_abort();
4490 case 1: g_error("GdkWindowImplWayland::unconfigured_width not supported on this GTK"); g_abort();
4491 case 2: g_error("GdkWindowImplWayland::unconfigured_width not supported on this GTK"); g_abort();
4492 case 3: g_error("GdkWindowImplWayland::unconfigured_width not supported on this GTK"); g_abort();
4493 case 4: g_error("GdkWindowImplWayland::unconfigured_width not supported on this GTK"); g_abort();
4494 case 5: g_error("GdkWindowImplWayland::unconfigured_width not supported on this GTK"); g_abort();
4495 case 6: g_error("GdkWindowImplWayland::unconfigured_width not supported on this GTK"); g_abort();
4496 case 7: g_error("GdkWindowImplWayland::unconfigured_width not supported on this GTK"); g_abort();
4497 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->unconfigured_width;
4498 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->unconfigured_width;
4499 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->unconfigured_width;
4500 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->unconfigured_width;
4501 default: g_error("Invalid version ID"); g_abort();
4502 }
4503 }
4504
4505 void gdk_window_impl_wayland_priv_set_unconfigured_width_or_abort(GdkWindowImplWayland * self, int unconfigured_width) {
4506 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4507 case 0: g_error("GdkWindowImplWayland::unconfigured_width not supported on this GTK"); g_abort();
4508 case 1: g_error("GdkWindowImplWayland::unconfigured_width not supported on this GTK"); g_abort();
4509 case 2: g_error("GdkWindowImplWayland::unconfigured_width not supported on this GTK"); g_abort();
4510 case 3: g_error("GdkWindowImplWayland::unconfigured_width not supported on this GTK"); g_abort();
4511 case 4: g_error("GdkWindowImplWayland::unconfigured_width not supported on this GTK"); g_abort();
4512 case 5: g_error("GdkWindowImplWayland::unconfigured_width not supported on this GTK"); g_abort();
4513 case 6: g_error("GdkWindowImplWayland::unconfigured_width not supported on this GTK"); g_abort();
4514 case 7: g_error("GdkWindowImplWayland::unconfigured_width not supported on this GTK"); g_abort();
4515 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->unconfigured_width = unconfigured_width; break;
4516 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->unconfigured_width = unconfigured_width; break;
4517 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->unconfigured_width = unconfigured_width; break;
4518 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->unconfigured_width = unconfigured_width; break;
4519 default: g_error("Invalid version ID"); g_abort();
4520 }
4521 }
4522
4523 // GdkWindowImplWayland::unconfigured_height
4524
4525 gboolean gdk_window_impl_wayland_priv_get_unconfigured_height_supported() {
4526 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4527 case 0: return FALSE;
4528 case 1: return FALSE;
4529 case 2: return FALSE;
4530 case 3: return FALSE;
4531 case 4: return FALSE;
4532 case 5: return FALSE;
4533 case 6: return FALSE;
4534 case 7: return FALSE;
4535 case 8: return TRUE;
4536 case 9: return TRUE;
4537 case 10: return TRUE;
4538 case 11: return TRUE;
4539 default: g_error("Invalid version ID"); g_abort();
4540 }
4541 }
4542
4543 int gdk_window_impl_wayland_priv_get_unconfigured_height_or_abort(GdkWindowImplWayland * self) {
4544 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4545 case 0: g_error("GdkWindowImplWayland::unconfigured_height not supported on this GTK"); g_abort();
4546 case 1: g_error("GdkWindowImplWayland::unconfigured_height not supported on this GTK"); g_abort();
4547 case 2: g_error("GdkWindowImplWayland::unconfigured_height not supported on this GTK"); g_abort();
4548 case 3: g_error("GdkWindowImplWayland::unconfigured_height not supported on this GTK"); g_abort();
4549 case 4: g_error("GdkWindowImplWayland::unconfigured_height not supported on this GTK"); g_abort();
4550 case 5: g_error("GdkWindowImplWayland::unconfigured_height not supported on this GTK"); g_abort();
4551 case 6: g_error("GdkWindowImplWayland::unconfigured_height not supported on this GTK"); g_abort();
4552 case 7: g_error("GdkWindowImplWayland::unconfigured_height not supported on this GTK"); g_abort();
4553 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->unconfigured_height;
4554 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->unconfigured_height;
4555 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->unconfigured_height;
4556 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->unconfigured_height;
4557 default: g_error("Invalid version ID"); g_abort();
4558 }
4559 }
4560
4561 void gdk_window_impl_wayland_priv_set_unconfigured_height_or_abort(GdkWindowImplWayland * self, int unconfigured_height) {
4562 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4563 case 0: g_error("GdkWindowImplWayland::unconfigured_height not supported on this GTK"); g_abort();
4564 case 1: g_error("GdkWindowImplWayland::unconfigured_height not supported on this GTK"); g_abort();
4565 case 2: g_error("GdkWindowImplWayland::unconfigured_height not supported on this GTK"); g_abort();
4566 case 3: g_error("GdkWindowImplWayland::unconfigured_height not supported on this GTK"); g_abort();
4567 case 4: g_error("GdkWindowImplWayland::unconfigured_height not supported on this GTK"); g_abort();
4568 case 5: g_error("GdkWindowImplWayland::unconfigured_height not supported on this GTK"); g_abort();
4569 case 6: g_error("GdkWindowImplWayland::unconfigured_height not supported on this GTK"); g_abort();
4570 case 7: g_error("GdkWindowImplWayland::unconfigured_height not supported on this GTK"); g_abort();
4571 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->unconfigured_height = unconfigured_height; break;
4572 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->unconfigured_height = unconfigured_height; break;
4573 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->unconfigured_height = unconfigured_height; break;
4574 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->unconfigured_height = unconfigured_height; break;
4575 default: g_error("Invalid version ID"); g_abort();
4576 }
4577 }
4578
4579 // GdkWindowImplWayland::fixed_size_width
4580
4581 gboolean gdk_window_impl_wayland_priv_get_fixed_size_width_supported() {
4582 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4583 case 0: return FALSE;
4584 case 1: return FALSE;
4585 case 2: return FALSE;
4586 case 3: return FALSE;
4587 case 4: return FALSE;
4588 case 5: return FALSE;
4589 case 6: return FALSE;
4590 case 7: return FALSE;
4591 case 8: return TRUE;
4592 case 9: return TRUE;
4593 case 10: return TRUE;
4594 case 11: return TRUE;
4595 default: g_error("Invalid version ID"); g_abort();
4596 }
4597 }
4598
4599 int gdk_window_impl_wayland_priv_get_fixed_size_width_or_abort(GdkWindowImplWayland * self) {
4600 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4601 case 0: g_error("GdkWindowImplWayland::fixed_size_width not supported on this GTK"); g_abort();
4602 case 1: g_error("GdkWindowImplWayland::fixed_size_width not supported on this GTK"); g_abort();
4603 case 2: g_error("GdkWindowImplWayland::fixed_size_width not supported on this GTK"); g_abort();
4604 case 3: g_error("GdkWindowImplWayland::fixed_size_width not supported on this GTK"); g_abort();
4605 case 4: g_error("GdkWindowImplWayland::fixed_size_width not supported on this GTK"); g_abort();
4606 case 5: g_error("GdkWindowImplWayland::fixed_size_width not supported on this GTK"); g_abort();
4607 case 6: g_error("GdkWindowImplWayland::fixed_size_width not supported on this GTK"); g_abort();
4608 case 7: g_error("GdkWindowImplWayland::fixed_size_width not supported on this GTK"); g_abort();
4609 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->fixed_size_width;
4610 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->fixed_size_width;
4611 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->fixed_size_width;
4612 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->fixed_size_width;
4613 default: g_error("Invalid version ID"); g_abort();
4614 }
4615 }
4616
4617 void gdk_window_impl_wayland_priv_set_fixed_size_width_or_abort(GdkWindowImplWayland * self, int fixed_size_width) {
4618 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4619 case 0: g_error("GdkWindowImplWayland::fixed_size_width not supported on this GTK"); g_abort();
4620 case 1: g_error("GdkWindowImplWayland::fixed_size_width not supported on this GTK"); g_abort();
4621 case 2: g_error("GdkWindowImplWayland::fixed_size_width not supported on this GTK"); g_abort();
4622 case 3: g_error("GdkWindowImplWayland::fixed_size_width not supported on this GTK"); g_abort();
4623 case 4: g_error("GdkWindowImplWayland::fixed_size_width not supported on this GTK"); g_abort();
4624 case 5: g_error("GdkWindowImplWayland::fixed_size_width not supported on this GTK"); g_abort();
4625 case 6: g_error("GdkWindowImplWayland::fixed_size_width not supported on this GTK"); g_abort();
4626 case 7: g_error("GdkWindowImplWayland::fixed_size_width not supported on this GTK"); g_abort();
4627 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->fixed_size_width = fixed_size_width; break;
4628 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->fixed_size_width = fixed_size_width; break;
4629 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->fixed_size_width = fixed_size_width; break;
4630 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->fixed_size_width = fixed_size_width; break;
4631 default: g_error("Invalid version ID"); g_abort();
4632 }
4633 }
4634
4635 // GdkWindowImplWayland::fixed_size_height
4636
4637 gboolean gdk_window_impl_wayland_priv_get_fixed_size_height_supported() {
4638 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4639 case 0: return FALSE;
4640 case 1: return FALSE;
4641 case 2: return FALSE;
4642 case 3: return FALSE;
4643 case 4: return FALSE;
4644 case 5: return FALSE;
4645 case 6: return FALSE;
4646 case 7: return FALSE;
4647 case 8: return TRUE;
4648 case 9: return TRUE;
4649 case 10: return TRUE;
4650 case 11: return TRUE;
4651 default: g_error("Invalid version ID"); g_abort();
4652 }
4653 }
4654
4655 int gdk_window_impl_wayland_priv_get_fixed_size_height_or_abort(GdkWindowImplWayland * self) {
4656 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4657 case 0: g_error("GdkWindowImplWayland::fixed_size_height not supported on this GTK"); g_abort();
4658 case 1: g_error("GdkWindowImplWayland::fixed_size_height not supported on this GTK"); g_abort();
4659 case 2: g_error("GdkWindowImplWayland::fixed_size_height not supported on this GTK"); g_abort();
4660 case 3: g_error("GdkWindowImplWayland::fixed_size_height not supported on this GTK"); g_abort();
4661 case 4: g_error("GdkWindowImplWayland::fixed_size_height not supported on this GTK"); g_abort();
4662 case 5: g_error("GdkWindowImplWayland::fixed_size_height not supported on this GTK"); g_abort();
4663 case 6: g_error("GdkWindowImplWayland::fixed_size_height not supported on this GTK"); g_abort();
4664 case 7: g_error("GdkWindowImplWayland::fixed_size_height not supported on this GTK"); g_abort();
4665 case 8: return ((struct _GdkWindowImplWayland_v3_24_17*)self)->fixed_size_height;
4666 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->fixed_size_height;
4667 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->fixed_size_height;
4668 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->fixed_size_height;
4669 default: g_error("Invalid version ID"); g_abort();
4670 }
4671 }
4672
4673 void gdk_window_impl_wayland_priv_set_fixed_size_height_or_abort(GdkWindowImplWayland * self, int fixed_size_height) {
4674 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4675 case 0: g_error("GdkWindowImplWayland::fixed_size_height not supported on this GTK"); g_abort();
4676 case 1: g_error("GdkWindowImplWayland::fixed_size_height not supported on this GTK"); g_abort();
4677 case 2: g_error("GdkWindowImplWayland::fixed_size_height not supported on this GTK"); g_abort();
4678 case 3: g_error("GdkWindowImplWayland::fixed_size_height not supported on this GTK"); g_abort();
4679 case 4: g_error("GdkWindowImplWayland::fixed_size_height not supported on this GTK"); g_abort();
4680 case 5: g_error("GdkWindowImplWayland::fixed_size_height not supported on this GTK"); g_abort();
4681 case 6: g_error("GdkWindowImplWayland::fixed_size_height not supported on this GTK"); g_abort();
4682 case 7: g_error("GdkWindowImplWayland::fixed_size_height not supported on this GTK"); g_abort();
4683 case 8: ((struct _GdkWindowImplWayland_v3_24_17*)self)->fixed_size_height = fixed_size_height; break;
4684 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->fixed_size_height = fixed_size_height; break;
4685 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->fixed_size_height = fixed_size_height; break;
4686 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->fixed_size_height = fixed_size_height; break;
4687 default: g_error("Invalid version ID"); g_abort();
4688 }
4689 }
4690
4691 // GdkWindowImplWayland::saved_size_changed
4692
4693 gboolean gdk_window_impl_wayland_priv_get_saved_size_changed_supported() {
4694 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4695 case 0: return FALSE;
4696 case 1: return FALSE;
4697 case 2: return FALSE;
4698 case 3: return FALSE;
4699 case 4: return FALSE;
4700 case 5: return FALSE;
4701 case 6: return FALSE;
4702 case 7: return FALSE;
4703 case 8: return FALSE;
4704 case 9: return TRUE;
4705 case 10: return TRUE;
4706 case 11: return TRUE;
4707 default: g_error("Invalid version ID"); g_abort();
4708 }
4709 }
4710
4711 gboolean gdk_window_impl_wayland_priv_get_saved_size_changed_or_abort(GdkWindowImplWayland * self) {
4712 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4713 case 0: g_error("GdkWindowImplWayland::saved_size_changed not supported on this GTK"); g_abort();
4714 case 1: g_error("GdkWindowImplWayland::saved_size_changed not supported on this GTK"); g_abort();
4715 case 2: g_error("GdkWindowImplWayland::saved_size_changed not supported on this GTK"); g_abort();
4716 case 3: g_error("GdkWindowImplWayland::saved_size_changed not supported on this GTK"); g_abort();
4717 case 4: g_error("GdkWindowImplWayland::saved_size_changed not supported on this GTK"); g_abort();
4718 case 5: g_error("GdkWindowImplWayland::saved_size_changed not supported on this GTK"); g_abort();
4719 case 6: g_error("GdkWindowImplWayland::saved_size_changed not supported on this GTK"); g_abort();
4720 case 7: g_error("GdkWindowImplWayland::saved_size_changed not supported on this GTK"); g_abort();
4721 case 8: g_error("GdkWindowImplWayland::saved_size_changed not supported on this GTK"); g_abort();
4722 case 9: return ((struct _GdkWindowImplWayland_v3_24_22*)self)->saved_size_changed;
4723 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->saved_size_changed;
4724 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->saved_size_changed;
4725 default: g_error("Invalid version ID"); g_abort();
4726 }
4727 }
4728
4729 void gdk_window_impl_wayland_priv_set_saved_size_changed_or_abort(GdkWindowImplWayland * self, gboolean saved_size_changed) {
4730 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4731 case 0: g_error("GdkWindowImplWayland::saved_size_changed not supported on this GTK"); g_abort();
4732 case 1: g_error("GdkWindowImplWayland::saved_size_changed not supported on this GTK"); g_abort();
4733 case 2: g_error("GdkWindowImplWayland::saved_size_changed not supported on this GTK"); g_abort();
4734 case 3: g_error("GdkWindowImplWayland::saved_size_changed not supported on this GTK"); g_abort();
4735 case 4: g_error("GdkWindowImplWayland::saved_size_changed not supported on this GTK"); g_abort();
4736 case 5: g_error("GdkWindowImplWayland::saved_size_changed not supported on this GTK"); g_abort();
4737 case 6: g_error("GdkWindowImplWayland::saved_size_changed not supported on this GTK"); g_abort();
4738 case 7: g_error("GdkWindowImplWayland::saved_size_changed not supported on this GTK"); g_abort();
4739 case 8: g_error("GdkWindowImplWayland::saved_size_changed not supported on this GTK"); g_abort();
4740 case 9: ((struct _GdkWindowImplWayland_v3_24_22*)self)->saved_size_changed = saved_size_changed; break;
4741 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->saved_size_changed = saved_size_changed; break;
4742 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->saved_size_changed = saved_size_changed; break;
4743 default: g_error("Invalid version ID"); g_abort();
4744 }
4745 }
4746
4747 // GdkWindowImplWayland::surface_callback
4748
4749 gboolean gdk_window_impl_wayland_priv_get_surface_callback_supported() {
4750 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4751 case 0: return FALSE;
4752 case 1: return FALSE;
4753 case 2: return FALSE;
4754 case 3: return FALSE;
4755 case 4: return FALSE;
4756 case 5: return FALSE;
4757 case 6: return FALSE;
4758 case 7: return FALSE;
4759 case 8: return FALSE;
4760 case 9: return FALSE;
4761 case 10: return TRUE;
4762 case 11: return TRUE;
4763 default: g_error("Invalid version ID"); g_abort();
4764 }
4765 }
4766
4767 struct wl_callback * gdk_window_impl_wayland_priv_get_surface_callback_or_abort(GdkWindowImplWayland * self) {
4768 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4769 case 0: g_error("GdkWindowImplWayland::surface_callback not supported on this GTK"); g_abort();
4770 case 1: g_error("GdkWindowImplWayland::surface_callback not supported on this GTK"); g_abort();
4771 case 2: g_error("GdkWindowImplWayland::surface_callback not supported on this GTK"); g_abort();
4772 case 3: g_error("GdkWindowImplWayland::surface_callback not supported on this GTK"); g_abort();
4773 case 4: g_error("GdkWindowImplWayland::surface_callback not supported on this GTK"); g_abort();
4774 case 5: g_error("GdkWindowImplWayland::surface_callback not supported on this GTK"); g_abort();
4775 case 6: g_error("GdkWindowImplWayland::surface_callback not supported on this GTK"); g_abort();
4776 case 7: g_error("GdkWindowImplWayland::surface_callback not supported on this GTK"); g_abort();
4777 case 8: g_error("GdkWindowImplWayland::surface_callback not supported on this GTK"); g_abort();
4778 case 9: g_error("GdkWindowImplWayland::surface_callback not supported on this GTK"); g_abort();
4779 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->surface_callback;
4780 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->surface_callback;
4781 default: g_error("Invalid version ID"); g_abort();
4782 }
4783 }
4784
4785 void gdk_window_impl_wayland_priv_set_surface_callback_or_abort(GdkWindowImplWayland * self, struct wl_callback * surface_callback) {
4786 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4787 case 0: g_error("GdkWindowImplWayland::surface_callback not supported on this GTK"); g_abort();
4788 case 1: g_error("GdkWindowImplWayland::surface_callback not supported on this GTK"); g_abort();
4789 case 2: g_error("GdkWindowImplWayland::surface_callback not supported on this GTK"); g_abort();
4790 case 3: g_error("GdkWindowImplWayland::surface_callback not supported on this GTK"); g_abort();
4791 case 4: g_error("GdkWindowImplWayland::surface_callback not supported on this GTK"); g_abort();
4792 case 5: g_error("GdkWindowImplWayland::surface_callback not supported on this GTK"); g_abort();
4793 case 6: g_error("GdkWindowImplWayland::surface_callback not supported on this GTK"); g_abort();
4794 case 7: g_error("GdkWindowImplWayland::surface_callback not supported on this GTK"); g_abort();
4795 case 8: g_error("GdkWindowImplWayland::surface_callback not supported on this GTK"); g_abort();
4796 case 9: g_error("GdkWindowImplWayland::surface_callback not supported on this GTK"); g_abort();
4797 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->surface_callback = surface_callback; break;
4798 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->surface_callback = surface_callback; break;
4799 default: g_error("Invalid version ID"); g_abort();
4800 }
4801 }
4802
4803 // GdkWindowImplWayland::frame_callback_surfaces
4804
4805 gboolean gdk_window_impl_wayland_priv_get_frame_callback_surfaces_supported() {
4806 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4807 case 0: return FALSE;
4808 case 1: return FALSE;
4809 case 2: return FALSE;
4810 case 3: return FALSE;
4811 case 4: return FALSE;
4812 case 5: return FALSE;
4813 case 6: return FALSE;
4814 case 7: return FALSE;
4815 case 8: return FALSE;
4816 case 9: return FALSE;
4817 case 10: return TRUE;
4818 case 11: return TRUE;
4819 default: g_error("Invalid version ID"); g_abort();
4820 }
4821 }
4822
4823 GHashTable * gdk_window_impl_wayland_priv_get_frame_callback_surfaces_or_abort(GdkWindowImplWayland * self) {
4824 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4825 case 0: g_error("GdkWindowImplWayland::frame_callback_surfaces not supported on this GTK"); g_abort();
4826 case 1: g_error("GdkWindowImplWayland::frame_callback_surfaces not supported on this GTK"); g_abort();
4827 case 2: g_error("GdkWindowImplWayland::frame_callback_surfaces not supported on this GTK"); g_abort();
4828 case 3: g_error("GdkWindowImplWayland::frame_callback_surfaces not supported on this GTK"); g_abort();
4829 case 4: g_error("GdkWindowImplWayland::frame_callback_surfaces not supported on this GTK"); g_abort();
4830 case 5: g_error("GdkWindowImplWayland::frame_callback_surfaces not supported on this GTK"); g_abort();
4831 case 6: g_error("GdkWindowImplWayland::frame_callback_surfaces not supported on this GTK"); g_abort();
4832 case 7: g_error("GdkWindowImplWayland::frame_callback_surfaces not supported on this GTK"); g_abort();
4833 case 8: g_error("GdkWindowImplWayland::frame_callback_surfaces not supported on this GTK"); g_abort();
4834 case 9: g_error("GdkWindowImplWayland::frame_callback_surfaces not supported on this GTK"); g_abort();
4835 case 10: return ((struct _GdkWindowImplWayland_v3_24_25*)self)->frame_callback_surfaces;
4836 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->frame_callback_surfaces;
4837 default: g_error("Invalid version ID"); g_abort();
4838 }
4839 }
4840
4841 void gdk_window_impl_wayland_priv_set_frame_callback_surfaces_or_abort(GdkWindowImplWayland * self, GHashTable * frame_callback_surfaces) {
4842 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4843 case 0: g_error("GdkWindowImplWayland::frame_callback_surfaces not supported on this GTK"); g_abort();
4844 case 1: g_error("GdkWindowImplWayland::frame_callback_surfaces not supported on this GTK"); g_abort();
4845 case 2: g_error("GdkWindowImplWayland::frame_callback_surfaces not supported on this GTK"); g_abort();
4846 case 3: g_error("GdkWindowImplWayland::frame_callback_surfaces not supported on this GTK"); g_abort();
4847 case 4: g_error("GdkWindowImplWayland::frame_callback_surfaces not supported on this GTK"); g_abort();
4848 case 5: g_error("GdkWindowImplWayland::frame_callback_surfaces not supported on this GTK"); g_abort();
4849 case 6: g_error("GdkWindowImplWayland::frame_callback_surfaces not supported on this GTK"); g_abort();
4850 case 7: g_error("GdkWindowImplWayland::frame_callback_surfaces not supported on this GTK"); g_abort();
4851 case 8: g_error("GdkWindowImplWayland::frame_callback_surfaces not supported on this GTK"); g_abort();
4852 case 9: g_error("GdkWindowImplWayland::frame_callback_surfaces not supported on this GTK"); g_abort();
4853 case 10: ((struct _GdkWindowImplWayland_v3_24_25*)self)->frame_callback_surfaces = frame_callback_surfaces; break;
4854 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->frame_callback_surfaces = frame_callback_surfaces; break;
4855 default: g_error("Invalid version ID"); g_abort();
4856 }
4857 }
4858
4859 // GdkWindowImplWayland::suspended
4860
4861 gboolean gdk_window_impl_wayland_priv_get_suspended_supported() {
4862 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4863 case 0: return FALSE;
4864 case 1: return FALSE;
4865 case 2: return FALSE;
4866 case 3: return FALSE;
4867 case 4: return FALSE;
4868 case 5: return FALSE;
4869 case 6: return FALSE;
4870 case 7: return FALSE;
4871 case 8: return FALSE;
4872 case 9: return FALSE;
4873 case 10: return FALSE;
4874 case 11: return TRUE;
4875 default: g_error("Invalid version ID"); g_abort();
4876 }
4877 }
4878
4879 unsigned int gdk_window_impl_wayland_priv_get_suspended_or_abort(GdkWindowImplWayland * self) {
4880 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4881 case 0: g_error("GdkWindowImplWayland::suspended not supported on this GTK"); g_abort();
4882 case 1: g_error("GdkWindowImplWayland::suspended not supported on this GTK"); g_abort();
4883 case 2: g_error("GdkWindowImplWayland::suspended not supported on this GTK"); g_abort();
4884 case 3: g_error("GdkWindowImplWayland::suspended not supported on this GTK"); g_abort();
4885 case 4: g_error("GdkWindowImplWayland::suspended not supported on this GTK"); g_abort();
4886 case 5: g_error("GdkWindowImplWayland::suspended not supported on this GTK"); g_abort();
4887 case 6: g_error("GdkWindowImplWayland::suspended not supported on this GTK"); g_abort();
4888 case 7: g_error("GdkWindowImplWayland::suspended not supported on this GTK"); g_abort();
4889 case 8: g_error("GdkWindowImplWayland::suspended not supported on this GTK"); g_abort();
4890 case 9: g_error("GdkWindowImplWayland::suspended not supported on this GTK"); g_abort();
4891 case 10: g_error("GdkWindowImplWayland::suspended not supported on this GTK"); g_abort();
4892 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->suspended;
4893 default: g_error("Invalid version ID"); g_abort();
4894 }
4895 }
4896
4897 void gdk_window_impl_wayland_priv_set_suspended_or_abort(GdkWindowImplWayland * self, unsigned int suspended) {
4898 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4899 case 0: g_error("GdkWindowImplWayland::suspended not supported on this GTK"); g_abort();
4900 case 1: g_error("GdkWindowImplWayland::suspended not supported on this GTK"); g_abort();
4901 case 2: g_error("GdkWindowImplWayland::suspended not supported on this GTK"); g_abort();
4902 case 3: g_error("GdkWindowImplWayland::suspended not supported on this GTK"); g_abort();
4903 case 4: g_error("GdkWindowImplWayland::suspended not supported on this GTK"); g_abort();
4904 case 5: g_error("GdkWindowImplWayland::suspended not supported on this GTK"); g_abort();
4905 case 6: g_error("GdkWindowImplWayland::suspended not supported on this GTK"); g_abort();
4906 case 7: g_error("GdkWindowImplWayland::suspended not supported on this GTK"); g_abort();
4907 case 8: g_error("GdkWindowImplWayland::suspended not supported on this GTK"); g_abort();
4908 case 9: g_error("GdkWindowImplWayland::suspended not supported on this GTK"); g_abort();
4909 case 10: g_error("GdkWindowImplWayland::suspended not supported on this GTK"); g_abort();
4910 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->suspended = suspended; break;
4911 default: g_error("Invalid version ID"); g_abort();
4912 }
4913 }
4914
4915 // GdkWindowImplWayland::pending.suspended
4916
4917 gboolean gdk_window_impl_wayland_priv_get_pending_suspended_supported() {
4918 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4919 case 0: return FALSE;
4920 case 1: return FALSE;
4921 case 2: return FALSE;
4922 case 3: return FALSE;
4923 case 4: return FALSE;
4924 case 5: return FALSE;
4925 case 6: return FALSE;
4926 case 7: return FALSE;
4927 case 8: return FALSE;
4928 case 9: return FALSE;
4929 case 10: return FALSE;
4930 case 11: return TRUE;
4931 default: g_error("Invalid version ID"); g_abort();
4932 }
4933 }
4934
4935 gboolean gdk_window_impl_wayland_priv_get_pending_suspended_or_abort(GdkWindowImplWayland * self) {
4936 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4937 case 0: g_error("GdkWindowImplWayland::pending.suspended not supported on this GTK"); g_abort();
4938 case 1: g_error("GdkWindowImplWayland::pending.suspended not supported on this GTK"); g_abort();
4939 case 2: g_error("GdkWindowImplWayland::pending.suspended not supported on this GTK"); g_abort();
4940 case 3: g_error("GdkWindowImplWayland::pending.suspended not supported on this GTK"); g_abort();
4941 case 4: g_error("GdkWindowImplWayland::pending.suspended not supported on this GTK"); g_abort();
4942 case 5: g_error("GdkWindowImplWayland::pending.suspended not supported on this GTK"); g_abort();
4943 case 6: g_error("GdkWindowImplWayland::pending.suspended not supported on this GTK"); g_abort();
4944 case 7: g_error("GdkWindowImplWayland::pending.suspended not supported on this GTK"); g_abort();
4945 case 8: g_error("GdkWindowImplWayland::pending.suspended not supported on this GTK"); g_abort();
4946 case 9: g_error("GdkWindowImplWayland::pending.suspended not supported on this GTK"); g_abort();
4947 case 10: g_error("GdkWindowImplWayland::pending.suspended not supported on this GTK"); g_abort();
4948 case 11: return ((struct _GdkWindowImplWayland_v3_24_40*)self)->pending.suspended;
4949 default: g_error("Invalid version ID"); g_abort();
4950 }
4951 }
4952
4953 void gdk_window_impl_wayland_priv_set_pending_suspended_or_abort(GdkWindowImplWayland * self, gboolean pending_suspended) {
4954 switch (gdk_window_impl_wayland_priv_get_version_id()) {
4955 case 0: g_error("GdkWindowImplWayland::pending.suspended not supported on this GTK"); g_abort();
4956 case 1: g_error("GdkWindowImplWayland::pending.suspended not supported on this GTK"); g_abort();
4957 case 2: g_error("GdkWindowImplWayland::pending.suspended not supported on this GTK"); g_abort();
4958 case 3: g_error("GdkWindowImplWayland::pending.suspended not supported on this GTK"); g_abort();
4959 case 4: g_error("GdkWindowImplWayland::pending.suspended not supported on this GTK"); g_abort();
4960 case 5: g_error("GdkWindowImplWayland::pending.suspended not supported on this GTK"); g_abort();
4961 case 6: g_error("GdkWindowImplWayland::pending.suspended not supported on this GTK"); g_abort();
4962 case 7: g_error("GdkWindowImplWayland::pending.suspended not supported on this GTK"); g_abort();
4963 case 8: g_error("GdkWindowImplWayland::pending.suspended not supported on this GTK"); g_abort();
4964 case 9: g_error("GdkWindowImplWayland::pending.suspended not supported on this GTK"); g_abort();
4965 case 10: g_error("GdkWindowImplWayland::pending.suspended not supported on this GTK"); g_abort();
4966 case 11: ((struct _GdkWindowImplWayland_v3_24_40*)self)->pending.suspended = pending_suspended; break;
4967 default: g_error("Invalid version ID"); g_abort();
4968 }
4969 }
4970
4971 #endif // GDK_WINDOW_IMPL_WAYLAND_PRIV_H