Skip to content

Commit b46f099

Browse files
committed
Backends: GLFW: fixed building on Linux platforms where Wayland headers are not available. (#9024, #8969, #8921, #8920)
1 parent 63bfad4 commit b46f099

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

backends/imgui_impl_glfw.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,6 @@
126126
#ifndef GLFW_EXPOSE_NATIVE_X11 // for glfwGetX11Display(), glfwGetX11Window() on Freedesktop (Linux, BSD, etc.)
127127
#define GLFW_EXPOSE_NATIVE_X11
128128
#endif
129-
#ifndef GLFW_EXPOSE_NATIVE_WAYLAND
130-
#define GLFW_EXPOSE_NATIVE_WAYLAND
131-
#endif
132129
#include <GLFW/glfw3native.h>
133130
#endif
134131
#undef Status // X11 headers are leaking this.

docs/CHANGELOG.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ Other Changes:
5656
- MultiSelect: added ImGuiMultiSelectFlags_NoSelectOnRightClick to disable default
5757
right-click processing, which selects item on mouse down and is designed for
5858
context-menus. (#8200, #9015)
59+
- Backends: GLFW: fixed building on Linux platforms where Wayland headers
60+
are not available. (#9024, #8969, #8921, #8920) [@jagot]
5961
- Backends: Vulkan: added IMGUI_IMPL_VULKAN_VOLK_FILENAME to configure path to
6062
Volk (default to "volk.h"). (#9008, #7722, #6582, #4854) [@mwlasiuk]
6163
- Backends: WebGPU: update to compile with Dawn and Emscripten's 4.0.10+

0 commit comments

Comments
 (0)