diff options
author | marc_culler <marc.culler@gmail.com> | 2020-07-13 14:54:33 (GMT) |
---|---|---|
committer | marc_culler <marc.culler@gmail.com> | 2020-07-13 14:54:33 (GMT) |
commit | 1711312fd78e09df1b5f8ee28abab5a0ca2c42c4 (patch) | |
tree | dbc0d3dc850aca4d4d4ad2aaf7fc1ea03fff0a84 /macosx/tkMacOSXNotify.c | |
parent | 5e62075ec23dc8688b0880787a8509deb0b3d7b1 (diff) | |
download | tk-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.c | 1 |
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); } |