asmvik / asmvik/yabai

disallow resize window in BSP (single window) or STACKED mode

Open
#2,185 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
29.6k
Forks
750
PR merge metrics
No merged PRs in 30d

Description

The mouse modifier and resize should not be allowed while the window is the only window in a workspace in BSP layout. Same for if the window is resizable with a keyboard shortcut, it shouldn't react.

In addition, if the workspace layout is in STACKED mode, all the windows should NOT be resizable.
This will fix UX issues for standalone windows when resizing, as it gives us the idea/confusion if a single window is floating or tiled, or if multiple windows are stacked.

Contributor guide

No contributing guide indexed for this repository

Research direction

Trace the mouse-modifier and keyboard-shortcut resize entry points, then inspect how BSP workspaces identify a single window and how STACKED layout is represented. Done means resize requests are ignored for a sole BSP window and for every window in STACKED mode, without affecting other layouts.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, macos
Domain
operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.