who are in the process of being deleted.
+2000-03-17 Gerd Moellmann <gerd@gnu.org>
+
+ * xterm.c (x_update_window_cursor): Don't update in frames
+ who are in the process of being deleted.
+
2000-03-16 Gerd Moellmann <gerd@gnu.org>
* Makefile.in (mostlyclean): Add `*.core'.
struct window *w;
int on;
{
- BLOCK_INPUT;
- x_display_and_set_cursor (w, on, w->phys_cursor.hpos, w->phys_cursor.vpos,
- w->phys_cursor.x, w->phys_cursor.y);
- UNBLOCK_INPUT;
+ /* Don't update cursor in windows whose frame is in the process
+ of being deleted. */
+ if (w->current_matrix)
+ {
+ BLOCK_INPUT;
+ x_display_and_set_cursor (w, on, w->phys_cursor.hpos, w->phys_cursor.vpos,
+ w->phys_cursor.x, w->phys_cursor.y);
+ UNBLOCK_INPUT;
+ }
}