summaryrefslogtreecommitdiff
path: root/src/xfns.c
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-03-01 13:12:24 +0000
committerGerd Moellmann <gerd@gnu.org>2001-03-01 13:12:24 +0000
commit420f628cf9b7d56a1073f4a02408bd869b37d946 (patch)
tree14526c7d72560709301cd9e53d06b5b6f909b6e6 /src/xfns.c
parent57c5889c08773e37867433e36b9c5adcced0442d (diff)
downloademacs-420f628cf9b7d56a1073f4a02408bd869b37d946.tar.gz
(x_set_foreground_color): Set the background of the
cursor GC.
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 58a965d985f..1add97f6599 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -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))