diff options
author | Kevin Walzer <kw@codebykevin.com> | 2016-07-19 23:48:19 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2016-07-19 23:48:19 (GMT) |
commit | 2aa945d6a8109c74d9ff3331fb99a093635e0cd7 (patch) | |
tree | f5e4ec814dbc029ad3acaed73b1944d047d0d834 /macosx | |
parent | 238b8d68c514e0bca1a97dea4d50a4badedf2111 (diff) | |
download | tk-2aa945d6a8109c74d9ff3331fb99a093635e0cd7.zip tk-2aa945d6a8109c74d9ff3331fb99a093635e0cd7.tar.gz tk-2aa945d6a8109c74d9ff3331fb99a093635e0cd7.tar.bz2 |
Final tweak for OS X wm crash, thanks to Marc Culler
Diffstat (limited to 'macosx')
-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]; } |