w32fns.c (x_set_foreground_color): Fix setting the cursor color
when it's the same as the old foreground.
+2010-07-14 Eli Zaretskii <eliz@gnu.org>
+
+ * w32fns.c (x_set_foreground_color): Fix setting the cursor color
+ when it's the same as the old foreground. (Bug#6609)
+
2010-07-10 Chong Yidong <cyd@stupidchicken.com>
* xfaces.c (realize_face): Garbage the frame if a face is removed
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))