From a4cd45f44c4888cf064dfdfb49efc2844640899c Mon Sep 17 00:00:00 2001 From: ocornut Date: Fri, 12 Sep 2025 19:51:31 +0200 Subject: [PATCH] Backends: GLFW: fixed imgui_impl_glfw.cpp being affected by X headers '#define Status' leak since 6b2cdf2. (#8884) --- backends/imgui_impl_glfw.cpp | 1 + 1 file changed, 1 insertion(+) 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()