aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/xfns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 0ace204ec6..9b9ecab6f3 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -647,6 +647,7 @@ x_set_cursor_color (f, arg, oldval)
if (f->display.x->cursor_pixel == fore_pixel)
fore_pixel = f->display.x->background_pixel;
}
+ f->display.x->cursor_foreground_pixel = fore_pixel;
if (FRAME_X_WINDOW (f) != 0)
{