Skip to content

Commit

Permalink
Docking: fixed ImGuiWindowFlags_DockNodeHost/ImGuiWindowFlags_NavFlat…
Browse files Browse the repository at this point in the history
…tened clash introduced by c38c18c just for 1.91.7 (#8357)
  • Loading branch information
ocornut committed Jan 30, 2025
1 parent 1dc7762 commit c2dcc80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ Other changes:

Docking+Viewports Branch:

- Docking: Fixed an issue in 1.91.7 where using legacy ImGuiWindowFlags_NavFlattened
flag (instead of ImGuiChildFlags_NavFlattened) in docking branch would conflict
with internal docking flags. (#8357) [@DanielGibson]
- Backends: SDL3: new viewport windows are created with the SDL_WINDOW_HIDDEN flag
before calling SDL_ShowWindow(). (#8328) [@PathogenDavid]

Expand Down
2 changes: 1 addition & 1 deletion imgui.h
Original file line number Diff line number Diff line change
Expand Up @@ -1132,12 +1132,12 @@ enum ImGuiWindowFlags_
ImGuiWindowFlags_NoInputs = ImGuiWindowFlags_NoMouseInputs | ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus,

// [Internal]
ImGuiWindowFlags_DockNodeHost = 1 << 23, // Don't use! For internal use by Begin()/NewFrame()
ImGuiWindowFlags_ChildWindow = 1 << 24, // Don't use! For internal use by BeginChild()
ImGuiWindowFlags_Tooltip = 1 << 25, // Don't use! For internal use by BeginTooltip()
ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup()
ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal()
ImGuiWindowFlags_ChildMenu = 1 << 28, // Don't use! For internal use by BeginMenu()
ImGuiWindowFlags_DockNodeHost = 1 << 29, // Don't use! For internal use by Begin()/NewFrame()

// Obsolete names
#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
Expand Down

0 comments on commit c2dcc80

Please sign in to comment.