mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-24 07:45:21 +00:00
Reverse the effects of http://lists.x.org/archives/xorg-devel/2011-March/019981.html ,
which cause PDCurses to hang (although it's not yet clear why). Until I have something better...
This commit is contained in:
12
x11/x11.c
12
x11/x11.c
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "pdcx11.h"
|
||||
|
||||
RCSID("$Id: x11.c,v 1.95 2011/04/20 22:13:34 wmcbrine Exp $")
|
||||
RCSID("$Id: x11.c,v 1.96 2012/11/26 08:22:50 wmcbrine Exp $")
|
||||
|
||||
#ifdef HAVE_DECKEYSYM_H
|
||||
# include <DECkeysym.h>
|
||||
@@ -3236,7 +3236,15 @@ int XCursesSetupX(int argc, char *argv[])
|
||||
#endif
|
||||
|
||||
/* Wait for events */
|
||||
{
|
||||
XEvent event;
|
||||
|
||||
for (;;) /* forever */
|
||||
{
|
||||
XtAppNextEvent(app_context, &event);
|
||||
XtDispatchEvent(&event);
|
||||
}
|
||||
}
|
||||
|
||||
XtAppMainLoop(app_context);
|
||||
return OK; /* won't get here */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user