Fix #20365: new render window does not respect Windows taskbar at top of screen.

This commit is contained in:
Brecht Van Lommel 2010-04-06 17:11:38 +00:00
parent be6d0ca63b
commit 2a1644401e

@ -158,11 +158,16 @@ GHOST_WindowWin32::GHOST_WindowWin32(
width = tw;
left = rect.left;
}
else if(left < rect.left)
left = rect.left;
if(th < height)
{
height = th;
top = rect.top;
}
else if(top > rect.top)
top = rect.top;
m_hWnd = ::CreateWindow(
s_windowClassName, // pointer to registered class name