changeset 5753:eb44ecad5557

(XTread_socket): Add X_IO_BUG conditional.
author Richard M. Stallman <rms@gnu.org>
date Wed, 02 Feb 1994 23:47:57 +0000
parents 412ac1a01f46
children 1864e9a12261
files src/xterm.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Wed Feb 02 23:45:08 1994 +0000
+++ b/src/xterm.c	Wed Feb 02 23:47:57 1994 +0000
@@ -3618,6 +3618,13 @@
 	}
     }
 
+#ifdef X_IO_BUG
+  if (! event_found)
+    /* On some systems, an X bug causes Emacs to get no more events
+       when the window is destroyed.  Detect that.  */
+    XNoOp (x_current_display);
+#endif /* X_IO_BUG */
+
 #ifdef HAVE_SELECT
   if (expected && ! event_found)
     {