]> git.eshelyaron.com Git - emacs.git/commitdiff
Added separate mode-line-inactive face.
authorKim F. Storm <storm@cua.dk>
Fri, 8 Feb 2002 23:53:36 +0000 (23:53 +0000)
committerKim F. Storm <storm@cua.dk>
Fri, 8 Feb 2002 23:53:36 +0000 (23:53 +0000)
lisp/ChangeLog
src/ChangeLog

index 1162ce7eb52152f0f7b714320b10cbb636c32e39..45adc741bcbac041d15a326138addf6556f64209 100644 (file)
@@ -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
index d1210356aa2ebeefd2014daa756c3da337ebe998..28484cf4af5cfb0aeae9fa9a2396905dc7a54175 100644 (file)
@@ -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):