Can ImGui manage the Main Viewport?
Version/Branch of Dear ImGui:
Version v1.91.6, Branch: docking
Back-ends:
imgui_impl_Custom.cpp + imgui_impl_GLFW.cpp
Compiler, OS:
Windows 10 MSVC/Clang
Full config/build information:
No response
Details:
Is it possible to make ImGui handle the Main Viewport (GFLW Window)? Im talking about resize and drag.
I want to make a custom title bar, but that is just not possible with GLFW, the only option is disabling decorations entirely. Good, but then i lose Resize and Move. Is it possible to manage the window with ImGui? Or am i stuck with forking a GLFW? Should i just calculate and handle resize/move with ImGui myself?
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
No response
It's not possible yet but I eventually want it to happen.
See also https://github.com/ocornut/imgui/issues/3680, https://github.com/ocornut/imgui/issues/3350, and https://github.com/ocornut/imgui/issues/8268
Of particular interest is https://github.com/ocornut/imgui/issues/8268#issuecomment-2566742743, where Nik detailed how ImHex accomplishes what you're describing.
Also see this comment I just posted: https://github.com/ocornut/imgui/issues/8268#issuecomment-2666373762