Replies: 3 comments
-
Hello, See configWindowsMoveFromTitleBarOnly in ImGui window params If false, windows can be dragged from anywhere |
Beta Was this translation helpful? Give feedback.
-
Sorry, this works only for inner ImGui windows, not for the main app window. |
Beta Was this translation helpful? Give feedback.
-
In that case, I don't think of an immediate solution. You may handle this by yourself for example by calling auto pos = ImGui::GetMousePos();
if (pos somewhere near the menu bar)
if (ImGui::IsMouseDragging(0))
move the backend window |
Beta Was this translation helpful? Give feedback.
-
Hello, is it possible to make "backend window" of GLFW draggable for example by grabbing the top "menu bar"?
I'd like to replace OS window decorations with my own, but then I think there's no way to drag the window around.
I don't use fullscreen or docking, I'd just like to render one small window with it.
Beta Was this translation helpful? Give feedback.
All reactions