summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-05-16 22:35:23 +0000
committerRichard M. Stallman <rms@gnu.org>1993-05-16 22:35:23 +0000
commit8d12175ab547f83df6fd6bb2a2110932a827071c (patch)
treeb33e4de933664810f13791b56aa5e9c9418cbd86
parentd7cb6d7e2ab812a7218c965b445093ca849d4b01 (diff)
downloademacs-8d12175ab547f83df6fd6bb2a2110932a827071c.tar.gz
(x_set_cursor_color): Set cursor_foreground_pixel.
-rw-r--r--src/xfns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 0ace204ec66..9b9ecab6f3c 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)
{