Repository navigation
Vouch request: Restore window tree after changing layout #113
Unanswered
keylimesoda
asked this question in
Vouch requests
Replies: 1 comment 9 replies
|
how about your ai learn what pr template is :? and what about any other layout? why leave those behind? |
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Repos I am interested in contributing to
hyprland
What I want to contribute right now
hyprwm/Hyprland#16405
Why the above bug / feature specifically?
When using hyprland, I like to switch between window layouts (dwindle, scrolling).
However, if I have more than 5-6 windows open, switching back to dwindle is painful because hyprland tosses my old window positioning tree and rebuilds it from scratch, which is really disruptive.
My patch (made with help from AI) simply holds on to the old object rather than deleting it. If any windows have been removed, it prunes them from the tree. If any have been added, they get added on after existing tree is built out.
So, for the most part, your windows come back to where you left them. Much smoother user experience, and the fix is only like 25 lines of code across two files.
I acknowledge that:
I have read the AI Usage Policy and agree to follow it.
I have read the Code of Conduct and agree to follow it.
I wrote this request with my own hands, my own keyboard, and in my own words.
All reactions