Mercurial > emacs
diff src/w32fns.c @ 109326:269057771f8c
Fix bug #6609.
w32fns.c (x_set_foreground_color): Fix setting the cursor color
when it's the same as the old foreground.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Wed, 14 Jul 2010 10:40:52 +0300 |
parents | fffdf1688ad0 |
children | 051595eb9b58 2cf388f16cae |
line wrap: on
line diff
--- a/src/w32fns.c Sat Jul 10 16:34:57 2010 -0700 +++ b/src/w32fns.c Wed Jul 14 10:40:52 2010 +0300 @@ -1353,7 +1353,10 @@ if (FRAME_W32_WINDOW (f) != 0) { if (x->cursor_pixel == old_fg) - x->cursor_pixel = fg; + { + x->cursor_pixel = fg; + x->cursor_gc->background = fg; + } update_face_from_frame_parameter (f, Qforeground_color, arg); if (FRAME_VISIBLE_P (f))