Kaydet (Commit) 69f086cb authored tarafından Jack Jansen's avatar Jack Jansen

Apparently the code to forestall Tk eating events was too aggressive (Tk user…

Apparently the code to forestall Tk eating events was too aggressive (Tk user input stopped working). Fixed (I hope:-).
üst 53b809d6
......@@ -94,9 +94,11 @@ TkIsTheBoss(void)
WindowRef windowRef;
windowRef = FrontWindow();
if ( windowRef && !TkMacGetXWindow(windowRef) ) {
if ( !windowRef )
return 0;
if ( TkMacGetXWindow(windowRef) )
return 1;
return 0;
}
}
/*
*----------------------------------------------------------------------
......@@ -347,8 +349,6 @@ Tcl_WaitForEvent(
found = 1;
}
if ( !TkIsTheBoss() )
found = 1;
/*
* Check for window events. We may receive a NULL event for
* various reasons. 1) the timer has expired, 2) a mouse moved
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment