comparison 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
comparison
equal deleted inserted replaced
279:c20b2fb5bb0a 280:7df0dd720c89
675 Note that this does not actually cause the window-system focus to be set 675 Note that this does not actually cause the window-system focus to be set
676 to this frame, or the @code{select-frame-hook} or 676 to this frame, or the @code{select-frame-hook} or
677 @code{deselect-frame-hook} to be run, until the next time that XEmacs is 677 @code{deselect-frame-hook} to be run, until the next time that XEmacs is
678 waiting for an event. 678 waiting for an event.
679 679
680 Also note that when the variable @code{focus-follows-mouse} is non-nil,
681 the frame selection is temporary and is reverted when the current
682 command terminates, much like the buffer selected by @code{set-buffer}.
683 In order to effect a permanent focus change in this case, bind
684 @code{focus-follows-mouse} to nil, select the frame you want, and do a
685 @code{(sit-for 0)} within the scope of the binding.
686
680 @ignore (FSF Emacs) 687 @ignore (FSF Emacs)
681 XEmacs cooperates with the X server and the window managers by arranging 688 XEmacs cooperates with the X server and the window managers by arranging
682 to select frames according to what the server and window manager ask 689 to select frames according to what the server and window manager ask
683 for. It does so by generating a special kind of input event, called a 690 for. It does so by generating a special kind of input event, called a
684 @dfn{focus} event. The command loop handles a focus event by calling 691 @dfn{focus} event. The command loop handles a focus event by calling