summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2015-03-11 12:26:36 (GMT)
committerdgp <dgp@users.sourceforge.net>2015-03-11 12:26:36 (GMT)
commitb199b80ba8b71e64a5a1af76b4f994c1327e3ca8 (patch)
treee169f5cf0e891cef245d090392ac93cf7c27b152
parent8c7378b541bedd8db42bd51c39e93de342833280 (diff)
parent226278b0aca1beeca208f1d644781ffdbad82eed (diff)
downloadtcl-b199b80ba8b71e64a5a1af76b4f994c1327e3ca8.zip
tcl-b199b80ba8b71e64a5a1af76b4f994c1327e3ca8.tar.gz
tcl-b199b80ba8b71e64a5a1af76b4f994c1327e3ca8.tar.bz2
merge trunk
-rw-r--r--macosx/tclMacOSXNotify.c3
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;