summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2015-02-02 14:21:08 (GMT)
committerKevin Walzer <kw@codebykevin.com>2015-02-02 14:21:08 (GMT)
commitfe0cd754c4dd4321b720ede30723f30c0e9aa3d5 (patch)
tree2470d4355f5b357af01f731b81dc301fbcecb201 /generic
parent0547516d16dcfe830857541e6be7c9316bfe8a61 (diff)
downloadtk-fe0cd754c4dd4321b720ede30723f30c0e9aa3d5.zip
tk-fe0cd754c4dd4321b720ede30723f30c0e9aa3d5.tar.gz
tk-fe0cd754c4dd4321b720ede30723f30c0e9aa3d5.tar.bz2
Remove Mac-specific idle handler in tkTextDisp.c that caused delay in text redraw during scrolling; no longer needed
Diffstat (limited to 'generic')
-rw-r--r--generic/tkTextDisp.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c
index 3c98178..b75a152 100644
--- a/generic/tkTextDisp.c
+++ b/generic/tkTextDisp.c
@@ -3997,15 +3997,6 @@ DisplayText(
UpdateDisplayInfo(textPtr);
dInfoPtr->dLinesInvalidated = 0;
-#ifdef MAC_OSX_TK
- /*
- * Make sure that unmapped subwindows really have been unmapped.
- * If the unmap request is pending as an idle request, the window
- * can get redrawn on top of the widget.
- */
- while (Tcl_DoOneEvent(TCL_IDLE_EVENTS|TCL_DONT_WAIT)) {}
-#endif
-
/*
* See if it's possible to bring some parts of the screen up-to-date by
* scrolling (copying from other parts of the screen). We have to be