Indie Tooling

Dear ImGui 1.93.1 removes old API names, so check your debug UI

Dear ImGui's 26 November maintenance release deletes API names obsoleted in 2024 and flags three content-region helpers, so older debug UI code may stop compiling.

By

5 min read

A 2D platformer in development surrounded by Dear ImGui debug windows: layers, edit tools, a CPU profiler graph, audio events, localisation strings, a stats browser and an animation preview of a pirate crocodile character.
Image: Dear ImGui README gallery (GitHub)

Dear ImGui 1.93.1 landed on 26 November 2026, six weeks after 1.93.0. It’s billed as a maintenance release, but the first item in the changelog is an “autumn cleanup” of names marked obsolete more than two years ago. If your in-game console or profiler overlay still uses any of them, the update won’t compile until you swap them out.

Dear ImGui is the immediate-mode GUI library (you describe the UI in code every frame, with no retained widget tree) that sits behind many debug menus and internal tools in games. Most indie teams touch it through an engine plugin or a language binding rather than the C++ source, and that changes when this release reaches you.

What 1.93.1 removes

The removed names were all deprecated in 2024, between versions 1.90.7 and 1.91.1. Each one has had a direct replacement for at least two years:

  • ImGuiMod_Shortcut (obsoleted in 1.90.7) becomes ImGuiMod_Ctrl.
  • The tab colour enums from 1.90.9 are renamed: ImGuiCol_TabActive to ImGuiCol_TabSelected, ImGuiCol_TabUnfocused to ImGuiCol_TabDimmed, and ImGuiCol_TabUnfocusedActive to ImGuiCol_TabDimmedSelected.
  • ImGuiSelectableFlags_DontClosePopups (1.91.0) becomes ImGuiSelectableFlags_NoAutoClosePopups.
  • PushButtonRepeat(), PopButtonRepeat(), PushTabStop() and PopTabStop() (1.91.0) go. Use PushItemFlag() and PopItemFlag() with the matching item flag instead.
  • The clipboard callbacks on io (GetClipboardTextFn, SetClipboardTextFn, ClipboardUserData), obsoleted in 1.91.1, now live only on platform_io as Platform_GetClipboardTextFn, Platform_SetClipboardTextFn and Platform_ClipboardUserData.
Table of Dear ImGui names removed in 1.93.1 with their replacements: ImGuiMod_Shortcut to ImGuiMod_Ctrl, three tab colour enums to TabSelected, TabDimmed and TabDimmedSelected, DontClosePopups to NoAutoClosePopups, the button repeat and tab stop push and pop calls to PushItemFlag and PopItemFlag, and the io clipboard callbacks to platform_io.
The removed names and what to swap in. Figure: Indie Tooling

The clipboard change matters most if you wrote your own platform backend, for example to plug ImGui into a custom engine or a console SDK. The stock backends already use the new fields.

The changelog also warns that GetContentRegionMax(), GetWindowContentRegionMin() and GetWindowContentRegionMax() may be removed in a later version. The project’s position is that you shouldn’t need them at all, and it points to issue 7838 for the reasoning. Dear ImGui’s own docs say most layout work can be done with GetCursorScreenPos() and GetContentRegionAvail(), which is where to start rewriting.

The visual and bug-fix changes

The rest of the release is smaller but visible. StyleColorsDark(), the default theme, now uses darker window, popup and child backgrounds. If you ship a custom theme you won’t notice. If you rely on the default and take screenshots of tools for documentation or store pages, they’ll look slightly different.

A small Dear ImGui window titled Debug in the dark default style, with the text Hello, world 123, a Save button, a text field reading quick brown fox and a float slider at 0.600.
The default dark style as captured for the 1.93 README. Image: Dear ImGui (README)

There are two new style settings, SymbolArrowSizeFactor and SymbolArrowThicknessFactor, and the default arrow glyph on tree nodes and combo boxes is now drawn as a stroke.

