-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fix node swapping when not a leaf node #3
Comments
i believe as it works now in bspwm what would happen is:
|
I've pushed It doesn't however, handle it in the way you described. It will focus a "random" node from the swapped tree. To implement the behavior you described, I'll have to do some refactoring. I'll create a new ticket to implement the correct behavior once that's done. |
Reopening until I have your confirmation. To avoid forgetting about this |
yep happy to confirm this seems fixed here. i'll update the other issue with a comment describing the exact behavior when i get some time. i believe that the actual behavior is a little different then what i initially posted. |
Great ^^ |
Reported here.
Should just be a matter of querying the swapped node and make sure that it's a leaf node.
If not, I need to get its children and handle each one of them accordingly.
It begs the question: Which leaf node should be focused in the destination's monocle mode? The biggest one?
The text was updated successfully, but these errors were encountered: