# HG changeset patch # User Richard M. Stallman # Date 834427933 0 # Node ID 73d3ebc6aecd372ce8cc1eab246c9c60f15576ec # Parent 1beabd8b78a116dd6dae204e41489bffe3940765 (XTread_socket): Use XtAppNextEvent when using toolkit configurations. diff -r 1beabd8b78a1 -r 73d3ebc6aecd src/xterm.c --- a/src/xterm.c Mon Jun 10 17:31:25 1996 +0000 +++ b/src/xterm.c Mon Jun 10 17:32:13 1996 +0000 @@ -3302,7 +3302,12 @@ 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)