h1

X11 Focus settings

26 January 2008

Gimp for os x used to come with a script to change the focus settings of windows in X11. Today, I downloaded the newest os x compilation, 2.4, and surprise- no script! A little digging revealed a quick and easy way to toggle mouse focus for X11 whenever you want.

Run in the terminal:

defaults write com.apple.x11 wm_ffm -bool true

to turn on mouse focus. (That’s the kind where a window focuses without licking on it if the mouse is hovering over it.) To turn it off, just run the same command with false instead of true at the end.

At the moment, I can’t recommend turning mouse focus on since it seems to cause some trouble for Gimp 2.4. But that’s just my speculation.

Leave a Comment