diff --git a/HACKING.md b/HACKING.md index af9184a6c..2123579dc 100644 --- a/HACKING.md +++ b/HACKING.md @@ -143,7 +143,7 @@ Source files should use the header include order of the following example: #include "mtk/mtk.h" #ifdef HAVE_WAYLAND -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #endif #include "meta-dbus-file-generated-by-gdbus-codegen.h" diff --git a/src/compositor/meta-compositor-view-native.c b/src/compositor/meta-compositor-view-native.c index c16457725..5c89d7fd4 100644 --- a/src/compositor/meta-compositor-view-native.c +++ b/src/compositor/meta-compositor-view-native.c @@ -31,7 +31,7 @@ #ifdef HAVE_WAYLAND #include "compositor/meta-surface-actor-wayland.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #endif /* HAVE_WAYLAND */ struct _MetaCompositorViewNative diff --git a/src/compositor/meta-window-actor-wayland.c b/src/compositor/meta-window-actor-wayland.c index bb8263eef..d11ac4246 100644 --- a/src/compositor/meta-window-actor-wayland.c +++ b/src/compositor/meta-window-actor-wayland.c @@ -26,7 +26,7 @@ #include "compositor/meta-window-actor-wayland.h" #include "compositor/region-utils.h" #include "meta/meta-window-actor.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #include "wayland/meta-window-wayland.h" struct _MetaSurfaceContainerActorWayland diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c index 147c85568..c1794e37a 100644 --- a/src/compositor/meta-window-actor.c +++ b/src/compositor/meta-window-actor.c @@ -35,7 +35,7 @@ #ifdef HAVE_WAYLAND #include "compositor/meta-surface-actor-wayland.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #endif typedef enum diff --git a/src/core/window.c b/src/core/window.c index 647aea59f..f47b27be0 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -92,7 +92,7 @@ #ifdef HAVE_WAYLAND #include "wayland/meta-wayland-private.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #include "wayland/meta-window-wayland.h" #endif diff --git a/src/meson.build b/src/meson.build index 69a4bc55f..666400962 100644 --- a/src/meson.build +++ b/src/meson.build @@ -669,7 +669,7 @@ if have_wayland 'wayland/meta-wayland-subsurface.c', 'wayland/meta-wayland-subsurface.h', 'wayland/meta-wayland-surface.c', - 'wayland/meta-wayland-surface.h', + 'wayland/meta-wayland-surface-private.h', 'wayland/meta-wayland-tablet.c', 'wayland/meta-wayland-tablet-cursor-surface.c', 'wayland/meta-wayland-tablet-cursor-surface.h', diff --git a/src/meta/meson.build b/src/meta/meson.build index 688ff3004..fc6c0c295 100644 --- a/src/meta/meson.build +++ b/src/meta/meson.build @@ -52,6 +52,7 @@ if have_wayland mutter_public_headers += [ 'meta-wayland-client.h', 'meta-wayland-compositor.h', + 'meta-wayland-surface.h', ] endif diff --git a/src/meta/meta-wayland-surface.h b/src/meta/meta-wayland-surface.h new file mode 100644 index 000000000..487dc579b --- /dev/null +++ b/src/meta/meta-wayland-surface.h @@ -0,0 +1,35 @@ +/* + * Copyright 2023 Collabora Ltd. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see . + */ + +#pragma once + +#include +#include + +G_BEGIN_DECLS + +#define META_TYPE_WAYLAND_SURFACE (meta_wayland_surface_get_type ()) +META_EXPORT +G_DECLARE_FINAL_TYPE (MetaWaylandSurface, + meta_wayland_surface, + META, WAYLAND_SURFACE, + GObject); + +META_EXPORT +MetaWindow *meta_wayland_surface_get_window (MetaWaylandSurface *surface); + +G_END_DECLS diff --git a/src/tests/meta-wayland-test-driver.c b/src/tests/meta-wayland-test-driver.c index 81788f3a7..d93cc19e4 100644 --- a/src/tests/meta-wayland-test-driver.c +++ b/src/tests/meta-wayland-test-driver.c @@ -25,7 +25,7 @@ #include "tests/meta-ref-test.h" #include "wayland/meta-wayland-actor-surface.h" #include "wayland/meta-wayland-private.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #include "test-driver-server-protocol.h" diff --git a/src/tests/service-channel-tests.c b/src/tests/service-channel-tests.c index 498cb1a3f..fc7e9d92d 100644 --- a/src/tests/service-channel-tests.c +++ b/src/tests/service-channel-tests.c @@ -26,7 +26,7 @@ #include "tests/meta-wayland-test-utils.h" #include "wayland/meta-wayland.h" #include "wayland/meta-wayland-client-private.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" static MetaContext *test_context; static MetaWaylandTestDriver *test_driver; diff --git a/src/tests/wayland-fractional-scale-test.c b/src/tests/wayland-fractional-scale-test.c index 7ae4f5613..dadb936c0 100644 --- a/src/tests/wayland-fractional-scale-test.c +++ b/src/tests/wayland-fractional-scale-test.c @@ -24,7 +24,7 @@ #include "tests/meta-test-utils.h" #include "tests/meta-wayland-test-driver.h" #include "tests/meta-wayland-test-utils.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" static MetaContext *test_context; static MetaVirtualMonitor *virtual_monitor; diff --git a/src/tests/wayland-fullscreen-test.c b/src/tests/wayland-fullscreen-test.c index 4fc17f860..0d9604223 100644 --- a/src/tests/wayland-fullscreen-test.c +++ b/src/tests/wayland-fullscreen-test.c @@ -27,7 +27,7 @@ #include "backends/native/meta-renderer-native.h" #include "tests/meta-ref-test.h" #include "wayland/meta-window-wayland.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" static MetaContext *test_context; static MetaWaylandTestDriver *test_driver; diff --git a/src/tests/wayland-unit-tests.c b/src/tests/wayland-unit-tests.c index 7920f645f..46169669f 100644 --- a/src/tests/wayland-unit-tests.c +++ b/src/tests/wayland-unit-tests.c @@ -31,7 +31,7 @@ #include "tests/meta-wayland-test-utils.h" #include "wayland/meta-wayland-client-private.h" #include "wayland/meta-wayland-filter-manager.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #include "dummy-client-protocol.h" #include "dummy-server-protocol.h" diff --git a/src/wayland/meta-cursor-sprite-wayland.h b/src/wayland/meta-cursor-sprite-wayland.h index 5fdf88b9d..6b2ccfa7d 100644 --- a/src/wayland/meta-cursor-sprite-wayland.h +++ b/src/wayland/meta-cursor-sprite-wayland.h @@ -21,7 +21,7 @@ #include #include "backends/meta-cursor.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #define META_TYPE_CURSOR_SPRITE_WAYLAND meta_cursor_sprite_wayland_get_type () META_EXPORT_TEST diff --git a/src/wayland/meta-pointer-confinement-wayland.c b/src/wayland/meta-pointer-confinement-wayland.c index 998cc6eb0..64ffed25c 100644 --- a/src/wayland/meta-pointer-confinement-wayland.c +++ b/src/wayland/meta-pointer-confinement-wayland.c @@ -42,7 +42,7 @@ #include "wayland/meta-wayland-pointer-constraints.h" #include "wayland/meta-wayland-pointer.h" #include "wayland/meta-wayland-seat.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #include "wayland/meta-wayland.h" typedef struct _MetaPointerConfinementWaylandPrivate MetaPointerConfinementWaylandPrivate; diff --git a/src/wayland/meta-wayland-actor-surface.c b/src/wayland/meta-wayland-actor-surface.c index 6ea95d896..de2163894 100644 --- a/src/wayland/meta-wayland-actor-surface.c +++ b/src/wayland/meta-wayland-actor-surface.c @@ -27,7 +27,7 @@ #include "compositor/meta-window-actor-wayland.h" #include "compositor/region-utils.h" #include "wayland/meta-wayland-buffer.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #include "wayland/meta-window-wayland.h" #ifdef HAVE_XWAYLAND diff --git a/src/wayland/meta-wayland-actor-surface.h b/src/wayland/meta-wayland-actor-surface.h index bec879d9e..729ee4e8d 100644 --- a/src/wayland/meta-wayland-actor-surface.h +++ b/src/wayland/meta-wayland-actor-surface.h @@ -18,7 +18,7 @@ #pragma once -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #define META_TYPE_WAYLAND_ACTOR_SURFACE (meta_wayland_actor_surface_get_type ()) G_DECLARE_DERIVABLE_TYPE (MetaWaylandActorSurface, diff --git a/src/wayland/meta-wayland-cursor-surface.h b/src/wayland/meta-wayland-cursor-surface.h index 6dd863d70..af9dd861e 100644 --- a/src/wayland/meta-wayland-cursor-surface.h +++ b/src/wayland/meta-wayland-cursor-surface.h @@ -20,7 +20,7 @@ #pragma once #include "backends/meta-cursor-renderer.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" struct _MetaWaylandCursorSurfaceClass { diff --git a/src/wayland/meta-wayland-fractional-scale.c b/src/wayland/meta-wayland-fractional-scale.c index dfb03d346..2af49e231 100644 --- a/src/wayland/meta-wayland-fractional-scale.c +++ b/src/wayland/meta-wayland-fractional-scale.c @@ -26,7 +26,7 @@ #include "wayland/meta-wayland-outputs.h" #include "wayland/meta-wayland-private.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #include "wayland/meta-wayland-versions.h" #include "fractional-scale-v1-server-protocol.h" diff --git a/src/wayland/meta-wayland-gtk-shell.c b/src/wayland/meta-wayland-gtk-shell.c index f4d0af24e..4f6992659 100644 --- a/src/wayland/meta-wayland-gtk-shell.c +++ b/src/wayland/meta-wayland-gtk-shell.c @@ -25,7 +25,7 @@ #include "core/bell.h" #include "core/window-private.h" #include "wayland/meta-wayland-private.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #include "wayland/meta-wayland-versions.h" #include "wayland/meta-window-wayland.h" diff --git a/src/wayland/meta-wayland-pointer-constraints.c b/src/wayland/meta-wayland-pointer-constraints.c index 2684d6925..894b2e132 100644 --- a/src/wayland/meta-wayland-pointer-constraints.c +++ b/src/wayland/meta-wayland-pointer-constraints.c @@ -38,7 +38,7 @@ #include "wayland/meta-wayland-region.h" #include "wayland/meta-wayland-seat.h" #include "wayland/meta-wayland-subsurface.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #ifdef HAVE_XWAYLAND #include "wayland/meta-xwayland.h" diff --git a/src/wayland/meta-wayland-pointer-gesture-hold.c b/src/wayland/meta-wayland-pointer-gesture-hold.c index 7c9376458..50d08ec02 100644 --- a/src/wayland/meta-wayland-pointer-gesture-hold.c +++ b/src/wayland/meta-wayland-pointer-gesture-hold.c @@ -25,7 +25,7 @@ #include "wayland/meta-wayland-pointer.h" #include "wayland/meta-wayland-seat.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #include "pointer-gestures-unstable-v1-server-protocol.h" diff --git a/src/wayland/meta-wayland-pointer-gesture-pinch.c b/src/wayland/meta-wayland-pointer-gesture-pinch.c index ae953e07d..07a2d125e 100644 --- a/src/wayland/meta-wayland-pointer-gesture-pinch.c +++ b/src/wayland/meta-wayland-pointer-gesture-pinch.c @@ -27,7 +27,7 @@ #include "wayland/meta-wayland-pointer.h" #include "wayland/meta-wayland-seat.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #include "pointer-gestures-unstable-v1-server-protocol.h" diff --git a/src/wayland/meta-wayland-pointer-gesture-swipe.c b/src/wayland/meta-wayland-pointer-gesture-swipe.c index 9eb563b4f..22f357860 100644 --- a/src/wayland/meta-wayland-pointer-gesture-swipe.c +++ b/src/wayland/meta-wayland-pointer-gesture-swipe.c @@ -27,7 +27,7 @@ #include "wayland/meta-wayland-pointer.h" #include "wayland/meta-wayland-seat.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #include "pointer-gestures-unstable-v1-server-protocol.h" diff --git a/src/wayland/meta-wayland-pointer.c b/src/wayland/meta-wayland-pointer.c index 71b068299..89ac75faf 100644 --- a/src/wayland/meta-wayland-pointer.c +++ b/src/wayland/meta-wayland-pointer.c @@ -61,7 +61,7 @@ #include "wayland/meta-wayland-popup.h" #include "wayland/meta-wayland-private.h" #include "wayland/meta-wayland-seat.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #ifdef HAVE_XWAYLAND #include "wayland/meta-xwayland.h" diff --git a/src/wayland/meta-wayland-pointer.h b/src/wayland/meta-wayland-pointer.h index 479d8141b..60870a5d0 100644 --- a/src/wayland/meta-wayland-pointer.h +++ b/src/wayland/meta-wayland-pointer.h @@ -28,7 +28,7 @@ #include "wayland/meta-wayland-pointer-gesture-pinch.h" #include "wayland/meta-wayland-pointer-gesture-swipe.h" #include "wayland/meta-wayland-seat.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #include "wayland/meta-wayland-types.h" #define META_TYPE_WAYLAND_POINTER (meta_wayland_pointer_get_type ()) diff --git a/src/wayland/meta-wayland-popup.c b/src/wayland/meta-wayland-popup.c index 96f082d7c..f757767c4 100644 --- a/src/wayland/meta-wayland-popup.c +++ b/src/wayland/meta-wayland-popup.c @@ -46,7 +46,7 @@ #include "wayland/meta-wayland-pointer.h" #include "wayland/meta-wayland-private.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" G_DEFINE_INTERFACE (MetaWaylandPopupSurface, meta_wayland_popup_surface, G_TYPE_OBJECT); diff --git a/src/wayland/meta-wayland-presentation-time.c b/src/wayland/meta-wayland-presentation-time.c index 190c3f008..abddb63b1 100644 --- a/src/wayland/meta-wayland-presentation-time.c +++ b/src/wayland/meta-wayland-presentation-time.c @@ -26,7 +26,7 @@ #include "wayland/meta-wayland-cursor-surface.h" #include "wayland/meta-wayland-presentation-time-private.h" #include "wayland/meta-wayland-private.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #include "wayland/meta-wayland-outputs.h" #include "wayland/meta-wayland-versions.h" diff --git a/src/wayland/meta-wayland-private.h b/src/wayland/meta-wayland-private.h index 6af75e5d8..e8d442c03 100644 --- a/src/wayland/meta-wayland-private.h +++ b/src/wayland/meta-wayland-private.h @@ -27,7 +27,7 @@ #include "wayland/meta-wayland-pointer-gestures.h" #include "wayland/meta-wayland-presentation-time-private.h" #include "wayland/meta-wayland-seat.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #include "wayland/meta-wayland-tablet-manager.h" #include "wayland/meta-wayland-versions.h" #include "wayland/meta-wayland.h" diff --git a/src/wayland/meta-wayland-shell-surface.c b/src/wayland/meta-wayland-shell-surface.c index e341da79f..fa72df49c 100644 --- a/src/wayland/meta-wayland-shell-surface.c +++ b/src/wayland/meta-wayland-shell-surface.c @@ -27,7 +27,7 @@ #include "wayland/meta-wayland-actor-surface.h" #include "wayland/meta-wayland-buffer.h" #include "wayland/meta-wayland-subsurface.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #include "wayland/meta-window-wayland.h" typedef struct _MetaWaylandShellSurfacePrivate diff --git a/src/wayland/meta-wayland-subsurface.c b/src/wayland/meta-wayland-subsurface.c index f4aa04959..333228e28 100644 --- a/src/wayland/meta-wayland-subsurface.c +++ b/src/wayland/meta-wayland-subsurface.c @@ -25,7 +25,7 @@ #include "wayland/meta-wayland.h" #include "wayland/meta-wayland-actor-surface.h" #include "wayland/meta-wayland-buffer.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #include "wayland/meta-wayland-transaction.h" #include "wayland/meta-window-wayland.h" diff --git a/src/wayland/meta-wayland-surface.h b/src/wayland/meta-wayland-surface-private.h similarity index 98% rename from src/wayland/meta-wayland-surface.h rename to src/wayland/meta-wayland-surface-private.h index 4f621ade8..8b485cac8 100644 --- a/src/wayland/meta-wayland-surface.h +++ b/src/wayland/meta-wayland-surface-private.h @@ -26,15 +26,10 @@ #include "compositor/meta-shaped-texture-private.h" #include "compositor/meta-surface-actor.h" #include "meta/meta-cursor-tracker.h" +#include "meta/meta-wayland-surface.h" #include "wayland/meta-wayland-pointer-constraints.h" #include "wayland/meta-wayland-types.h" -#define META_TYPE_WAYLAND_SURFACE (meta_wayland_surface_get_type ()) -G_DECLARE_FINAL_TYPE (MetaWaylandSurface, - meta_wayland_surface, - META, WAYLAND_SURFACE, - GObject); - #define META_TYPE_WAYLAND_SURFACE_ROLE (meta_wayland_surface_role_get_type ()) G_DECLARE_DERIVABLE_TYPE (MetaWaylandSurfaceRole, meta_wayland_surface_role, META, WAYLAND_SURFACE_ROLE, GObject); @@ -324,9 +319,6 @@ void meta_wayland_surface_update_outputs (MetaWaylandSurface *sur MetaWaylandSurface *meta_wayland_surface_get_toplevel (MetaWaylandSurface *surface); -META_EXPORT_TEST -MetaWindow * meta_wayland_surface_get_window (MetaWaylandSurface *surface); - gboolean meta_wayland_surface_is_synchronized (MetaWaylandSurface *surface); MetaWindow * meta_wayland_surface_get_toplevel_window (MetaWaylandSurface *surface); diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c index cc09678d0..e3d405ea7 100644 --- a/src/wayland/meta-wayland-surface.c +++ b/src/wayland/meta-wayland-surface.c @@ -20,7 +20,7 @@ #include "config.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #include #include @@ -2007,6 +2007,14 @@ meta_wayland_surface_role_get_window (MetaWaylandSurfaceRole *surface_role) return NULL; } +/** + * meta_wayland_surface_get_window: + * @surface: a #MetaWaylandSurface + * + * Get the #MetaWindow associated with this wayland surface. + * + * Returns: (nullable) (transfer none): a #MetaWindow + */ MetaWindow * meta_wayland_surface_get_window (MetaWaylandSurface *surface) { diff --git a/src/wayland/meta-wayland-viewporter.c b/src/wayland/meta-wayland-viewporter.c index e28146e73..1febfa1bc 100644 --- a/src/wayland/meta-wayland-viewporter.c +++ b/src/wayland/meta-wayland-viewporter.c @@ -24,7 +24,7 @@ #include "wayland/meta-wayland-private.h" #include "wayland/meta-wayland-subsurface.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #include "wayland/meta-wayland-versions.h" #include "wayland/meta-wayland-viewporter.h" diff --git a/src/wayland/meta-wayland-x11-interop.c b/src/wayland/meta-wayland-x11-interop.c index 3d0c357c1..506adc448 100644 --- a/src/wayland/meta-wayland-x11-interop.c +++ b/src/wayland/meta-wayland-x11-interop.c @@ -23,7 +23,7 @@ #include "core/window-private.h" #include "wayland/meta-wayland-client-private.h" #include "wayland/meta-wayland-filter-manager.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #include "wayland/meta-wayland-versions.h" #include "wayland/meta-wayland.h" #include "x11/meta-x11-display-private.h" diff --git a/src/wayland/meta-wayland-xdg-shell.c b/src/wayland/meta-wayland-xdg-shell.c index a1c8803f7..cee1dc980 100644 --- a/src/wayland/meta-wayland-xdg-shell.c +++ b/src/wayland/meta-wayland-xdg-shell.c @@ -32,7 +32,7 @@ #include "wayland/meta-wayland-private.h" #include "wayland/meta-wayland-seat.h" #include "wayland/meta-wayland-shell-surface.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #include "wayland/meta-wayland-transaction.h" #include "wayland/meta-wayland-versions.h" #include "wayland/meta-wayland-window-configuration.h" diff --git a/src/wayland/meta-window-wayland.c b/src/wayland/meta-window-wayland.c index 79a0f0a9a..738c367b1 100644 --- a/src/wayland/meta-window-wayland.c +++ b/src/wayland/meta-window-wayland.c @@ -39,7 +39,7 @@ #include "meta/meta-x11-errors.h" #include "wayland/meta-wayland-actor-surface.h" #include "wayland/meta-wayland-private.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" #include "wayland/meta-wayland-window-configuration.h" #include "wayland/meta-wayland-xdg-shell.h" diff --git a/src/wayland/meta-window-xwayland.c b/src/wayland/meta-window-xwayland.c index ed3c679f1..a0f2b7607 100644 --- a/src/wayland/meta-window-xwayland.c +++ b/src/wayland/meta-window-xwayland.c @@ -27,7 +27,7 @@ #include "x11/xprops.h" #include "wayland/meta-window-xwayland.h" #include "wayland/meta-wayland.h" -#include "wayland/meta-wayland-surface.h" +#include "wayland/meta-wayland-surface-private.h" enum {