diff options
| author | Juri Linkov | 2005-06-30 14:56:48 +0000 |
|---|---|---|
| committer | Juri Linkov | 2005-06-30 14:56:48 +0000 |
| commit | 7ecc34e9e6ef1d8ddf7a69664434732d49d40177 (patch) | |
| tree | 5bc07de39b7f4a9d6fae95b984118d16c706ef27 | |
| parent | 74fb229b2afe71c929eafa1d1b4ed4d3befe7f13 (diff) | |
| download | emacs-7ecc34e9e6ef1d8ddf7a69664434732d49d40177.tar.gz emacs-7ecc34e9e6ef1d8ddf7a69664434732d49d40177.zip | |
(x_draw_vertical_window_border): Use foreground of
VERTICAL_BORDER_FACE_ID for vertical border line.
| -rw-r--r-- | src/xterm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index 4ab555974db..cc76bae7dbf 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -535,6 +535,12 @@ x_draw_vertical_window_border (w, x, y0, y1) | |||
| 535 | int x, y0, y1; | 535 | int x, y0, y1; |
| 536 | { | 536 | { |
| 537 | struct frame *f = XFRAME (WINDOW_FRAME (w)); | 537 | struct frame *f = XFRAME (WINDOW_FRAME (w)); |
| 538 | struct face *face; | ||
| 539 | |||
| 540 | face = FACE_FROM_ID (f, VERTICAL_BORDER_FACE_ID); | ||
| 541 | if (face) | ||
| 542 | XSetForeground (FRAME_X_DISPLAY (f), f->output_data.x->normal_gc, | ||
| 543 | face->foreground); | ||
| 538 | 544 | ||
| 539 | XDrawLine (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), | 545 | XDrawLine (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), |
| 540 | f->output_data.x->normal_gc, x, y0, x, y1); | 546 | f->output_data.x->normal_gc, x, y0, x, y1); |