summaryrefslogtreecommitdiff
path: root/src/xfns.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-07-30 23:12:25 +0000
committerJim Blandy <jimb@redhat.com>1993-07-30 23:12:25 +0000
commit7b3de0eaf95386b61b252bf7a15533df90cc258f (patch)
treed7fed9bd15a39b258cd82014fb73b74efe2617cd /src/xfns.c
parentf5ff08b04f132e199426aa57b90db3c73da3d519 (diff)
downloademacs-7b3de0eaf95386b61b252bf7a15533df90cc258f.tar.gz
* xfns.c (x_set_background_color): Change the foreground color of
the cursor, too.
Diffstat (limited to 'src/xfns.c')
-rw-r--r--src/xfns.c2
1 files changed, 2 insertions, 0 deletions
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);