diff options
| author | Kim F. Storm | 2002-02-08 23:49:51 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2002-02-08 23:49:51 +0000 |
| commit | 039b63946283a15deea8f14bbc0ba1909c75568d (patch) | |
| tree | 8b6a64cc561a0c3413f0f730e7650a6124f99220 /src | |
| parent | f6911ea7833b323eb0dcb2d5ffffaa8265026de1 (diff) | |
| download | emacs-039b63946283a15deea8f14bbc0ba1909c75568d.tar.gz emacs-039b63946283a15deea8f14bbc0ba1909c75568d.zip | |
(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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfaces.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; | |||
| 364 | 364 | ||
| 365 | Lisp_Object Qdefault, Qtool_bar, Qregion, Qfringe; | 365 | Lisp_Object Qdefault, Qtool_bar, Qregion, Qfringe; |
| 366 | Lisp_Object Qheader_line, Qscroll_bar, Qcursor, Qborder, Qmouse, Qmenu; | 366 | Lisp_Object Qheader_line, Qscroll_bar, Qcursor, Qborder, Qmouse, Qmenu; |
| 367 | Lisp_Object Qmode_line_inactive; | ||
| 367 | extern Lisp_Object Qmode_line; | 368 | extern Lisp_Object Qmode_line; |
| 368 | 369 | ||
| 369 | /* The symbol `face-alias'. A symbols having that property is an | 370 | /* The symbol `face-alias'. A symbols having that property is an |
| @@ -6106,6 +6107,7 @@ realize_basic_faces (f) | |||
| 6106 | if (realize_default_face (f)) | 6107 | if (realize_default_face (f)) |
| 6107 | { | 6108 | { |
| 6108 | realize_named_face (f, Qmode_line, MODE_LINE_FACE_ID); | 6109 | realize_named_face (f, Qmode_line, MODE_LINE_FACE_ID); |
| 6110 | realize_named_face (f, Qmode_line_inactive, MODE_LINE_INACTIVE_FACE_ID); | ||
| 6109 | realize_named_face (f, Qtool_bar, TOOL_BAR_FACE_ID); | 6111 | realize_named_face (f, Qtool_bar, TOOL_BAR_FACE_ID); |
| 6110 | realize_named_face (f, Qfringe, FRINGE_FACE_ID); | 6112 | realize_named_face (f, Qfringe, FRINGE_FACE_ID); |
| 6111 | realize_named_face (f, Qheader_line, HEADER_LINE_FACE_ID); | 6113 | realize_named_face (f, Qheader_line, HEADER_LINE_FACE_ID); |
| @@ -7204,6 +7206,8 @@ syms_of_xfaces () | |||
| 7204 | staticpro (&Qborder); | 7206 | staticpro (&Qborder); |
| 7205 | Qmouse = intern ("mouse"); | 7207 | Qmouse = intern ("mouse"); |
| 7206 | staticpro (&Qmouse); | 7208 | staticpro (&Qmouse); |
| 7209 | Qmode_line_inactive = intern ("mode-line-inactive"); | ||
| 7210 | staticpro (&Qmode_line_inactive); | ||
| 7207 | Qtty_color_desc = intern ("tty-color-desc"); | 7211 | Qtty_color_desc = intern ("tty-color-desc"); |
| 7208 | staticpro (&Qtty_color_desc); | 7212 | staticpro (&Qtty_color_desc); |
| 7209 | Qtty_color_by_index = intern ("tty-color-by-index"); | 7213 | Qtty_color_by_index = intern ("tty-color-by-index"); |