changeset 36448:e27c08c33d55

(x_set_foreground_color): Set the background of the cursor GC.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 01 Mar 2001 13:11:58 +0000
parents 924d76b7ad8e
children 76e6a6858e55
files src/xfns.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Thu Mar 01 12:57:24 2001 +0000
+++ b/src/xfns.c	Thu Mar 01 13:11:58 2001 +0000
@@ -1350,6 +1350,8 @@
 		      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))