summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2015-04-07 01:48:05 (GMT)
committerKevin Walzer <kw@codebykevin.com>2015-04-07 01:48:05 (GMT)
commit972aef9886605e58852dc1fc14bbc5ae512d7234 (patch)
tree9c5e986cb0175dc65c46b26148a53ed770cf9fc5
parent18ab1d9d87a8a527609d199410a02c95224d223f (diff)
downloadtk-972aef9886605e58852dc1fc14bbc5ae512d7234.zip
tk-972aef9886605e58852dc1fc14bbc5ae512d7234.tar.gz
tk-972aef9886605e58852dc1fc14bbc5ae512d7234.tar.bz2
Backing out changes; unexpected issues with window resizing that require further investigation
-rw-r--r--generic/tkCanvas.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/generic/tkCanvas.c b/generic/tkCanvas.c
index 8ebe9ba..14fe1ab 100644
--- a/generic/tkCanvas.c
+++ b/generic/tkCanvas.c
@@ -2101,19 +2101,6 @@ DisplayCanvas(
goto done;
}
-#ifdef MAC_OSX_TK
- /*
- * If drawing is disabled, all we need to do is
- * clear the REDRAW_PENDING flag.
- */
- TkWindow *winPtr = (TkWindow *)(canvasPtr->tkwin);
- MacDrawable *macWin = winPtr->privatePtr;
- if (macWin && (macWin->flags & TK_DO_NOT_DRAW)){
- canvasPtr->flags &= ~REDRAW_PENDING;
- return;
- }
-#endif
-
/*
* Choose a new current item if that is needed (this could cause event
* handlers to be invoked).