summaryrefslogtreecommitdiff
path: root/lisp/frame.el
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2006-03-25 07:40:18 +0000
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2006-03-25 07:40:18 +0000
commit4c08371a0461a350861d645e79e959da41b0437c (patch)
tree7af0aea160e168a58a0f92613c8fc04c3dacedd8 /lisp/frame.el
parent27366995b7d1bed163765eb5c749455aaec144f8 (diff)
downloademacs-4c08371a0461a350861d645e79e959da41b0437c.tar.gz
(select-frame-by-name): Call x-focus-frame also when
window-system is mac.
Diffstat (limited to 'lisp/frame.el')
-rw-r--r--lisp/frame.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/frame.el b/lisp/frame.el
index 8437475dfd6..d041da254f5 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -767,7 +767,7 @@ If there is no frame by that name, signal an error."
(raise-frame frame)
(select-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)))