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;
break;
case NO_CURSOR:
+ w->phys_cursor_width = 0;
break;
default: