summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorkevin_walzer <kevin_walzer@noemail.net>2016-07-19 23:48:19 (GMT)
committerkevin_walzer <kevin_walzer@noemail.net>2016-07-19 23:48:19 (GMT)
commit6ddcf9ad5374d63e332d9cf75792b0eb445efd5e (patch)
treef5e4ec814dbc029ad3acaed73b1944d047d0d834 /macosx
parent0f55e10d93084339c9a9ea48fea8d3fe9ec35962 (diff)
downloadtk-6ddcf9ad5374d63e332d9cf75792b0eb445efd5e.zip
tk-6ddcf9ad5374d63e332d9cf75792b0eb445efd5e.tar.gz
tk-6ddcf9ad5374d63e332d9cf75792b0eb445efd5e.tar.bz2
Final tweak for OS X wm crash, thanks to Marc Culler
FossilOrigin-Name: 30856df36f2eaf82a42adb3968cbefe3c1c83653
Diffstat (limited to 'macosx')
-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];
}