aboutsummaryrefslogtreecommitdiff
path: root/libXt/src/Event.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXt/src/Event.c')
-rw-r--r--libXt/src/Event.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libXt/src/Event.c b/libXt/src/Event.c
index 7be598787..11823d6e2 100644
--- a/libXt/src/Event.c
+++ b/libXt/src/Event.c
@@ -1549,15 +1549,9 @@ void XtMainLoop(void)
void XtAppMainLoop(
XtAppContext app)
{
- XEvent event;
-
LOCK_APP(app);
do {
- XtAppNextEvent(app, &event);
-#ifdef XTHREADS
- /* assert(app == XtDisplayToApplicationContext(event.xany.display)); */
-#endif
- XtDispatchEvent(&event);
+ XtAppProcessEvent(app, XtIMAll);
} while(app->exit_flag == FALSE);
UNLOCK_APP(app);
}