Mercurial > emacs
diff src/xterm.c @ 63879:bb26dfdf2698
(x_draw_vertical_window_border): Use foreground of
VERTICAL_BORDER_FACE_ID for vertical border line.
| author | Juri Linkov <juri@jurta.org> |
|---|---|
| date | Thu, 30 Jun 2005 14:56:48 +0000 |
| parents | e37d71ba7c6e |
| children | 577b0b13e4de |
line wrap: on
line diff
--- a/src/xterm.c Thu Jun 30 14:56:02 2005 +0000 +++ b/src/xterm.c Thu Jun 30 14:56:48 2005 +0000 @@ -535,6 +535,12 @@ 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);
