asmvik / asmvik/yabai

Mouse support resize-with-center

Open
#1,930 3 comments 0 reactions 0 assignees View on GitHub
suggestion
Dominant language
C
Stars
29.6k
Forks
750
PR merge metrics
No merged PRs in 30d

Description

So in default configuration there is this option:

`yabai -m config mouse_action2 resize`

Which works well however as you are resizing you are only controlling x-y axis increase in one direciton at once, it would be awesome if there was an option like when you take a corner of a window and resize it while holding alt key. (I'm assuming this is native behaviour, if not basically when you resize a corner while holding alt you are stretching/contracting x-axis and stretching-contracting y-axis). This functionality is only really useful for floating windows but I feel like it would be a logical addition, not sure exactly how the cursor should be handled....)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the mouse_action2 resize handling in the C source and trace how floating-window cursor movement is processed. Compare the current one-axis behavior with the requested modifier-based corner resize, including the unresolved cursor behavior. Done means a documented option or interaction resizes both axes together for floating windows without breaking existing resize behavior.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.