Skip to content

Implement windows move and resize#22

Merged
hardening merged 6 commits intomasterfrom
move_and_resize
Nov 20, 2025
Merged

Implement windows move and resize#22
hardening merged 6 commits intomasterfrom
move_and_resize

Conversation

@hardening
Copy link
Owner

No description provided.

Fix a segfault with platform_name.
Restrict moves so that the window can't go outside of the screen.
Restrict resizes o that the window doesn't become too big or too small.
Fix cursor switches.
As this window never have decorations, and usually take all the screen, there's
no way to move or resize it. So if by mischance it is raised on top, all the other
windows become inaccessible.
The first created window has a special treatment: we never decorate it (so no way to move or
resize it), and when you click on it, it is not raised on top.
With this new `norootwindow` parameter you can now disable this behaviour and all windows
including the first one are all treated the same.
@hardening hardening merged commit 43acb2c into master Nov 20, 2025
1 check passed
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