From 039b63946283a15deea8f14bbc0ba1909c75568d Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Fri, 8 Feb 2002 23:49:51 +0000 Subject: [PATCH] (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. --- src/xfaces.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xfaces.c b/src/xfaces.c index 6180b2d0020..cf1df227c61 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -364,6 +364,7 @@ Lisp_Object Qframe_update_face_colors; 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 @@ realize_basic_faces (f) 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 @@ syms_of_xfaces () 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"); -- 2.39.5