]> code.delx.au - gnu-emacs/commitdiff
(x_draw_vertical_window_border): Use foreground of
authorJuri Linkov <juri@jurta.org>
Thu, 30 Jun 2005 14:56:48 +0000 (14:56 +0000)
committerJuri Linkov <juri@jurta.org>
Thu, 30 Jun 2005 14:56:48 +0000 (14:56 +0000)
VERTICAL_BORDER_FACE_ID for vertical border line.

src/xterm.c

index 4ab555974db49b296fe14bcd8e430a88d7250abb..cc76bae7dbf91640edc17a439ed7937f7a5a1ff5 100644 (file)
@@ -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);