Commit 16b5d424 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(x_update_window_cursor): Don't update in frames

who are in the process of being deleted.
parent 5b620012
No preview for this file type
......@@ -10496,10 +10496,15 @@ x_update_window_cursor (w, on)
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;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment