Commit 1f60c16a authored by Eli Zaretskii's avatar Eli Zaretskii

Fix bug #6609.

 w32fns.c (x_set_foreground_color): Fix setting the cursor color
 when it's the same as the old foreground.
parent 3260caf8
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
......
......@@ -1353,7 +1353,10 @@ x_set_foreground_color (f, arg, oldval)
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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment