From 7b3de0eaf95386b61b252bf7a15533df90cc258f Mon Sep 17 00:00:00 2001
From: Jim Blandy <jimb@redhat.com>
Date: Fri, 30 Jul 1993 23:12:25 +0000
Subject: * xfns.c (x_set_background_color): Change the foreground color of the
 cursor, too.

---
 src/xfns.c | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/xfns.c')

diff --git a/src/xfns.c b/src/xfns.c
index c394e882f48..6b9a90f484b 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -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);
 
-- 
cgit v1.2.1