diff src/w32fns.c @ 109445:051595eb9b58

Merge changes from emacs-23 branch.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 16 Jul 2010 11:42:15 -0400
parents 60516122d066 269057771f8c
children 2dbdaf17fcfa
line wrap: on
line diff
--- a/src/w32fns.c	Fri Jul 16 14:09:55 2010 +0200
+++ b/src/w32fns.c	Fri Jul 16 11:42:15 2010 -0400
@@ -1333,7 +1333,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))