mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-08 12:40:49 -08:00
(XTread_socket): Use XtAppNextEvent when using toolkit configurations.
This commit is contained in:
parent
5efe98b7b6
commit
0cd6403b4b
1 changed files with 5 additions and 0 deletions
|
|
@ -3302,7 +3302,12 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
|
|||
|
||||
while (XPending (dpyinfo->display) != 0)
|
||||
{
|
||||
#ifdef USE_X_TOOLKIT
|
||||
/* needed to raise Motif submenus */
|
||||
XtAppNextEvent (Xt_app_con, &event);
|
||||
#else
|
||||
XNextEvent (dpyinfo->display, &event);
|
||||
#endif
|
||||
event_found = 1;
|
||||
|
||||
switch (event.type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue