From b46f099a3fcb837af9c22e1721b6563c8afa43d4 Mon Sep 17 00:00:00 2001 From: ocornut Date: Mon, 20 Oct 2025 23:57:09 +0200 Subject: [PATCH] Backends: GLFW: fixed building on Linux platforms where Wayland headers are not available. (#9024, #8969, #8921, #8920) --- backends/imgui_impl_glfw.cpp | 3 --- docs/CHANGELOG.txt | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/backends/imgui_impl_glfw.cpp b/backends/imgui_impl_glfw.cpp index d98248acc..d7c208b93 100644 --- a/backends/imgui_impl_glfw.cpp +++ b/backends/imgui_impl_glfw.cpp @@ -126,9 +126,6 @@ #ifndef GLFW_EXPOSE_NATIVE_X11 // for glfwGetX11Display(), glfwGetX11Window() on Freedesktop (Linux, BSD, etc.) #define GLFW_EXPOSE_NATIVE_X11 #endif -#ifndef GLFW_EXPOSE_NATIVE_WAYLAND -#define GLFW_EXPOSE_NATIVE_WAYLAND -#endif #include #endif #undef Status // X11 headers are leaking this. diff --git a/docs/CHANGELOG.txt b/docs/CHANGELOG.txt index ecc881700..a605dbef1 100644 --- a/docs/CHANGELOG.txt +++ b/docs/CHANGELOG.txt @@ -56,6 +56,8 @@ Other Changes: - MultiSelect: added ImGuiMultiSelectFlags_NoSelectOnRightClick to disable default right-click processing, which selects item on mouse down and is designed for context-menus. (#8200, #9015) +- Backends: GLFW: fixed building on Linux platforms where Wayland headers + are not available. (#9024, #8969, #8921, #8920) [@jagot] - Backends: Vulkan: added IMGUI_IMPL_VULKAN_VOLK_FILENAME to configure path to Volk (default to "volk.h"). (#9008, #7722, #6582, #4854) [@mwlasiuk] - Backends: WebGPU: update to compile with Dawn and Emscripten's 4.0.10+