From cdefda262b7e5fcd67bf9919cff5a07e4e7a415f Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Fri, 8 Feb 2002 23:53:36 +0000 Subject: [PATCH] Added separate mode-line-inactive face. --- lisp/ChangeLog | 6 ++++++ src/ChangeLog | 16 ++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1162ce7eb52..45adc741bcb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2002-02-09 Kim F. Storm + + * faces.el (mode-line-inactive): New face for mode-line for + non-selected windows. + (mode-line): Doc fix: Only used for selected window. + 2002-02-08 Eli Zaretskii * calendar/cal-menu.el (calendar-mode-map): Change the menu item's diff --git a/src/ChangeLog b/src/ChangeLog index d1210356aa2..28484cf4af5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,19 @@ +2002-02-09 Kim F. Storm + + * dispextern.h (CURRENT_MODE_LINE_FACE_ID): New macro. + (CURRENT_MODE_LINE_HEIGHT): Use it. + (enum face_id): Add MODE_LINE_INACTIVE_FACE_ID. + + * xdisp.c (window_box_height): Use CURRENT_MODE_LINE_FACE_ID. + (pos_visible_p, handle_face_prop): Likewise. + (display_mode_lines): Likewise, but for the real selected window. + (init_iterator) [row == NULL]: Handle MODE_LINE_INACTIVE_FACE_ID. + + * xfaces.c (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. + 2002-02-08 Kim F. Storm * alloc.c (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): -- 2.39.2