[mutter] compositor: Conditionalize more Wayland support



commit 09aefdba4320b1c573adc669c6b29ef5e8f71a52
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Aug 27 12:41:26 2014 -0400

    compositor: Conditionalize more Wayland support

 src/compositor/compositor.c        |    2 ++
 src/compositor/meta-window-actor.c |    3 +--
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c
index b52a85b..586bdc1 100644
--- a/src/compositor/compositor.c
+++ b/src/compositor/compositor.c
@@ -82,7 +82,9 @@
 
 #include "backends/x11/meta-backend-x11.h"
 
+#ifdef HAVE_WAYLAND
 #include "wayland/meta-wayland-private.h"
+#endif
 
 static gboolean
 is_modal (MetaDisplay *display)
diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c
index 4347a05..1885d87 100644
--- a/src/compositor/meta-window-actor.c
+++ b/src/compositor/meta-window-actor.c
@@ -35,9 +35,8 @@
 
 #ifdef HAVE_WAYLAND
 #include "meta-surface-actor-wayland.h"
-#endif
-
 #include "wayland/meta-wayland-surface.h"
+#endif
 
 typedef enum {
   INITIALLY_FROZEN,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]