summaryrefslogtreecommitdiffstats
path: root/generic/tkTextDisp.c
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2015-02-02 14:27:33 (GMT)
committerKevin Walzer <kw@codebykevin.com>2015-02-02 14:27:33 (GMT)
commit56daa6f350d0dd70d45cef1ebab6d3aee0f040a9 (patch)
treeea566c499d06331803f78d5ea182500901697fea /generic/tkTextDisp.c
parent054fce84bed6d3fdec204368ff00c2ec87b65191 (diff)
downloadtk-56daa6f350d0dd70d45cef1ebab6d3aee0f040a9.zip
tk-56daa6f350d0dd70d45cef1ebab6d3aee0f040a9.tar.gz
tk-56daa6f350d0dd70d45cef1ebab6d3aee0f040a9.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/tkTextDisp.c')
-rw-r--r--generic/tkTextDisp.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c
index ac0b95a..548e47e 100644
--- a/generic/tkTextDisp.c
+++ b/generic/tkTextDisp.c
@@ -3986,16 +3986,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