Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Focus Follows Mouse on MacOS

Tags:

macos

PROBLEM: How to implement focus follow mouse for all windows / apps on MacOS?

CONTEXT: Terminal commands such as

defaults write com.apple.terminal FocusFollowsMouse -string true

implement the desired behavior ONLY for terminal windows.

SIMILAR POST: Implement "Mouse Follows Focus" on MacOS

like image 289
DiF Avatar asked Aug 31 '25 18:08

DiF


1 Answers

This is the answer: https://github.com/sbmpost/AutoRaise Works perfectly.

For the precise, classic behaviour of "focus follows mouse", without raising the window, it must be compiled with the suggested flags

make CXXFLAGS="-DOLD_ACTIVATION_METHOD -DEXPERIMENTAL_FOCUS_FIRST" && make install

and then run with the options:

/Applications/AutoRaise.app/Contents/MacOS/AutoRaise delay=0 focusDelay=1
like image 69
DiF Avatar answered Sep 07 '25 15:09

DiF