# HG changeset patch # User Kim F. Storm # Date 1013212191 0 # Node ID dd98ef3675e5b4c9d90adbb964bc9156147e1178 # Parent d3a48ed9857d52a4dbf0291143b91aa3b7ee6da9 (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. diff -r d3a48ed9857d -r dd98ef3675e5 src/xfaces.c --- 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");