+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
{
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