diff man/lispref/frames.texi @ 280:7df0dd720c89 r21-0b38

Import from CVS: tag r21-0b38
author cvs
date Mon, 13 Aug 2007 10:32:22 +0200
parents 05472e90ae02
children e11d67e05968
line wrap: on
line diff
--- a/man/lispref/frames.texi	Mon Aug 13 10:31:30 2007 +0200
+++ b/man/lispref/frames.texi	Mon Aug 13 10:32:22 2007 +0200
@@ -677,6 +677,13 @@
 @code{deselect-frame-hook} to be run, until the next time that XEmacs is
 waiting for an event.
 
+Also note that when the variable @code{focus-follows-mouse} is non-nil,
+the frame selection is temporary and is reverted when the current
+command terminates, much like the buffer selected by @code{set-buffer}.
+In order to effect a permanent focus change in this case, bind
+@code{focus-follows-mouse} to nil, select the frame you want, and do a
+@code{(sit-for 0)} within the scope of the binding.
+
 @ignore (FSF Emacs)
 XEmacs cooperates with the X server and the window managers by arranging
 to select frames according to what the server and window manager ask