summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXSubwindows.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-07-28 13:00:01 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-07-28 13:00:01 (GMT)
commit2379def90ccf62cffcb5419ab4feb419f4fc3938 (patch)
treeb12b43c7595482a0994c84b40f0f1efdf83a0ed1 /macosx/tkMacOSXSubwindows.c
parentb78fe49e600428bb09c38ab7801ab0a85dc9d544 (diff)
parentc5695e766b9c40219e9280af36c65998d30e6eb7 (diff)
downloadtk-2379def90ccf62cffcb5419ab4feb419f4fc3938.zip
tk-2379def90ccf62cffcb5419ab4feb419f4fc3938.tar.gz
tk-2379def90ccf62cffcb5419ab4feb419f4fc3938.tar.bz2
merge 8.5
Diffstat (limited to 'macosx/tkMacOSXSubwindows.c')
-rw-r--r--macosx/tkMacOSXSubwindows.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/macosx/tkMacOSXSubwindows.c b/macosx/tkMacOSXSubwindows.c
index 915dea1..a08c56e 100644
--- a/macosx/tkMacOSXSubwindows.c
+++ b/macosx/tkMacOSXSubwindows.c
@@ -741,14 +741,6 @@ TkMacOSXUpdateClipRgn(
} else if (winPtr->wmInfoPtr->attributes &
kWindowResizableAttribute) {
NSWindow *w = TkMacOSXDrawableWindow(winPtr->window);
-
- if (w) {
- bounds = NSRectToCGRect([w _growBoxRect]);
- bounds.origin.y = [w contentRectForFrameRect:
- [w frame]].size.height - bounds.size.height -
- bounds.origin.y;
- ChkErr(TkMacOSHIShapeDifferenceWithRect, rgn, &bounds);
- }
}
macWin->aboveVisRgn = HIShapeCreateCopy(rgn);