asmvik / asmvik/yabai

Mouse not following focuse when window is moved

Open
#2,703 1 comment 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 have mouse follows focus activated in my config via`yabai -m config mouse_follows_focus on` and this mostly works as expected.

I only have one Issue with this feature:
If I move the active window with `yabai -m window --swap` or `yabai -m window --warp` the mouse is not following the focus/window

Is there a way to make the mouse follow the window when it is moved? Or am I doing something wrong here?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the behavior with `yabai -m config mouse_follows_focus on`, then move the active window using `yabai -m window --swap` and `yabai -m window --warp`. Trace the mouse-follows-focus handling for these window movement entry points; done means the mouse follows the focused window after both operations.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.