[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TTY Vertical divider face?
From: |
Miles Bader |
Subject: |
Re: TTY Vertical divider face? |
Date: |
Tue, 7 Jun 2005 14:12:08 +0900 |
On 6/6/05, Juri Linkov <address@hidden> wrote:
> Is it possible to set inverse colors for the vertical border
> by default without using the display table?
It's easy just using the same method Len used in lisp. Any objection
to the following patch? Should it use a different face (note that the
actual face that ends up being used by this code is
`mode-line-inactive', even though the code says MODE_LINE_FACE_ID; I'm
not sure why this is)?
2005-06-07 Miles Bader <address@hidden>
* dispnew.c (build_frame_matrix_from_leaf_window): Display
vertical window-separator on ttys using mode-line face by default.
--- orig/src/dispnew.c
+++ mod/src/dispnew.c
@@ -2724,7 +2724,7 @@
struct Lisp_Char_Table *dp = window_display_table (w);
right_border_glyph = (dp && INTEGERP (DISP_BORDER_GLYPH (dp))
? XINT (DISP_BORDER_GLYPH (dp))
- : '|');
+ : ('|' + (MODE_LINE_FACE_ID << FACE_ID_BITS)));
}
}
else
-Miles
--
Do not taunt Happy Fun Ball.
- Re: TTY Vertical divider face?, Juri Linkov, 2005/06/06
- Re: TTY Vertical divider face?,
Miles Bader <=
- Re: TTY Vertical divider face?, Juri Linkov, 2005/06/08
- Re: TTY Vertical divider face?, Richard Stallman, 2005/06/14
- Re: TTY Vertical divider face?, Juri Linkov, 2005/06/18
- Re: TTY Vertical divider face?, Richard Stallman, 2005/06/18
- Re: TTY Vertical divider face?, Miles Bader, 2005/06/20
- Re: TTY Vertical divider face?, Miles Bader, 2005/06/20
- Re: TTY Vertical divider face?, Miles Bader, 2005/06/20