emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/xterm.c


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/src/xterm.c
Date: Tue, 14 Mar 2006 15:38:44 +0000

Index: emacs/src/xterm.c
diff -u emacs/src/xterm.c:1.902 emacs/src/xterm.c:1.903
--- emacs/src/xterm.c:1.902     Sat Mar 11 15:20:09 2006
+++ emacs/src/xterm.c   Tue Mar 14 15:38:43 2006
@@ -7533,18 +7533,17 @@
 {
   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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]