- bug fix: under cygwin Dialog box button: freeze !

(No dead lock, but a very long timeout in XtDispatchEvent ...)
This commit is contained in:
Ludovic Jacomme 2004-07-29 09:16:01 +00:00
parent 54e4179671
commit c064f904d1
2 changed files with 5 additions and 1 deletions

View File

@ -888,7 +888,9 @@ void CallbackExpose( MyWidget, ClientData, CallData )
DrealRefreshGraphicWindow( 0, 0, DrealGraphicDx, DrealGraphicDy );
DrealDisplayCursor();
/* LUDO: Fed up to Click On IT ...
DrealEnterPresentPanel();
*/
}
else
{

View File

@ -325,7 +325,9 @@ void DrealLimitedLoop( MyWidget )
if (WShell == DialogShell)
{
XtDispatchEvent( &Event );
XtDispatchEventToWidget(
XtWindowToWidget( AnyEvent->display, AnyEvent->window ),
&Event );
}
break;