aboutsummaryrefslogtreecommitdiffstats
path: root/src/xdisp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 87fa20fc06..762b6937b7 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -21213,6 +21213,7 @@ get_window_cursor_type (w, glyph, width, active_cursor)
/* Use normal cursor if not blinked off. */
if (!w->cursor_off_p)
{
+#ifdef HAVE_WINDOW_SYSTEM
if (glyph != NULL && glyph->type == IMAGE_GLYPH)
{
if (cursor_type == FILLED_BOX_CURSOR)
@@ -21238,6 +21239,7 @@ get_window_cursor_type (w, glyph, width, active_cursor)
cursor_type = HOLLOW_BOX_CURSOR;
}
}
+#endif
return cursor_type;
}