summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogelnew1@free.fr <fvogel>2015-12-07 21:29:13 (GMT)
committerfvogelnew1@free.fr <fvogel>2015-12-07 21:29:13 (GMT)
commit62321f1f566663b8a8f2a27173984bb529891f1e (patch)
tree87c0a11b306782054435d0d23d86a38ebb659165 /generic
parentca54cc198dff20204e787141fe7af5f8413bc505 (diff)
downloadtk-62321f1f566663b8a8f2a27173984bb529891f1e.zip
tk-62321f1f566663b8a8f2a27173984bb529891f1e.tar.gz
tk-62321f1f566663b8a8f2a27173984bb529891f1e.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;