# HG changeset patch # User Kim F. Storm # Date 1156766602 0 # Node ID b35915fd7ce73205e1336f83ef1864b6700b32d7 # Parent b82cda33a421089def4ef99ddf929b88d2d9300e (get_window_cursor_type) [!HAVE_WINDOW_SYSTEM]: Don't attempt to replace cursor on image glyphs. diff -r b82cda33a421 -r b35915fd7ce7 src/xdisp.c --- a/src/xdisp.c Mon Aug 28 12:03:03 2006 +0000 +++ b/src/xdisp.c Mon Aug 28 12:03:22 2006 +0000 @@ -21213,6 +21213,7 @@ /* 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 @@ cursor_type = HOLLOW_BOX_CURSOR; } } +#endif return cursor_type; }