From ff9bcb19fa1944635d6064710f7b947bd53aa42c Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sun, 29 Jan 2023 12:43:18 +0000 Subject: Allow to disable X11 backend separately from Xwayland after 5a750b485aca (#1445) --- src/includes.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/includes.hpp') diff --git a/src/includes.hpp b/src/includes.hpp index 29737fbb..8c804ceb 100644 --- a/src/includes.hpp +++ b/src/includes.hpp @@ -105,8 +105,11 @@ extern "C" { #include -#ifndef NO_XWAYLAND +#if WLR_HAS_X11_BACKEND #include +#endif + +#ifndef NO_XWAYLAND #include #endif } @@ -127,6 +130,10 @@ extern "C" { #include #endif +#if !WLR_HAS_X11_BACKEND +#include "helpers/X11Stubs.hpp" +#endif + #ifdef NO_XWAYLAND #define XWAYLAND false #include "helpers/XWaylandStubs.hpp" -- cgit v1.2.3