(x_set_foreground_color): Set the background of the

cursor GC.
This commit is contained in:
Gerd Moellmann 2001-03-01 13:12:24 +00:00
parent 57c5889c08
commit 420f628cf9
2 changed files with 5 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2001-03-01 Gerd Moellmann <gerd@gnu.org>
* 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.

View file

@ -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))