summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXNotify.c
diff options
context:
space:
mode:
authormarc_culler <marc.culler@gmail.com>2020-07-13 14:54:33 (GMT)
committermarc_culler <marc.culler@gmail.com>2020-07-13 14:54:33 (GMT)
commit1711312fd78e09df1b5f8ee28abab5a0ca2c42c4 (patch)
treedbc0d3dc850aca4d4d4ad2aaf7fc1ea03fff0a84 /macosx/tkMacOSXNotify.c
parent5e62075ec23dc8688b0880787a8509deb0b3d7b1 (diff)
downloadtk-1711312fd78e09df1b5f8ee28abab5a0ca2c42c4.zip
tk-1711312fd78e09df1b5f8ee28abab5a0ca2c42c4.tar.gz
tk-1711312fd78e09df1b5f8ee28abab5a0ca2c42c4.tar.bz2
Do not process timer events in drawRect (Thanks to Nicolas Bats) and remove references to ServiceMode since Tcl_ServiceAll is not being called anymore.
Diffstat (limited to 'macosx/tkMacOSXNotify.c')
-rw-r--r--macosx/tkMacOSXNotify.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/macosx/tkMacOSXNotify.c b/macosx/tkMacOSXNotify.c
index 00db7d6..367f3b6 100644
--- a/macosx/tkMacOSXNotify.c
+++ b/macosx/tkMacOSXNotify.c
@@ -261,7 +261,6 @@ Tk_MacOSXSetupTkNotifier(void)
Tcl_CreateEventSource(TkMacOSXEventsSetupProc,
TkMacOSXEventsCheckProc, NULL);
TkCreateExitHandler(TkMacOSXNotifyExitHandler, NULL);
- Tcl_SetServiceMode(TCL_SERVICE_ALL);
TclMacOSXNotifierAddRunLoopMode(NSEventTrackingRunLoopMode);
TclMacOSXNotifierAddRunLoopMode(NSModalPanelRunLoopMode);
}