1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-12 09:28:24 +00:00

* xterm.c (x_uncatch_errors): Block input for entire function.

This commit is contained in:
Chong Yidong 2006-03-14 15:38:43 +00:00
parent 37d2ef66f7
commit 8a34117e23
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2006-03-14 Chong Yidong <cyd@stupidchicken.com>
* xterm.c (x_uncatch_errors): Block input for entire function.
2006-03-12 Jason Rumney <jasonr@gnu.org>
* w32fns.c (Fx_create_frame): Remove call to

View File

@ -7533,18 +7533,17 @@ x_uncatch_errors ()
{
struct x_error_message_stack *tmp;
BLOCK_INPUT;
/* The display may have been closed before this function is called.
Check if it is still open before calling XSync. */
if (x_display_info_for_display (x_error_message->dpy) != 0)
{
BLOCK_INPUT;
XSync (x_error_message->dpy, False);
UNBLOCK_INPUT;
}
XSync (x_error_message->dpy, False);
tmp = x_error_message;
x_error_message = x_error_message->prev;
xfree (tmp);
UNBLOCK_INPUT;
}
/* If any X protocol errors have arrived since the last call to