# HG changeset patch # User Juri Linkov # Date 1120143408 0 # Node ID bb26dfdf2698127a6cac19aed779f86c74c166ad # Parent 675ea4d66e85cbe6d03b085bcb7c77d112f74d67 (x_draw_vertical_window_border): Use foreground of VERTICAL_BORDER_FACE_ID for vertical border line. diff -r 675ea4d66e85 -r bb26dfdf2698 src/xterm.c --- 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);