diff --git a/backends/imgui_impl_glfw.cpp b/backends/imgui_impl_glfw.cpp index 00823fee7..5d4df1cf8 100644 --- a/backends/imgui_impl_glfw.cpp +++ b/backends/imgui_impl_glfw.cpp @@ -137,6 +137,7 @@ #define GLFW_EXPOSE_NATIVE_WAYLAND #endif #include // for getting the X11/Wayland window +#undef Status // X11 headers are leaking this. #endif #ifndef _WIN32 #include // for usleep()