Mercurial > emacs
comparison src/xterm.c @ 28183:7d97c6fbc3d9
(x_update_window_cursor): Don't update in frames
who are in the process of being deleted.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 17 Mar 2000 21:12:02 +0000 |
parents | 156c32f18198 |
children | 076ed36c3101 |
comparison
equal
deleted
inserted
replaced
28182:cf4e7d561883 | 28183:7d97c6fbc3d9 |
---|---|
10494 static void | 10494 static void |
10495 x_update_window_cursor (w, on) | 10495 x_update_window_cursor (w, on) |
10496 struct window *w; | 10496 struct window *w; |
10497 int on; | 10497 int on; |
10498 { | 10498 { |
10499 BLOCK_INPUT; | 10499 /* Don't update cursor in windows whose frame is in the process |
10500 x_display_and_set_cursor (w, on, w->phys_cursor.hpos, w->phys_cursor.vpos, | 10500 of being deleted. */ |
10501 w->phys_cursor.x, w->phys_cursor.y); | 10501 if (w->current_matrix) |
10502 UNBLOCK_INPUT; | 10502 { |
10503 BLOCK_INPUT; | |
10504 x_display_and_set_cursor (w, on, w->phys_cursor.hpos, w->phys_cursor.vpos, | |
10505 w->phys_cursor.x, w->phys_cursor.y); | |
10506 UNBLOCK_INPUT; | |
10507 } | |
10503 } | 10508 } |
10504 | 10509 |
10505 | 10510 |
10506 | 10511 |
10507 | 10512 |