From ad7ec6b9792df829cb66e3c61f03abac07ba3799 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Thu, 21 Jul 2016 18:26:08 +0800 Subject: [PATCH] main: Fix compilation with wayland disabled https://bugzilla.gnome.org/show_bug.cgi?id=769024 --- src/core/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/main.c b/src/core/main.c index c0a7aa562..bd8160442 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -441,8 +441,10 @@ meta_init (void) calculate_compositor_configuration (&compositor_type, &backend_type); +#ifdef HAVE_WAYLAND if (compositor_type == META_COMPOSITOR_TYPE_WAYLAND) meta_set_is_wayland_compositor (TRUE); +#endif if (g_get_home_dir ()) if (chdir (g_get_home_dir ()) < 0)