diff options
author | kevin_walzer <kevin_walzer@noemail.net> | 2016-07-19 23:48:56 (GMT) |
---|---|---|
committer | kevin_walzer <kevin_walzer@noemail.net> | 2016-07-19 23:48:56 (GMT) |
commit | baaadb7b9ae22cdf0be7af3d11503b44ddc96977 (patch) | |
tree | 974d330562a4568efaddab5434f30ebbf4a5a414 | |
parent | 35556153c27146b726af5caa114e21b409e87007 (diff) | |
download | tk-baaadb7b9ae22cdf0be7af3d11503b44ddc96977.zip tk-baaadb7b9ae22cdf0be7af3d11503b44ddc96977.tar.gz tk-baaadb7b9ae22cdf0be7af3d11503b44ddc96977.tar.bz2 |
Final tweak for OS X wm crash, thanks to Marc Culler
FossilOrigin-Name: 901412f1b3c2e2b176a6fa2d27994c6cd03707e8
-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]; } |