#pragma once // because C/C++ VS Code intellisense is stupid with includes, we will suppress them here. // This suppresses all "include file not found" errors. #ifdef __INTELLISENSE__ #pragma diag_suppress 1696 #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #if true // wlroots uses dumb-ass shit that makes it not compile on C++, let's fix that. // https://github.com/swaywm/wlroots/issues/682 // pthread first because it uses class in a C++ way and XWayland includes that... #include #define class _class #define namespace _namespace #define static extern "C" { #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include } #undef class #undef namespace #undef static #endif #ifdef LEGACY_RENDERER #include #include #define GLES2 #else #define GLES32 #include #include #endif #include "helpers/Vector2D.hpp" #include "../ext-workspace-unstable-v1-protocol.h"