summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-12-07 21:29:13 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-12-07 21:29:13 (GMT)
commitc1c79b52233b43b276d2b2933dade1563b16f0c5 (patch)
tree87c0a11b306782054435d0d23d86a38ebb659165 /generic
parent20e5273f5b6208576bf9bc900e4cff39d724cb7f (diff)
downloadtk-c1c79b52233b43b276d2b2933dade1563b16f0c5.zip
tk-c1c79b52233b43b276d2b2933dade1563b16f0c5.tar.gz
tk-c1c79b52233b43b276d2b2933dade1563b16f0c5.tar.bz2
Reverted [d29847c6] since there is a better patch
Diffstat (limited to 'generic')
-rw-r--r--generic/tkTextDisp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c
index 0665ba7..cfe6e7a 100644
--- a/generic/tkTextDisp.c
+++ b/generic/tkTextDisp.c
@@ -2923,8 +2923,7 @@ AsyncUpdateLineMetrics(
return;
}
- if ((dInfoPtr->flags & REDRAW_PENDING) || !Tk_IsMapped(textPtr->tkwin)
- || dInfoPtr->maxX <= dInfoPtr->x || dInfoPtr->maxY <= dInfoPtr->y) {
+ if (dInfoPtr->flags & REDRAW_PENDING) {
dInfoPtr->lineUpdateTimer = Tcl_CreateTimerHandler(1,
AsyncUpdateLineMetrics, clientData);
return;