Mercurial > emacs
changeset 72563:b35915fd7ce7
(get_window_cursor_type) [!HAVE_WINDOW_SYSTEM]:
Don't attempt to replace cursor on image glyphs.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Mon, 28 Aug 2006 12:03:22 +0000 |
parents | b82cda33a421 |
children | 976ef29e497e |
files | src/xdisp.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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; }