Mercurial > emacs
comparison lisp/frame.el @ 85114:5039706521c9
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-875
author | Miles Bader <miles@gnu.org> |
---|---|
date | Tue, 09 Oct 2007 08:52:57 +0000 |
parents | 47b6c1061ac9 b6585f51bde9 |
children | 0833864bd9a1 14c4a6aac623 |
comparison
equal
deleted
inserted
replaced
85113:82b4a12fd080 | 85114:5039706521c9 |
---|---|
813 (setq tail (cdr tail))))) | 813 (setq tail (cdr tail))))) |
814 (setq frame-initial-geometry-arguments | 814 (setq frame-initial-geometry-arguments |
815 (nreverse frame-initial-geometry-arguments)) | 815 (nreverse frame-initial-geometry-arguments)) |
816 (cdr param-list)) | 816 (cdr param-list)) |
817 | 817 |
818 (defcustom focus-follows-mouse (not (eq window-system 'mac)) | |
819 "*Non-nil if window system changes focus when you move the mouse. | |
820 You should set this variable to tell Emacs how your window manager | |
821 handles focus, since there is no way in general for Emacs to find out | |
822 automatically. | |
823 | |
824 This variable does not have any effect on MS-Windows." | |
825 :type 'boolean | |
826 :group 'frames | |
827 :version "20.3") | |
828 | |
829 (defun select-frame-set-input-focus (frame) | 818 (defun select-frame-set-input-focus (frame) |
830 "Select FRAME, raise it, and set input focus, if possible." | 819 "Select FRAME, raise it, and set input focus, if possible." |
831 (select-frame frame) | 820 (select-frame frame) |
832 (raise-frame frame) | 821 (raise-frame frame) |
833 ;; Ensure, if possible, that frame gets input focus. | 822 ;; Ensure, if possible, that frame gets input focus. |