-
Notifications
You must be signed in to change notification settings - Fork 280
fix: float windows by default if they have WS_POPUP
style
#941
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
Conversation
…up to be floating instead of tiled.
Good point! Think this would make a lot of sense to add as a default 👌 Thank you for the PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure if this is the correct syntax for an "or" condition in rust as I've never programmed in it. Hoping it is correct
WS_POPUP
style
Awesome 🙏 Made a quick linting fix (hope it's ok I pushed directly to the branch). I held off including this in the current release to give some more time for testing with different apps. From what I've seen in some quick initial testing though, it's looking good! |
🎉 This PR is included in version 3.9.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 3.9.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This is to set windows meant to have a specific size (but they are still resizable) to be in floating mode instead of tiling by default.
This could maybe replace the workarounds using the window class for some explorer's popups. Would have to check if those windows have the 'WS_POPUP' flag or not.
Without this, many windows are improperly resized and makes the tiling manager almost unusable, especially with softwares like Visual Studio or Ghidra.