changeset 43205:802b4363512b

Added separate mode-line-inactive face.
author Kim F. Storm <storm@cua.dk>
date Fri, 08 Feb 2002 23:53:36 +0000
parents 1b0f33edf842
children cc9c8c17538f
files lisp/ChangeLog src/ChangeLog
diffstat 2 files changed, 22 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Feb 08 23:51:56 2002 +0000
+++ b/lisp/ChangeLog	Fri Feb 08 23:53:36 2002 +0000
@@ -1,3 +1,9 @@
+2002-02-09  Kim F. Storm  <storm@cua.dk>
+
+	* 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  <eliz@is.elta.co.il>
 
 	* calendar/cal-menu.el (calendar-mode-map): Change the menu item's
--- a/src/ChangeLog	Fri Feb 08 23:51:56 2002 +0000
+++ b/src/ChangeLog	Fri Feb 08 23:53:36 2002 +0000
@@ -1,3 +1,19 @@
+2002-02-09  Kim F. Storm  <storm@cua.dk>
+
+	* 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  <storm@cua.dk>
 
 	* alloc.c (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK):