diff options
author | Kevin Walzer <kw@codebykevin.com> | 2016-07-19 23:48:56 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2016-07-19 23:48:56 (GMT) |
commit | a15e1aaed639996ee47d9dcabc8faee9d03fdc2d (patch) | |
tree | 974d330562a4568efaddab5434f30ebbf4a5a414 | |
parent | ab02e2e1a2936771e3de8bbd3e4fa9c6b84296a4 (diff) | |
download | tk-a15e1aaed639996ee47d9dcabc8faee9d03fdc2d.zip tk-a15e1aaed639996ee47d9dcabc8faee9d03fdc2d.tar.gz tk-a15e1aaed639996ee47d9dcabc8faee9d03fdc2d.tar.bz2 |
Final tweak for OS X wm crash, thanks to Marc Culler
-rw-r--r-- | macosx/tkMacOSXSubwindows.c | 2 |
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]; } |