aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann <[email protected]>2001-03-01 13:12:24 +0000
committerGerd Moellmann <[email protected]>2001-03-01 13:12:24 +0000
commit420f628cf9b7d56a1073f4a02408bd869b37d946 (patch)
tree14526c7d72560709301cd9e53d06b5b6f909b6e6
parent57c5889c08773e37867433e36b9c5adcced0442d (diff)
(x_set_foreground_color): Set the background of the
cursor GC.
-rw-r--r--src/ChangeLog3
-rw-r--r--src/xfns.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e81747972e..02bca63433 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
2001-03-01 Gerd Moellmann <[email protected]>
+ * 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.
diff --git a/src/xfns.c b/src/xfns.c
index 58a965d985..1add97f659 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))