diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2015-12-08 14:18:49 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2015-12-08 14:19:39 +0000 |
commit | d20d041b109d5ef4ecd7f32910163fe8963f9f24 (patch) | |
tree | 3c0e789a8fd2442def63b2e42fc0f20589571eba | |
parent | 86848072bdbd7ef3fff27675aed9bcc9b5f2177d (diff) | |
download | clutter-d20d041b109d5ef4ecd7f32910163fe8963f9f24.tar.gz |
gdk: Check that both GDK and Cogl have Wayland support
Otherwise the build will fail when Cogl is compiled without Wayland
winsys.
-rw-r--r-- | clutter/gdk/clutter-stage-gdk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter/gdk/clutter-stage-gdk.c b/clutter/gdk/clutter-stage-gdk.c index 0620e4c13..7b3e0c38e 100644 --- a/clutter/gdk/clutter-stage-gdk.c +++ b/clutter/gdk/clutter-stage-gdk.c @@ -164,7 +164,7 @@ clutter_stage_gdk_resize (ClutterStageWindow *stage_window, */ if (!stage_gdk->foreign_window) gdk_window_resize (stage_gdk->window, width, height); -#if defined(GDK_WINDOWING_WAYLAND) +#if defined(GDK_WINDOWING_WAYLAND) && defined(COGL_HAS_EGL_PLATFORM_WAYLAND_SUPPORT) else if (GDK_IS_WAYLAND_WINDOW (stage_gdk->window)) cogl_wayland_onscreen_resize (CLUTTER_STAGE_COGL (stage_gdk)->onscreen, width, height, 0, 0); |