Skip to content
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

Fixes shrinking pseudotile windows. #6143

Merged
merged 1 commit into from
May 18, 2024

Conversation

The-Briel-Deal
Copy link
Contributor

Describe your PR, what does it fix/add?

#6051
There is a problem described here where a window shrinks to nothingness by floating and unfloating a pseudo-tiled window. The reason for this is for some reason if a window isn't tiled and the difference of real size and floating size is less than 10 px on x and y, then the window is shrunk to by 20 pixels in each direction?

I have no idea what the point of this shrinking is so I didn't modify any cases besides when a window is floating and pseudotiled. This fixes it however and shouldn't break anything else.

Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)

This should be a small non-breaking change but I am curious why we would have this hardcoded shrink when going to floating?

Is it ready for merging, or does it need work?

Should be ready for merging.

@vaxerski vaxerski merged commit c21a5a9 into hyprwm:main May 18, 2024
10 checks passed
The-Briel-Deal added a commit to The-Briel-Deal/Hyprland that referenced this pull request May 25, 2024
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.

Toggling between pseudotile & floating mode reduces window size, even beyond limits
2 participants