Mercurial > emacs
diff src/xterm.c @ 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 | 48da4ed089e9 |
| children | b1f35db748d8 |
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) {
