diff options
author | dgp <dgp@users.sourceforge.net> | 2015-03-11 12:26:36 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2015-03-11 12:26:36 (GMT) |
commit | b199b80ba8b71e64a5a1af76b4f994c1327e3ca8 (patch) | |
tree | e169f5cf0e891cef245d090392ac93cf7c27b152 | |
parent | 8c7378b541bedd8db42bd51c39e93de342833280 (diff) | |
parent | 226278b0aca1beeca208f1d644781ffdbad82eed (diff) | |
download | tcl-b199b80ba8b71e64a5a1af76b4f994c1327e3ca8.zip tcl-b199b80ba8b71e64a5a1af76b4f994c1327e3ca8.tar.gz tcl-b199b80ba8b71e64a5a1af76b4f994c1327e3ca8.tar.bz2 |
merge trunk
-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; |