summaryrefslogtreecommitdiffstats
path: root/macosx/tclMacOSXNotify.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-06-18 19:58:45 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-06-18 19:58:45 (GMT)
commit0ea82c2d43e73fef5481d22ae75c9f71975eb715 (patch)
treef7f3ce61553efb1eb9de900ca3c17efb92ee670e /macosx/tclMacOSXNotify.c
parentd7b8af55e7a45674c4feb7b912bf4c7ef214855e (diff)
parent7679c0513ced1ce6009d339d8e43afdc3f0ad87a (diff)
downloadtcl-0ea82c2d43e73fef5481d22ae75c9f71975eb715.zip
tcl-0ea82c2d43e73fef5481d22ae75c9f71975eb715.tar.gz
tcl-0ea82c2d43e73fef5481d22ae75c9f71975eb715.tar.bz2
merge novem
Diffstat (limited to 'macosx/tclMacOSXNotify.c')
-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;