display | more...
A focus policy. The window manager gives the keybooard focus to the window the mouse pointer is in.

This is almost never the default, but nonetheless probably the most common focus policy used on X; it's also available on Windows if you install TweakUI, but doesn't work well.


  • If you (or someone else) jog the mouse accidentally, keystrokes may be lost or even go to some other window.
  • May still need to click to focus on a particular text field of the window.
  • When pointing at the background, nothing gets keystrokes (except maybe the window manager).
  • Interacts poorly with dialog boxes and keyboard-driven focus changes.
  • The mouse pointer must remain in the window, obscuring a portion of it (although some applications, e.g. (X)Emacs with mouse-avoidance-mode, will warp the pointer when it gets in the way of typing).
A behavior of some windowing systems and particularly of certain window manager configurations under the X Window System. Causes the window manager to deliver keystrokes to whatever window the mouse pointer happens to be over. Also known as "focus follows mouse."

In other words, if your window manager is set to behave in this way, then you must keep your mouse pointer over the xterm or other window into which you are typing. Moving it to another window will cause your typing to register there instead. In order to raise a window to the foreground, you must either click on it, or in some window managers, leave your mouse pointer over it for a few seconds.

Some people prefer focus-follows-mouse behavior because it lets them send keystrokes to several different windows quickly, without raising or having to click on any of them. I, for one, am more used to focus follows click (aka click-to-focus) behavior, and am prone to momentary disorientation when I have to work on a focus-follows-mouse system.

Also, the general behavior of the optical apparatus of a domestic feline in the presence of Mus musculus.

Update, July 2001: I now use focus-follows-mouse behavior almost exclusively when using GNU/Linux and other Unix systems, and sometimes miss it on my Macintosh. Why the change? I'm not sure, but it came at the same time I switched from GNOME and Netscape Navigator to KDE and Konqueror.

Log in or register to write something here or to contact authors.