summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvas.c
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2015-04-07 01:42:59 (GMT)
committerKevin Walzer <kw@codebykevin.com>2015-04-07 01:42:59 (GMT)
commit636fd90f373b012b35127dbc72fff5a69f6ff01e (patch)
treeb5bae340eed26502e2261af9d5f190b6893f1b2d /generic/tkCanvas.c
parentf0d31ec6c4e24a7b40b2aeed2ee9bdacea646a63 (diff)
downloadtk-636fd90f373b012b35127dbc72fff5a69f6ff01e.zip
tk-636fd90f373b012b35127dbc72fff5a69f6ff01e.tar.gz
tk-636fd90f373b012b35127dbc72fff5a69f6ff01e.tar.bz2
Backing out changes; unexpected issues with window resizing that require further investigation
Diffstat (limited to 'generic/tkCanvas.c')
-rw-r--r--generic/tkCanvas.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/generic/tkCanvas.c b/generic/tkCanvas.c
index 9c4d60a..8e14852 100644
--- a/generic/tkCanvas.c
+++ b/generic/tkCanvas.c
@@ -2447,19 +2447,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).