aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-02-02 23:47:57 +0000
committerRichard M. Stallman1994-02-02 23:47:57 +0000
commit502add23f1e6d396208ff04042f1c533cb152538 (patch)
tree68421f294ee179a3a46e8f3b6c6918ad55255b19 /src
parent8023777cb1a5308172f1461950194e9f8afc63a9 (diff)
downloademacs-502add23f1e6d396208ff04042f1c533cb152538.tar.gz
emacs-502add23f1e6d396208ff04042f1c533cb152538.zip
(XTread_socket): Add X_IO_BUG conditional.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 7f0419e6f61..4fef2abc72e 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -3618,6 +3618,13 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
3618 } 3618 }
3619 } 3619 }
3620 3620
3621#ifdef X_IO_BUG
3622 if (! event_found)
3623 /* On some systems, an X bug causes Emacs to get no more events
3624 when the window is destroyed. Detect that. */
3625 XNoOp (x_current_display);
3626#endif /* X_IO_BUG */
3627
3621#ifdef HAVE_SELECT 3628#ifdef HAVE_SELECT
3622 if (expected && ! event_found) 3629 if (expected && ! event_found)
3623 { 3630 {