You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This "bug" has been biting me for I hate to say years but I guess I'm too lazy to have actually looked into it.
In the floating mode, the lua ioncore.goto_next(_chld, 'left') and ioncore.goto_next(_chld, 'right') should probably work like this:
Look at the current window focus top left coordinates. Go to the closest window on the left or right with respect to that. If they are on the same left or right distance coordinate then go to the one whose ABS (up/down) distance is closest. If those are the same, then prefer the LRU in the window stack.
That would allow a deterministic traversal in floating mode and the positioning of windows to act as the focus ring, it's a really powerful mechanism.
Right now it just does some rather unpredictable behavior that I can't really determine. I haven't looked deep into the code.
The text was updated successfully, but these errors were encountered:
This "bug" has been biting me for I hate to say years but I guess I'm too lazy to have actually looked into it.
In the floating mode, the lua ioncore.goto_next(_chld, 'left') and ioncore.goto_next(_chld, 'right') should probably work like this:
Look at the current window focus top left coordinates. Go to the closest window on the left or right with respect to that. If they are on the same left or right distance coordinate then go to the one whose ABS (up/down) distance is closest. If those are the same, then prefer the LRU in the window stack.
That would allow a deterministic traversal in floating mode and the positioning of windows to act as the focus ring, it's a really powerful mechanism.
Right now it just does some rather unpredictable behavior that I can't really determine. I haven't looked deep into the code.
The text was updated successfully, but these errors were encountered: