Repository navigation
Conversation
Sometimes certain application windows send the "maximize" event at creation causing the window to be maximized regardless if there are other windows already open. This change to the hyprland.lua config file adds a window rule that omits the "maximize" event at window creation, a rule that already exists in the example configuration of Hyprland.
Collaborator
|
Is this ideal? I'm not sure about mullvad, but with newer kitty this is its intentional behavior and it suppresses it. Kitty added the option to remember last state or something, and it's on by default. With this I assume, kitty's behavior wont be respected anymore |
Author
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
Sometimes certain application windows send the "maximize" event at creation causing the window to be maximized regardless if there are other windows already open. For example whenever I opened Kitty and the mullvad browser when other windows were already opened they always got maximized and I had to minimize them manually.
This change to the hyprland.lua config file adds a window rule that omits the "maximize" event at window creation, a rule that already exists in the example lua configuration of Hyprland.
Type of change
Related issues
Screenshots / video
Before this change we can see that if i open multiple instances of Kitty the new ones start maximized:
before.mp4
After my change I can open 3 kitty instances without them being maximized:
after.mp4
Checklist
I18n.tr()with translator context, reusing existing terms where possiblemake fmt, added/updated tests,make testpasses, andgo mod tidyis cleanmake lint-qmlwith no new warnings