aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c2
1 files changed, 1 insertions, 1 deletions
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,
3018{ 3018{
3019 check_x (); 3019 check_x ();
3020 3020
3021 return (x_screen_planes > 2 3021 return (x_screen_planes > 1
3022 && (screen_visual->class == StaticGray 3022 && (screen_visual->class == StaticGray
3023 || screen_visual->class == GrayScale)); 3023 || screen_visual->class == GrayScale));
3024} 3024}