- bug fix: under cygwin Dialog box button: freeze !
(No dead lock, but a very long timeout in XtDispatchEvent ...)
This commit is contained in:
parent
54e4179671
commit
c064f904d1
|
@ -888,7 +888,9 @@ void CallbackExpose( MyWidget, ClientData, CallData )
|
|||
DrealRefreshGraphicWindow( 0, 0, DrealGraphicDx, DrealGraphicDy );
|
||||
DrealDisplayCursor();
|
||||
|
||||
/* LUDO: Fed up to Click On IT ...
|
||||
DrealEnterPresentPanel();
|
||||
*/
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -325,7 +325,9 @@ void DrealLimitedLoop( MyWidget )
|
|||
|
||||
if (WShell == DialogShell)
|
||||
{
|
||||
XtDispatchEvent( &Event );
|
||||
XtDispatchEventToWidget(
|
||||
XtWindowToWidget( AnyEvent->display, AnyEvent->window ),
|
||||
&Event );
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue