Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
5752:412ac1a01f46 | 5753:eb44ecad5557 |
---|---|
3616 #endif /* USE_X_TOOLKIT */ | 3616 #endif /* USE_X_TOOLKIT */ |
3617 break; | 3617 break; |
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 { |
3624 /* AOJ 880406: if select returns true but XPending doesn't, it means that | 3631 /* AOJ 880406: if select returns true but XPending doesn't, it means that |
3625 there is an EOF condition; in other words, that X has died. | 3632 there is an EOF condition; in other words, that X has died. |