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

(No dead lock, but a very long timeout in XtDispatchEvent ...)
- no more splash screen (fed up to click on it ;) )
This commit is contained in:
Ludovic Jacomme 2004-07-29 10:07:46 +00:00
parent d9bba5b698
commit 748a05efbf
4 changed files with 10 additions and 4 deletions

View File

@ -733,7 +733,7 @@ void CallbackExpose( MyWidget, ClientData, CallData )
XfsmDisplayCursor(); XfsmDisplayCursor();
} }
XfsmEnterPresentPanel(); /* XfsmEnterPresentPanel(); */
} }
else else
{ {

View File

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

View File

@ -765,7 +765,9 @@ void CallbackExpose( MyWidget, ClientData, CallData )
XpatDisplayCursor(); XpatDisplayCursor();
} }
/* LUDO: Fed up to Click On IT ...
XpatEnterPresentPanel(); XpatEnterPresentPanel();
*/
} }
else else
{ {

View File

@ -326,9 +326,11 @@ void XpatLimitedLoop( MyWidget )
case ButtonPress : case ButtonPress :
case ButtonRelease : case ButtonRelease :
if ( WShell == DialogShell ) if (WShell == DialogShell)
{ {
XtDispatchEvent( &Event ); XtDispatchEventToWidget(
XtWindowToWidget( AnyEvent->display, AnyEvent->window ),
&Event );
} }
break; break;