Skip to content

Add ImGuiWindowFlags_NoPosClamp #8485

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TheMode
Copy link
Contributor

@TheMode TheMode commented Mar 11, 2025

Add a flag to prevent window position clamping, useful if you wish to have windows off-screen.

Doesn't currently work on docked windows

Solve #8483

@TheMode
Copy link
Contributor Author

TheMode commented Mar 11, 2025

Perhaps that a way to differentiate manually moving a window out of bounds (which should probably still clamp) and programmatically through SetWindowPos would work better.

Or perhaps again, an alternative to GetMainViewport specifying workspace bound (defaulting to main viewport)

@TheMode TheMode closed this Mar 12, 2025
@TheMode TheMode reopened this Mar 12, 2025
@TheMode TheMode marked this pull request as draft March 13, 2025 13:01
@TheMode TheMode marked this pull request as ready for review April 4, 2025 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant