diff options
| author | Richard M. Stallman | 1996-06-10 17:32:13 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-06-10 17:32:13 +0000 |
| commit | 0cd6403b4bc20403394a8aab202ea485ead728c5 (patch) | |
| tree | 3ee987fb026aaf2d8d1a38d319095b852142e964 /src/xterm.c | |
| parent | 5efe98b7b6a5604456e523b1a573b94465537541 (diff) | |
| download | emacs-0cd6403b4bc20403394a8aab202ea485ead728c5.tar.gz emacs-0cd6403b4bc20403394a8aab202ea485ead728c5.zip | |
(XTread_socket): Use XtAppNextEvent when using toolkit configurations.
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index dd30016b435..9f7a2027379 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -3302,7 +3302,12 @@ XTread_socket (sd, bufp, numchars, waitp, expected) | |||
| 3302 | 3302 | ||
| 3303 | while (XPending (dpyinfo->display) != 0) | 3303 | while (XPending (dpyinfo->display) != 0) |
| 3304 | { | 3304 | { |
| 3305 | #ifdef USE_X_TOOLKIT | ||
| 3306 | /* needed to raise Motif submenus */ | ||
| 3307 | XtAppNextEvent (Xt_app_con, &event); | ||
| 3308 | #else | ||
| 3305 | XNextEvent (dpyinfo->display, &event); | 3309 | XNextEvent (dpyinfo->display, &event); |
| 3310 | #endif | ||
| 3306 | event_found = 1; | 3311 | event_found = 1; |
| 3307 | 3312 | ||
| 3308 | switch (event.type) | 3313 | switch (event.type) |