Backends: GLFW: Linux workaround for spurious mouse up events emitted while dragging and creating new viewport. (#3158, #7733, #7922)

Initially suggested by rokups. Rewrote for recent backends with a few tweaks to accomodate for variable WM unfocus timing.
This commit is contained in:
ocornut
2024-11-05 11:26:38 +01:00
parent a63220e3e0
commit c347d6944b
2 changed files with 20 additions and 0 deletions

View File

@@ -55,6 +55,9 @@ Other changes:
Docking+Viewports Branch:
- Backends: GLFW: added Linux workaround for spurious mouse up events emitted while dragging
and creating new viewports. Generally they would be interrupting a dragging operations.
(#3158, #7733, #7922) [@rokups, @ocornut]
- Docking: fixed using ImGuiDockNodeFlags_KeepAliveOnly with DockSpaceOverViewport():
the normally invisible space did erroneously claim mouse hover and could be potentially
focused. (#8125) [@kcbanner]