From Stephan Huber, "the computation of the windowtitlebar-height was wrong, attached you'll
find a fixed version for GraphicsWindowCarbon.cpp "
This commit is contained in:
@@ -731,7 +731,7 @@ bool GraphicsWindowCarbon::realizeImplementation()
|
||||
|
||||
Rect titleRect;
|
||||
GetWindowBounds(_window, kWindowTitleBarRgn, &titleRect);
|
||||
_windowTitleHeight = abs(titleRect.top);
|
||||
_windowTitleHeight = abs(titleRect.bottom - titleRect.top);
|
||||
|
||||
if ((_ownsWindow) || (windowData && windowData->installEventHandler()))
|
||||
installEventHandler();
|
||||
|
||||
Reference in New Issue
Block a user