summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2016-07-19 23:48:56 (GMT)
committerKevin Walzer <kw@codebykevin.com>2016-07-19 23:48:56 (GMT)
commita168173ed805afdf8b1728bb42e458c3eab0d657 (patch)
tree974d330562a4568efaddab5434f30ebbf4a5a414
parenta1bcb78f2e11789ff103e374d19e042dd69c1f77 (diff)
downloadtk-a168173ed805afdf8b1728bb42e458c3eab0d657.zip
tk-a168173ed805afdf8b1728bb42e458c3eab0d657.tar.gz
tk-a168173ed805afdf8b1728bb42e458c3eab0d657.tar.bz2
Final tweak for OS X wm crash, thanks to Marc Culler
-rw-r--r--macosx/tkMacOSXSubwindows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXSubwindows.c b/macosx/tkMacOSXSubwindows.c
index d9e1d63..9851474 100644
--- a/macosx/tkMacOSXSubwindows.c
+++ b/macosx/tkMacOSXSubwindows.c
@@ -368,7 +368,7 @@ XMoveResizeWindow(
CGFloat XOff = (CGFloat)macWin->winPtr->wmInfoPtr->xInParent;
CGFloat YOff = (CGFloat)macWin->winPtr->wmInfoPtr->yInParent;
NSRect r = NSMakeRect(X + XOff,
- tkMacOSXZeroScreenHeight - Y - YOff,
+ tkMacOSXZeroScreenHeight - Y - YOff - Height,
Width, Height);
[w setFrame:[w frameRectForContentRect:r] display:YES];
}