Skip to content

You can move a NoMove window... #1381

@tom-seddon

Description

@tom-seddon

In ImGui::EndFrame, the hovered window's flags are checked when the mouse is down, so that if the NoMove flag is set, it won't go into move mode. But in ImGui::NewFrame, it's the hovered window's root window that gets moved. So shouldn't the root window's NoMove flag be checked too?

This feels like a bug, because makes it harder than necessary to create an immovable window. (I came across this problem using the Lumix docking stuff, which creates its own internal window that doesn't have the NoMove flag set.) But perhaps there's something I'm missing.

Thanks,

--Tom

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions