Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.3: Switch Terminal window focus with mouse movement' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Switch Terminal window focus with mouse movement
Authored by: vancenase on Oct 31, '03 11:22:44AM

1. does this work with the X11 term, and not just the apple 'terminal'?

2. does this support 'focus follows mouse' or 'focus under mouse'? i have not tested this yet, but i'd rather it not bring the window in focus to the front ... ?



[ Reply to This | # ]
10.3: Switch Terminal window focus with mouse movement
Authored by: vancenase on Oct 31, '03 11:24:45AM

i guess i noticed this hint is for the 'apple terminal'. is there a similar feature (like the one i described above) for the X11 term, and X11 'apps' in general?



[ Reply to This | # ]
X11: It depends on your window manager...
Authored by: terceiro on Oct 31, '03 11:42:01AM

Actually, focus-follows-mouse is the default behavior for X11. It is *not* the behavior of quartzwm, however. To test this, make a .xinitrc file with no window manager but do include one (or two) xterms. You'll see that, even with no window manager running, the focus does indeed follow the mouse. (This might only work in full-screen mode).

Just for fun, I'm running a full KDE installation under a full-screen Apple X11, and it works great -- including virtual desktops! I can switch between click-to-focus and focus-follows-mouse at will, easy as pie.

FWIW, I dislike focus-follows-mouse, simply because I'm not used to it.



[ Reply to This | # ]
X11 focus-follow mouse option
Authored by: kal on Oct 31, '03 12:53:10PM

To turn on focus follow mouse in X11:

defaults write com.apple.x11 wm_ffm true



[ Reply to This | # ]
X11 focus-follow mouse option
Authored by: vancenase on Oct 31, '03 12:56:56PM

thanks kal. does this bring the window the mouse is under forward .... or not (preferred)?

thanks!



[ Reply to This | # ]
X11 focus-follow mouse option
Authored by: kal on Oct 31, '03 01:18:59PM

The window is not moved to the front, but the "keyboard focus" is changed. If you want to move the window to the front you will have to left-click as well. I think this can be achieved in jaguar as well, btw...



[ Reply to This | # ]