]> git.eshelyaron.com Git - emacs.git/commitdiff
* xfns.c (x_set_background_color): Change the foreground color of
authorJim Blandy <jimb@redhat.com>
Fri, 30 Jul 1993 23:12:25 +0000 (23:12 +0000)
committerJim Blandy <jimb@redhat.com>
Fri, 30 Jul 1993 23:12:25 +0000 (23:12 +0000)
the cursor, too.

src/xfns.c

index c394e882f4809ba1fb2bf98e13f9c734cbb905a9..6b9a90f484b206bb5ffbf9e1d207d6fc0bc61907 100644 (file)
@@ -554,6 +554,8 @@ x_set_background_color (f, arg, oldval)
                      f->display.x->background_pixel);
       XSetForeground (x_current_display, f->display.x->reverse_gc,
                      f->display.x->background_pixel);
+      XSetForeground (x_current_display, f->display.x->cursor_gc,
+                     f->display.x->background_pixel);
       XSetWindowBackground (x_current_display, FRAME_X_WINDOW (f),
                            f->display.x->background_pixel);