Commit 3f8600ae authored by Richard M. Stallman's avatar Richard M. Stallman

(Fx_display_grayscale_p): Check for > 1 pane.

parent d0c9d219
......@@ -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));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment