(x_draw_vertical_window_border): Use foreground of
VERTICAL_BORDER_FACE_ID for vertical border line.
This commit is contained in:
parent
74fb229b2a
commit
7ecc34e9e6
1 changed files with 6 additions and 0 deletions
|
@ -535,6 +535,12 @@ x_draw_vertical_window_border (w, x, y0, y1)
|
|||
int x, y0, y1;
|
||||
{
|
||||
struct frame *f = XFRAME (WINDOW_FRAME (w));
|
||||
struct face *face;
|
||||
|
||||
face = FACE_FROM_ID (f, VERTICAL_BORDER_FACE_ID);
|
||||
if (face)
|
||||
XSetForeground (FRAME_X_DISPLAY (f), f->output_data.x->normal_gc,
|
||||
face->foreground);
|
||||
|
||||
XDrawLine (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
|
||||
f->output_data.x->normal_gc, x, y0, x, y1);
|
||||
|
|
Loading…
Add table
Reference in a new issue