The bug fixes most likely to affect a game’s tools:

  • Tables get a “Reset Sizes” entry in the context menu, plus several fixes for borders overshooting and for the NoHostExtendX and NoHostExtendY flags.
  • Modal popups no longer assert when DisplayFramebufferScale isn’t a whole number, which is common on high-DPI laptops with fractional scaling.
  • Drags using the WrapAround flag no longer let a value escape its range during fast mouse movement.
  • An out-of-bounds read in the multi-select helper GetNextSelectedItem() is fixed.
  • IsItemDisabled() is new, and TreeNodeGetOpen() now accepts flags.

On the backend side, DirectX 12 no longer waits forever after a device loss, Vulkan avoids an invalid swapchain layout transition, and DirectX 9 and Metal 4 get fixes too.

What it means for a solo dev or small team

If you use Dear ImGui directly in C++ and you’ve kept up with deprecation warnings, this is a quiet update. If you’ve been sitting on an older version, the jump is bigger than the point number suggests. Version 1.93.0, released on 14 October, reworked ImDrawList stroke rendering. AddRect(), AddCircle() and friends now default to an inside stroke, and AddLine() lost its built-in half-pixel offset. Custom drawing in a profiler graph or minimap overlay can shift by a pixel. That’s the same kind of quiet behaviour change we flagged when Jolt Physics 5.7 made determinism mandatory: nothing errors, but output moves.

If you reach ImGui through an engine or language, you’re on the binding author’s schedule. Some examples of where things stood when we checked on 27 November:

  • ImGui.NET’s latest NuGet package is 1.91.6.1, last updated in January 2025, so C# users (including many Godot C# setups) are several releases behind.
  • The “Dear ImGui for Godot” plugin on the Godot Asset Library was at 6.3.2, bundling Dear ImGui 1.91.6.
  • ImGui4NET, a newer .NET binding, already wraps 1.93.0 (docking branch) as of 22 November.

C bindings such as cimgui, and the Unity and Unreal plugins built on them, are generated from the C++ headers. They usually regenerate after an upstream release, so the removed names disappear for you whenever that happens. Until then, a binding stuck on 1.91.x still exposes the old names, and code you write against it will break when it catches up.

What to do now

Before you update, compile your tools with IMGUI_DISABLE_OBSOLETE_FUNCTIONS defined in your imconfig.h or build flags. That hides every deprecated name, so the compiler lists exactly what 1.93.1 would break, while you’re still on a version where the fix is optional.

Then work through the swaps:

  1. Search for the names in the list above and replace them. Most are one-line renames.
  2. Search for GetContentRegionMax and GetWindowContentRegion. Rewrite those layouts with GetCursorScreenPos() and GetContentRegionAvail() now, before they’re removed.
  3. If you maintain a custom platform backend, move clipboard hooks to platform_io.
  4. If you’re coming from before 1.93.0, set io.ConfigDebugDrawListDefaultsToStrokeLegacy to compare old and new line rendering, and check custom draw code.
  5. Screenshot your tools before and after, so theme and stroke changes don’t surprise you later.

If you’re on a binding, pin its version in your project and read its changelog when it moves to 1.93.x. Don’t drop a newer upstream imgui.cpp under a binding built for 1.91. The struct layouts and function signatures need to match, and a mismatch tends to crash at runtime rather than fail at compile time. We saw a similar pattern with PixiJS 8.23 changing how move events fire: retest the interactive bits, not only the build.

The fixes for fractional scaling and table borders are worth having if your team works on high-DPI laptops. Nothing in 1.93.1 is urgent for a shipped game, since debug UI is usually stripped from release builds. Update when you next have a quiet day on tools.

Sources

Tagsdear imguic++debug toolsgame uiopen source

See how Godot Engine stacks up in our game engine comparison, updated with every release.

Filed under Game Dev Tools, Editors & Workflows.

All Tools