From: Richard M. Stallman Date: Fri, 16 Sep 1994 08:51:35 +0000 (+0000) Subject: (Fx_display_grayscale_p): Check for > 1 pane. X-Git-Tag: emacs-19.34~7074 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3f8600ae72e5ddf899f611475fd72603e2430645;p=emacs.git (Fx_display_grayscale_p): Check for > 1 pane. --- diff --git a/src/xfns.c b/src/xfns.c index 0fc157baf85..5cc17d674a5 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -3018,7 +3018,7 @@ DEFUN ("x-display-grayscale-p", Fx_display_grayscale_p, Sx_display_grayscale_p, { check_x (); - return (x_screen_planes > 2 + return (x_screen_planes > 1 && (screen_visual->class == StaticGray || screen_visual->class == GrayScale)); }