changeset 68765:186da3217292

(select-frame-set-input-focus): Call x-focus-frame also when window-system is mac.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Fri, 10 Feb 2006 08:19:36 +0000
parents 2b19dbb7ecf5
children 2504c69a2b9f
files lisp/frame.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/frame.el	Fri Feb 10 07:54:12 2006 +0000
+++ b/lisp/frame.el	Fri Feb 10 08:19:36 2006 +0000
@@ -695,7 +695,7 @@
     (select-frame frame)
     (raise-frame frame)
     ;; Ensure, if possible, that frame gets input focus.
-    (cond ((eq window-system 'x)
+    (cond ((memq window-system '(x mac))
 	   (x-focus-frame frame))
 	  ((eq window-system 'w32)
 	   (w32-focus-frame frame)))