mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-24 10:38:38 +00:00
(x_set_foreground_color): Set frame's cursor_pixel.
This commit is contained in:
parent
c00394a3a3
commit
36d42089e3
@ -1358,8 +1358,13 @@ 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);
|
||||
unload_color (f, f->output_data.x->cursor_pixel);
|
||||
f->output_data.x->cursor_pixel
|
||||
= x_copy_color (f, f->output_data.x->foreground_pixel);
|
||||
|
||||
UNBLOCK_INPUT;
|
||||
update_face_from_frame_parameter (f, Qforeground_color, arg);
|
||||
if (FRAME_VISIBLE_P (f))
|
||||
@ -1387,6 +1392,7 @@ x_set_background_color (f, arg, oldval)
|
||||
f->output_data.x->background_pixel);
|
||||
XSetForeground (FRAME_X_DISPLAY (f), f->output_data.x->cursor_gc,
|
||||
f->output_data.x->background_pixel);
|
||||
|
||||
XSetWindowBackground (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
|
||||
f->output_data.x->background_pixel);
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user