[HELP] Apply focus_follows_mouse only when switching display using the mouse
- Dominant language
- C
- Stars
- 29.6k
- Forks
- 750
- PR merge metrics
- No merged PRs in 30d
Description
Hello.
I'm enjoying Yabai so far. It is possible to add `focus_follows_mouse autofocus` only when the user moves the mouse cursor in a different display, and `focus_follows_mouse off` the rest of the operations (focus different window in the same display, etc.).
Only triggers the `focus_follows_mouse autofocus` effect if the user drags the cursor into a different display. Once the user is in the new display, `focus_follows_mouse off` activates.
Does that make sense?
I'm not a fan of `focus_follows_mouse` all the time but could be useful if this applies only when I switch to a different display with my mouse.
Thanks!
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no files, tests, or entry points. Start by locating the existing focus_follows_mouse handling and the code that detects mouse movement between displays; done means the requested behavior works for cross-display mouse movement without changing other focus operations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, macos
- Domain
- desktop, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100