From: Eli Zaretskii Date: Sat, 5 Feb 2005 12:14:45 +0000 (+0000) Subject: (face_color_supported_p): Use HAVE_WINDOW_SYSTEM X-Git-Tag: ttn-vms-21-2-B4~2415 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6a46b96b707e13ce5ab5b98ef1d23784b1794cd4;p=emacs.git (face_color_supported_p): Use HAVE_WINDOW_SYSTEM instead of HAVE_X_WINDOWS, for non-X windowed sessions. --- diff --git a/src/xfaces.c b/src/xfaces.c index 3a63e128e4f..c562ce3b592 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -1513,7 +1513,7 @@ face_color_supported_p (f, color_name, background_p) XSETFRAME (frame, f); return -#ifdef HAVE_X_WINDOWS +#ifdef HAVE_WINDOW_SYSTEM FRAME_WINDOW_P (f) ? (!NILP (Fxw_display_color_p (frame)) || xstricmp (color_name, "black") == 0