Commit c49cbce2 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(x_set_cursor_color): Set cursor_foreground_pixel.

parent 67710a63
...@@ -647,6 +647,7 @@ x_set_cursor_color (f, arg, oldval) ...@@ -647,6 +647,7 @@ x_set_cursor_color (f, arg, oldval)
if (f->display.x->cursor_pixel == fore_pixel) if (f->display.x->cursor_pixel == fore_pixel)
fore_pixel = f->display.x->background_pixel; fore_pixel = f->display.x->background_pixel;
} }
f->display.x->cursor_foreground_pixel = fore_pixel;
if (FRAME_X_WINDOW (f) != 0) if (FRAME_X_WINDOW (f) != 0)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment