Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I will often click on a button expecting it to be clicked but instead all that happens is the application it is in becomes active, and I have to click again to actually click the button. It would be nice if this second click wasn't needed, which leads me to my question:

How can I make it so that when I move the mouse cursor over an inactive window, it becomes active?

share|improve this question
    
This applies only to web and document views as far as I know. If you click any other control in an window, it triggers regardless of wether it's active or inactive. Just a clarification. –  kolizz Aug 17 '10 at 20:22
    
I'm not exactly sure what you mean by 'web and document views' but it seems to happen basically everywhere for me. For example, if I have a Finder window open but inactive, and click on a file in it, all that happens is Finder becomes active -- I have to click the file again to get a preview of it. Same for the X-Windows application I currently have open, although Studer appears to have a fix for that below. –  Michael Underwood Aug 17 '10 at 20:46
add comment

3 Answers

Best little utility I stumbled upon is Zooom/2. Strange name, hence hard to find. You can choose delay (Rather cumbersome, OS X and global menu is not designed to allow that). I set it to focus window under cursor instantly when Option key is pressed. Great value, no dock or tray icons, it just works.

share|improve this answer
    
I can heartily recommend Zooom/2 as well, absolutely indispensable little app in my opinion. –  Martijn Pieters Feb 14 '11 at 13:22
add comment

This is freely possible for the Terminal and X11 :

defaults write com.apple.Terminal FocusFollowsMouse -string YES

defaults write com.apple.x11 wm_ffm true

Or, OS-wise, with a utility that seems to fit your needs, called MondoMouse.

share|improve this answer
add comment

I originally wanted to do this with my first Mac a couple years ago as well, since that's how my Linux and Windows environments behave. But I think the driving force preventing this from becoming a reality is in how OS X handles application menus.

What if you want to go to the menu at the top of the screen for an application you're using, but in the process briefly hover over another application? That would become infuriating quickly.

In short, I don't think its doable for that and potentially other reasons.

share|improve this answer
    
I see what you mean, but I've had Linux systems set up so that if the mouse stayed on a window for a certain time period (greater than zero), then that window became active. That would be one solution. Another would be to simply let clicks pass to whatever control they are over, whether it is in the currently active window or not. Is that doable? –  Michael Underwood Aug 17 '10 at 19:38
    
Honestly, I don't know. It's definitely interesting though. I'm currently scouring Google, since it would save on input clicks. I'm just concerned that any solution might get a little "hack-y" and not behave consistently in all UI elements or applications. The last thing I'd want is to not know if I'm focusing a window or pressing a button :( –  David Aug 17 '10 at 19:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.