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:
parent
37d2ef66f7
commit
8a34117e23
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user