diff options
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2005-10-21 08:27:14 +0000 |
---|---|---|
committer | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2005-10-21 08:27:14 +0000 |
commit | bb9404d64bbd1774a87b6effc11c4b667c2e18d6 (patch) | |
tree | b2cafd2f9f9b4ea83b138de855539469e16dcd43 /lisp/frame.el | |
parent | 06b4a81bb402dac279a389ce8adae48db16b6db8 (diff) | |
download | emacs-bb9404d64bbd1774a87b6effc11c4b667c2e18d6.tar.gz |
(display-screens): Use x-display-screens also on Mac.
Diffstat (limited to 'lisp/frame.el')
-rw-r--r-- | lisp/frame.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/frame.el b/lisp/frame.el index bd4d7ad5288..46e6e742d7c 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -1053,9 +1053,9 @@ frame's display)." "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) |