diff options
author | dgp <dgp@users.sourceforge.net> | 2015-03-11 20:55:33 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2015-03-11 20:55:33 (GMT) |
commit | 69bfc4c38935f220daa883b0e438682572ef9545 (patch) | |
tree | 3dce52a889b9f99bedca52423d6ba6f6def65371 /macosx | |
parent | 4e920d39a0053adbc57377b1ca355691bbb6ae19 (diff) | |
parent | 494ee9b1a9bc5ccb9d9bf33014707084ba299c3e (diff) | |
download | tcl-69bfc4c38935f220daa883b0e438682572ef9545.zip tcl-69bfc4c38935f220daa883b0e438682572ef9545.tar.gz tcl-69bfc4c38935f220daa883b0e438682572ef9545.tar.bz2 |
merge trunk
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tclMacOSXNotify.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/tclMacOSXNotify.c b/macosx/tclMacOSXNotify.c index ef80192..9b7bd1a 100644 --- a/macosx/tclMacOSXNotify.c +++ b/macosx/tclMacOSXNotify.c @@ -1412,7 +1412,8 @@ UpdateWaitingListAndServiceEvents( (tsdPtr->runLoopNestingLevel > 1 || !tsdPtr->runLoopRunning)) { tsdPtr->runLoopServicingEvents = 1; - while (Tcl_ServiceAll() && tsdPtr->waitTime == 0) {} + /* This call seems to simply force event processing through and prevents hangups that have long been observed with Tk-Cocoa. */ + Tcl_ServiceAll(); tsdPtr->runLoopServicingEvents = 0; } break; |