Losing autofocus after wake from sleep
- Dominant language
- C
- Stars
- 29.6k
- Forks
- 750
- PR merge metrics
- No merged PRs in 30d
Description
I have focus_follows_mouse = autofocus and really like this behavior. It works good for me for the most part, except that it is gone after waking my computer from sleep. Restarting yabai fixes, but I lose all my window sizes and positions.
I am running yabai 7.1.23 on Tahoe, and I am not able to disable SIP (so, no scripting addition).
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file, test, or entry point is named. Start by reproducing the sleep-and-wake cycle with focus_follows_mouse set to autofocus on macOS Tahoe, then trace how yabai handles wake events and focus state. Done means autofocus remains active after waking without restarting yabai or losing window positions.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100