Resize Not Working As Expected
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 29.6k
- Forks
- 758
- PR merge metrics
- No merged PRs in 30d
Description
Hi guys,
Here is a short video demo of my problem.
Basically, for the first part when I execute yabai -m window --resize right:-20:0 multiple times on the middle window via keybinding, instead of moving right border of the middle window to the left, the right border of the left-most window is moved, which quite confuses me.
Similarly, when I try to drag the right border of middle window to the right to resize, not only the right border of middle window goes to right, its left border also goes to right (i.e. shrinks).
I am not sure if I have misunderstood the command, but as far as I have read the man page and wiki, the behavior of resize is not as expected.
Any help would be appreciated. Thanks in advance.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the middle-window behavior using yabai -m window --resize right:-20:0, the keybinding, and the border-drag interaction shown in the linked video. Trace the resize handling from that command and compare the affected borders with the reported expectation; done means resizing the middle window changes only the intended border and preserves the expected geometry.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, macos
- Domain
- desktop-dev, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100