ocornut
00685f0797
Backends: Win32: make windows appear with SetWindowPos() w/ SWP_NOOWNERZORDER instead of unparenting + ShowWindow(). ( #7354 , #8669 )
2026-11-03 19:17:26 +01:00
ocornut
0aaf44d165
Viewports: clear ImGuiViewportFlags_NoFocusOnAppearing for modals.
...
Honestly I'm not sure about side-effects but intuitively not needed. Dragging windows will still forcefully set this.
Fixes e.g. appearing modal not taking focus = in win32 implementation it stops task bar icons from appearing (which is to be investigated).
2026-11-03 18:41:25 +01:00
ocornut
6ca5197cf8
Backends: Win32: remove unused code from an old experiment.
2026-08-06 21:50:04 +02:00
ocornut
4cb21e4a1e
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_win32.cpp
2026-05-28 15:46:34 +02:00
MouriNaruto
3e7b79aa17
Backends: Win32: use SetProcessDpiAwarenessContext instead of SetThreadDpiAwarenessContext when available, to fix the OpenGL3 Win32 example DPI scaling issue. ( #9403 )
2026-05-19 17:53:36 +02:00
ocornut
a31071573b
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx10.cpp
# backends/imgui_impl_dx11.cpp
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_dx9.cpp
# backends/imgui_impl_metal.h
# backends/imgui_impl_metal.mm
# backends/imgui_impl_opengl2.cpp
# backends/imgui_impl_opengl3.cpp
# backends/imgui_impl_sdl3.cpp
# backends/imgui_impl_sdlgpu3.cpp
# backends/imgui_impl_sdlrenderer2.cpp
# backends/imgui_impl_sdlrenderer2.h
# backends/imgui_impl_vulkan.cpp
# imgui.cpp
2026-04-23 22:11:04 +02:00
ocornut
f2f843c113
Fixed some extremely zealous warnings (GCC -Wconversion, -Wdouble-promotion)
...
(amend a1e0552)
2026-04-23 17:23:43 +02:00
ocornut
64f88934a7
Viewports: only apply AdjustWindowRectExForDpi() when Per-Monitor DPI Aware V2. Amend 54a865e. ( #8897 )
...
Arghhh.
2026-03-31 20:23:28 +02:00
ocornut
54a865e472
Viewports: fixed setting/getting correct size when viewports have OS decorations (e.g. io.ConfigViewportsNoDecoration = false) and process is running in Per-Monitor V2 DPI mode. ( #8897 )
2026-03-31 17:56:56 +02:00
ocornut
d6d5580099
Merge branch 'master' into docking w/ custom fix in Scrollbar()
...
# Conflicts:
# backends/imgui_impl_win32.cpp
# imgui.cpp
2026-01-29 17:52:30 +01:00
Ahmed Samy
960aff24fc
Backends: Win32: use XInput Packet to avoid resubmitting gamepad data. ( #9202 , #8556 )
2026-01-28 15:30:49 +01:00
ocornut
2a08c87b8c
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx10.cpp
# backends/imgui_impl_dx11.cpp
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# examples/example_glfw_metal/main.mm
# examples/example_glfw_opengl2/main.cpp
# examples/example_glfw_opengl3/main.cpp
# examples/example_glfw_vulkan/main.cpp
# examples/example_sdl2_directx11/main.cpp
# examples/example_sdl2_opengl2/main.cpp
# examples/example_sdl2_opengl3/main.cpp
# examples/example_sdl2_sdlrenderer2/main.cpp
# examples/example_sdl2_vulkan/main.cpp
# examples/example_sdl3_directx11/main.cpp
# examples/example_sdl3_opengl3/main.cpp
# examples/example_sdl3_sdlgpu3/main.cpp
# examples/example_sdl3_sdlrenderer3/main.cpp
# examples/example_sdl3_vulkan/main.cpp
# examples/example_win32_directx10/main.cpp
# examples/example_win32_directx11/main.cpp
# examples/example_win32_directx12/main.cpp
# examples/example_win32_directx9/main.cpp
# examples/example_win32_opengl3/main.cpp
# examples/example_win32_vulkan/main.cpp
# imgui_internal.h
2026-01-23 16:05:50 +01:00
ocornut
8c0b410371
Docs: tweaks.
2026-01-20 18:25:18 +01:00
ocornut
f89ef40cb2
Backends: Win32: fixed an issue from 1.90.5 where newly appearing windows that are not parented to the main viewport don't have task bar icon appear before the windows was explicited refocused. ( #7354 , #8669 )
2026-01-16 18:43:02 +01:00
ocornut
9ce41a92c3
Misc/shallow merges from docking branch to reduce small drift.
2026-01-08 14:31:25 +01:00
ocornut
26f7b2f5aa
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
2025-12-21 18:05:20 +01:00
ocornut
4e7c05504a
Renamed IM_ARRAYSIZE() -> IM_COUNTOF(). Kept legacy name for now.
2025-12-17 14:30:01 +01:00
ocornut
42e91c3155
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdlgpu3.cpp
# backends/imgui_impl_win32.cpp
2025-12-03 13:35:35 +01:00
ulhc
d27dce58cd
Backends: Win32: handle WM_IME_CHAR/WM_IME_COMPOSITION messages to support Unicode inputs on MBCS Windows. ( #9099 , #3653 , #5961 )
2025-12-03 13:34:57 +01:00
ocornut
87b193399e
Backends: Win32: change param to MultiByteToWideChar() to be consistent (should be no-op?).
...
Amend 0a7054c7e4 (#5725 , #1807 , #471 , #2815 , #1060 + #9099 , #3653 , #5961 )
2025-12-03 13:30:59 +01:00
ulhc
962cc2381d
Backends: Win32: viewports created by backend direct messages to DefWindowProcW() in order to support Unicode text inputs. ( #9099 , #3653 , #5961 )
2025-12-03 13:22:06 +01:00
ocornut
cfb48969af
Examples: CI: backtrack and make example_null embed backend: simpler for all sorts of quick build scripts.
2025-11-17 16:38:07 +01:00
ocornut
0cf5b93a0a
CI, Backends: fixes for example_null building. Add consistent IMGUI_IMPL_API in backend.
2025-11-17 16:18:12 +01:00
ocornut
1d942eb6c9
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_win32.cpp
# imgui.cpp
# imgui_demo.cpp
# imgui_internal.h
2025-10-30 18:08:56 +01:00
ocornut
0ba9fedf1a
Win32: Revert 1.92.4 change of comparing dwPacketNumber. ( #8556 )
2025-10-29 16:29:47 +01:00
ocornut
a0a6639fb5
Viewports: rename ImGuiBackendFlags_HasParentViewportId->ImGuiBackendFlags_HasParentViewport. ( #8948 )
...
Introduced yesterday by 50a8bb2.
2025-10-02 16:20:24 +02:00
ocornut
3563f1e270
Viewports: store ImGuiViewport* ParentViewport pointer as well. Backends: SDL3, Win32: use this pointer to reduce lookups. ( #8948 )
2025-09-30 18:42:57 +02:00
ocornut
50a8bb2711
Viewports: added ImGuiBackendFlags_HasParentViewportId backend flag. ( #8948 )
2025-09-30 17:38:06 +02:00
ocornut
e285ecca09
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx10.cpp
# backends/imgui_impl_dx11.cpp
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_dx9.cpp
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_metal.mm
# backends/imgui_impl_opengl2.cpp
# backends/imgui_impl_opengl3.cpp
# backends/imgui_impl_osx.mm
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# backends/imgui_impl_sdlgpu3.cpp
# backends/imgui_impl_vulkan.cpp
# backends/imgui_impl_win32.cpp
# docs/CHANGELOG.txt
# imgui.cpp
# imgui.h
2025-09-24 14:54:46 +02:00
ocornut
5f6eaa5278
Backends: Win32: minor optimization not submitting gamepad input if packet number has not changed. ( #8556 )
...
To be honest I don't believe this is valuable as an optimization, but it makes debug stepping a little nicer.
2025-09-23 16:30:07 +02:00
ocornut
aa9476a38a
IO: added ImGuiPlatformIO::ClearPlatformHandlers(), ClearRendererHandlers(). Backends: call those on Shutdown(). ( #8945 , #2769 )
...
# Conflicts:
# backends/imgui_impl_dx10.cpp
# backends/imgui_impl_dx11.cpp
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_dx9.cpp
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_metal.mm
# backends/imgui_impl_opengl2.cpp
# backends/imgui_impl_opengl3.cpp
# backends/imgui_impl_osx.mm
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# backends/imgui_impl_sdlgpu3.cpp
# backends/imgui_impl_vulkan.cpp
# backends/imgui_impl_win32.cpp
# docs/CHANGELOG.txt
# imgui.h
2025-09-18 17:02:44 +02:00
ocornut
d4f722d5b2
IO: added ImGuiPlatformIO::ClearPlatformHandlers(), ClearRendererHandlers(). Backends: call those on Shutdown(). ( #8945 , #2769 )
2025-09-18 16:58:50 +02:00
ocornut
b580c11303
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_sdl2.cpp
2025-06-20 15:19:36 +02:00
ocornut
e97e55adbc
Backends: Fixed various warnings discovered when using MinGW GCC 15/Clang on latest backends.
...
dx12: 'ImGui_ImplDX12_Data* bd' shadowed local in spite of being in lambda.
2025-06-20 15:18:00 +02:00
ocornut
e55415bfef
(Breaking) renamed/moved ImGuiConfigFlags_DpiEnableScaleFonts -> ioConfigDpiScaleFonts, ImGuiConfigFlags_DpiEnableScaleViewports -> io.ConfigDpiScaleViewports
2025-06-11 15:02:06 +02:00
ocornut
a92b53df7b
Backends: Win32: Viewports: handle WM_DPICHANGED in backend when ImGuiConfigFlags_DpiEnableScaleViewports flag is enabled.
2025-06-02 19:21:22 +02:00
ocornut
1c8fad73f8
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdlgpu3.cpp
# backends/imgui_impl_vulkan.cpp
# backends/imgui_impl_win32.cpp
2025-05-07 15:24:46 +02:00
ocornut
c0dfd65d67
Backends: Win32: Fixed an issue where externally losing mouse capture (due to e.g. focus loss) would fail to claim it again the next subsequent click. ( #8594 )
2025-04-30 16:23:58 +02:00
ocornut
df5690d91a
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_osx.mm
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# imgui.cpp
2025-03-30 16:42:28 +02:00
ocornut
0c079e453b
Backends: Win32: Viewports: fixed an issue when closing a window from the OS close button (with io.ConfigViewportsNoDecoration=false) while user code is discarding the 'bool *p_open=false output' from Begin()
2025-03-26 22:59:14 +01:00
ocornut
979c7d76ab
Backends: SDL2, SDL3, OSX: Fill gamepad inputs and set ImGuiBackendFlags_HasGamepad regardless of ImGuiConfigFlags_NavEnableGamepad being set. ( #8508 )
2025-03-21 15:42:47 +01:00
ocornut
79bba34c5f
Revert "Added ImGuiKey_AbntC1, ImGuiKey_AbntC2 + Backends: GLFW, Win32: added support. ( #8468 )"
...
This reverts commit 557c77e4556a776058c099881f4b32d5416b27c6.
2025-03-13 16:32:50 +01:00
ocornut
557c77e455
Added ImGuiKey_AbntC1, ImGuiKey_AbntC2 + Backends: GLFW, Win32: added support. ( #8468 )
2025-03-11 18:38:45 +01:00
ocornut
6972b6c380
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# backends/imgui_impl_win32.cpp
2025-03-10 20:02:36 +01:00
ocornut
a9e53829d2
Backends: Win32, SDL2, SDL3, GLFW: prioritize scancodes instead of translated keycodes when dealing with OEM keys + Added ImGuiKey_Oem102. ( #7136 , #7201 , #7206 , #7306 , #7670 , #7672 , #8468 )
2025-03-10 18:01:29 +01:00
ocornut
9ab0b66f50
Backends: fixed comment to state that ImGuiViewport::PlaformHandle is used to store SDL's WindowID, not SDL_Window*. ( #7853 )
...
Amend 2d99052
2025-02-25 15:55:54 +01:00
Marius PvW
3064e6d10c
Viewports + Backends: Win32: Fixed setting title bar text when application is compiled without UNICODE. ( #7979 , #5725 )
2025-02-21 22:41:15 +01:00
ocornut
6acdce78d1
Backends: Win32: use UnregisterClassW() for matching consistency. ( #8423 , #7979 )
...
Amend 3293ef8bb
2025-02-21 22:13:33 +01:00
ocornut
773060155f
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_glfw.h
# backends/imgui_impl_opengl3.cpp
# backends/imgui_impl_osx.h
# backends/imgui_impl_osx.mm
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# backends/imgui_impl_win32.cpp
# imgui.cpp
2025-02-21 19:56:20 +01:00
David Maas
ea59440662
Backends: Win32: WM_SETTINGCHANGE's SPI_SETWORKAREA message also triggers a refresh of monitor list. ( #8415 )
2025-02-21 17:10:11 +01:00