# HG changeset patch # User Gerd Moellmann # Date 1019667783 0 # Node ID 06d704d7ed94a9d926a626f4ccc2f62beac0cad2 # Parent 927a6a3e6c8fa789f8c6240cf75868da7a043295 (x_display_and_set_cursor): Set phys_cursor_width to 0 for NO_CURSOR. diff -r 927a6a3e6c8f -r 06d704d7ed94 src/xterm.c --- a/src/xterm.c Wed Apr 24 16:57:19 2002 +0000 +++ b/src/xterm.c Wed Apr 24 17:03:03 2002 +0000 @@ -11248,7 +11248,9 @@ Likewise if part of the cursor is below y1, with the exception of the cursor being in the first blank row at the buffer and window end because update_text_area - doesn't draw that row. */ + doesn't draw that row. (Except when it does, but + that's handled in update_text_area.) */ + if (((y0 >= cy0 && y0 < cy1) || (y1 > cy0 && y1 < cy1)) && w->current_matrix->rows[w->phys_cursor.vpos].displays_text_p) w->phys_cursor_on_p = 0; @@ -11767,6 +11769,7 @@ break; case NO_CURSOR: + w->phys_cursor_width = 0; break; default: