Skip to content

Can ImGui manage the Main Viewport? #8379

Open
@Icaka00

Description

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

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions