asmvik / asmvik/yabai

Focus follows mouse breaks when manually moving mouse between multiple windows of the same app

Open
#2,689 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
29.6k
Forks
758
PR merge metrics
No merged PRs in 30d

Description

Bug/Issue - Focus follows mouse breaks if I try to physically move the mouse between different windows of the same application, it stop following focus. It still follows focus if I am using hotkeys with skhd and using yabai commands like `yabai -m window --focus south/east/west/north`. Restarting yabai seems to fix the issue until I encounter multiple windows of the same application, mainly noticing it with multiple windows of Arc and iTerm.

Here's my output from `yabai -V` but this really doesn't show me anything. There was

[yabai_10-25.log](https://github.com/user-attachments/files/22936913/yabai_10-25.log)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue by physically moving the mouse between multiple Arc or iTerm windows and compare that with focusing windows through skhd and yabai commands. Start by reviewing the attached yabai_10-25.log and the reported yabai -V output. Done means focus follows the mouse reliably between windows of the same application without breaking hotkey-based focus.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, macos
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.