changeset 66275:737f713709af

(display-screens): Use x-display-screens also on Mac.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Fri, 21 Oct 2005 08:27:04 +0000
parents 8e3aeb72b4d2
children e74ff0edf071
files lisp/frame.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/frame.el	Fri Oct 21 08:26:54 2005 +0000
+++ b/lisp/frame.el	Fri Oct 21 08:27:04 2005 +0000
@@ -1053,9 +1053,9 @@
   "Return the number of screens associated with DISPLAY."
   (let ((frame-type (framep-on-display display)))
     (cond
-     ((memq frame-type '(x w32))
+     ((memq frame-type '(x w32 mac))
       (x-display-screens display))
-     (t	;; FIXME: is this correct for the Mac?
+     (t
       1))))
 
 (defun display-pixel-height (&optional display)