Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way to have Mac OS focus a window that I right-click on? It happens to me quite frequently that I right-click on something, choose "rename" or "create file" or what have you, need to type the filename and the keyboard input goes to another window, because Mac OS appears to switch focus only on a left-click.

share|improve this question
Concrete example: Right-click on a background Pages document, select Create paragraph style from selection (a sheet dialog will appear) and you cannot start typing. – Daniel Beck Jun 11 '11 at 6:05
Another common case for me is to create a new tab in Safari, when out of focus. The tab gets created but you can't type the URL because you are still out of focus. This seems to be an issue (bug?) that can be fixed with the next Mac OS X Release... But what can be the side effects of this issue being fixed? Is it really an issue or deliberate feature? – Arko Jun 15 '11 at 8:57
Yes, that is the kind of thing that is bugging me so much. I take it this means that there is no solution? – Steven Don Jun 15 '11 at 9:40

You could use MondoMouse ($14.95, trial available), which supports Focus Follows Mouse.

Or from OS X: Point-to-Focus?

To enable sloppy focus do:

for just Terminal windows:

% defaults write FocusFollowsMouse

-string YES

for X11 windows:

% defaults write wm_ffm true

for most other Mac apps:

use Codetek Virtual Desktop
share|improve this answer
Close, but "focus follows pointer" is a bit too much for what I need. What I'm looking for is still click-to-focus, but not just on left-click, also on right (and middle) click. – Steven Don Jun 14 '11 at 13:08
All too often I find myself typing after right clicking another window and see that nothing is typed in the window I right clicked on, because it did not receive focus on the right click. Also I think that it's too much that a window gets the focus just by hovering over it with the pointer. – Chris Sep 21 '15 at 10:27

Try control-clicking. What happens? (Different apps behave differently with this--Finder being a notable exception.)

share|improve this answer
It somewhat works for me. The window gets focus, and the context menu opens, but I cannot release the mouse button or the context menu will close; so I have to keep it pressed down, and release over the desired menu entry to select it. But other than that, it works quite well. – Daniel Beck Jun 13 '11 at 11:17
That seems to behave a bit too erratically per app (and sometimes even inside the same app) to be useful. – Steven Don Jun 14 '11 at 13:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .