From 16a7c24aecdf2f7b8e3f6be53e11ccec262693b8 Mon Sep 17 00:00:00 2001 From: Damon Date: Mon, 3 Feb 2020 12:03:17 +0000 Subject: [PATCH] use correct ifdef CAGE_HAS_XWAYLAND --- output.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/output.c b/output.c index bbac52e..488b02e 100644 --- a/output.c +++ b/output.c @@ -19,7 +19,6 @@ #include #if WLR_HAS_X11_BACKEND #include -#include "xwayland.h" #endif #include #include @@ -37,6 +36,9 @@ #include "server.h" #include "util.h" #include "view.h" +#if CAGE_HAS_XWAYLAND +#include "xwayland.h" +#endif static void output_for_each_surface(struct cg_output *output, cg_surface_iterator_func_t iterator, void *user_data);