summaryrefslogtreecommitdiff
path: root/src/includes.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-04-20 15:58:02 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-04-20 15:58:02 +0200
commitbebfe01d731a977c23c325dd37361f6d5f7268c2 (patch)
tree4fe2e39348eb3f95ae8c4f8e2dafdb110a0ae623 /src/includes.hpp
parentfde68dd8cf19fb2c044c2f7f1dd6dec5cec8d642 (diff)
Added a custom NO_XWAYLAND flag
Diffstat (limited to 'src/includes.hpp')
-rw-r--r--src/includes.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/includes.hpp b/src/includes.hpp
index 0b77cdb8..d0298c08 100644
--- a/src/includes.hpp
+++ b/src/includes.hpp
@@ -98,6 +98,12 @@ extern "C" {
#include <GLES3/gl3ext.h>
#endif
+#ifdef NO_XWAYLAND
+#define XWAYLAND false
+#else
+#define XWAYLAND true
+#endif
+
#include "helpers/Vector2D.hpp"
#include "../ext-workspace-unstable-v1-protocol.h" \ No newline at end of file