diff options
author | culler <culler> | 2020-06-06 18:53:04 (GMT) |
---|---|---|
committer | culler <culler> | 2020-06-06 18:53:04 (GMT) |
commit | bcf017e94b644b427d704da23be4bbe164978fff (patch) | |
tree | 01f8e6bf3332571a7339dead697d4ecfdb4197a1 /macosx/tkMacOSXNotify.c | |
parent | f31664f2a7c475db0fcb646accf6f58d78407da8 (diff) | |
download | tk-bcf017e94b644b427d704da23be4bbe164978fff.zip tk-bcf017e94b644b427d704da23be4bbe164978fff.tar.gz tk-bcf017e94b644b427d704da23be4bbe164978fff.tar.bz2 |
A different attempt to make sure new windows are completely drawn.
Diffstat (limited to 'macosx/tkMacOSXNotify.c')
-rw-r--r-- | macosx/tkMacOSXNotify.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/macosx/tkMacOSXNotify.c b/macosx/tkMacOSXNotify.c index daa1321..3433e56 100644 --- a/macosx/tkMacOSXNotify.c +++ b/macosx/tkMacOSXNotify.c @@ -457,6 +457,9 @@ TkMacOSXEventsSetupProc( */ ticker = Tcl_CreateTimerHandler(TICK, Heartbeat, NULL); + Tcl_CancelIdleCall(TkMacOSXDrawAllViews, NULL); + Tcl_DoWhenIdle(TkMacOSXDrawAllViews, NULL); + while (Tcl_DoOneEvent(TCL_IDLE_EVENTS)) {} } } } |