]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_set_foreground_color): Set the background of the
authorGerd Moellmann <gerd@gnu.org>
Thu, 1 Mar 2001 13:12:24 +0000 (13:12 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 1 Mar 2001 13:12:24 +0000 (13:12 +0000)
cursor GC.

src/ChangeLog
src/xfns.c

index e81747972e679a626aed836df0a852e83ada32f6..02bca63433f13d347daca26602f65c028a8dc767 100644 (file)
@@ -1,5 +1,8 @@
 2001-03-01  Gerd Moellmann  <gerd@gnu.org>
 
+       * xfns.c (x_set_foreground_color): Set the background of the
+       cursor GC.
+       
        * xfns.c (x_set_font): Handle case of x_new_fontset returning the
        same name as before, although there was a change in fontsets.
 
index 58a965d985f408fd35e208e9515bccf1c04763ad..1add97f6599099f6626f34793f7086204fab8e6a 100644 (file)
@@ -1350,6 +1350,8 @@ x_set_foreground_color (f, arg, oldval)
                      f->output_data.x->foreground_pixel);
       XSetBackground (FRAME_X_DISPLAY (f), f->output_data.x->reverse_gc,
                      f->output_data.x->foreground_pixel);
+      XSetBackground (FRAME_X_DISPLAY (f), f->output_data.x->cursor_gc,
+                     f->output_data.x->foreground_pixel);
       UNBLOCK_INPUT;
       update_face_from_frame_parameter (f, Qforeground_color, arg);
       if (FRAME_VISIBLE_P (f))