changeset 43203:dd98ef3675e5

(Qmode_line_inactive): New face variable for mode-line in non-selected windows. (realize_basic_faces): Realize it. (syms_of_term): Intern and staticpro it.
author Kim F. Storm <storm@cua.dk>
date Fri, 08 Feb 2002 23:49:51 +0000
parents d3a48ed9857d
children 1b0f33edf842
files src/xfaces.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Fri Feb 08 23:48:50 2002 +0000
+++ b/src/xfaces.c	Fri Feb 08 23:49:51 2002 +0000
@@ -364,6 +364,7 @@
 
 Lisp_Object Qdefault, Qtool_bar, Qregion, Qfringe;
 Lisp_Object Qheader_line, Qscroll_bar, Qcursor, Qborder, Qmouse, Qmenu;
+Lisp_Object Qmode_line_inactive;
 extern Lisp_Object Qmode_line;
 
 /* The symbol `face-alias'.  A symbols having that property is an
@@ -6106,6 +6107,7 @@
   if (realize_default_face (f))
     {
       realize_named_face (f, Qmode_line, MODE_LINE_FACE_ID);
+      realize_named_face (f, Qmode_line_inactive, MODE_LINE_INACTIVE_FACE_ID);
       realize_named_face (f, Qtool_bar, TOOL_BAR_FACE_ID);
       realize_named_face (f, Qfringe, FRINGE_FACE_ID);
       realize_named_face (f, Qheader_line, HEADER_LINE_FACE_ID);
@@ -7204,6 +7206,8 @@
   staticpro (&Qborder);
   Qmouse = intern ("mouse");
   staticpro (&Qmouse);
+  Qmode_line_inactive = intern ("mode-line-inactive");
+  staticpro (&Qmode_line_inactive);
   Qtty_color_desc = intern ("tty-color-desc");
   staticpro (&Qtty_color_desc);
   Qtty_color_by_index = intern ("tty-color-by-index");