Backends: GLFW: try to set IMGUI_IMPL_GLFW_DISABLE_X11 / IMGUI_IMPL_GLFW_DISABLE_WAYLAND automatically if headers are not available. (#9225)

Amend/fix 10d0162378 for system without X11/Wayland headers. (#8921, #8920, #8969)
This commit is contained in:
ocornut
2026-02-10 20:50:46 +01:00
parent fd9873a5c2
commit 9f30044333
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -219,6 +219,7 @@ Other Changes:
Lowers overhead for very high framerates (e.g. 10k+ FPS). [@maxliani]
- GLFW: Added IMGUI_IMPL_GLFW_DISABLE_X11 / IMGUI_IMPL_GLFW_DISABLE_WAYLAND to
forcefully disable either. (#9109, #9116)
Try to set them automatically if headers are not accessible. (#9225)
- OpenGL3: Fixed embedded loader multiple init/shutdown cycles broken on some
platforms. (#8792, #9112)
- SDL2, SDL3: changed `GetClipboardText()` handler to return NULL on error aka