Mercurial > emacs
changeset 63912:12f374b6c866
(w32_draw_vertical_window_border): Use foreground of
VERTICAL_BORDER_FACE_ID for vertical border line.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 02 Jul 2005 09:53:02 +0000 |
parents | 954c9ade6e2b |
children | 98c6adf19936 |
files | src/w32term.c |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32term.c Sat Jul 02 09:40:42 2005 +0000 +++ b/src/w32term.c Sat Jul 02 09:53:02 2005 +0000 @@ -510,6 +510,7 @@ struct frame *f = XFRAME (WINDOW_FRAME (w)); RECT r; HDC hdc; + struct face *face; r.left = x; r.right = x + 1; @@ -517,7 +518,12 @@ r.bottom = y1; hdc = get_frame_dc (f); - w32_fill_rect (f, hdc, FRAME_FOREGROUND_PIXEL (f), &r); + face = FACE_FROM_ID (f, VERTICAL_BORDER_FACE_ID); + if (face) + w32_fill_rect (f, hdc, face->foreground, &r); + else + w32_fill_rect (f, hdc, FRAME_FOREGROUND_PIXEL (f), &r); + release_frame_dc (f, hdc); }