asmvik / asmvik/yabai

[Feature Request] bsp windows mouse drag hints display with feedback color

Open
#2,264 0 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

I would like the option to drag bsp windows without moving the window.
This can reduce visual complexity.

What I'd like to see in this feature:
Windows which are tiled with bsp mode, won't move with the mouse with mouse + drag.
Instead, wherever the mouse goes to (the next space, display, an empty display, etc) will show the feedback color, similar to how it does when the window is about to replace another window.

What this fixes:
When a window is tiled, dragging it over a window can block the view of the window below.
This feature will only show feedback when dragging over another window, and then the window will do its logic when the mouse drag keybind is let go.
This also allows me to move a window to another display without chasing the cursor.
Less drawing = more performance.
This might also fix a bug on my system that causes windows to chase after the mouse lagging slowly, but when a window is dragged normally it runs fine.

Example of feature (replicate sway's behavior):
(insert gif here soon)

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by locating the existing bsp mouse-drag behavior and the feedback-color logic used when a window may replace another, then compare the requested interaction with sway's behavior. Done means dragging leaves tiled windows in place, shows destination feedback, and applies the move only when the mouse-drag keybind is released.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, macos
Domain
desktop, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.