From e2585355c39ffcd63065a9c5d83ee12eadefdad8 Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Sun, 30 May 2010 13:50:59 +0000 Subject: [PATCH] Fixes: #22064 When the Windows task bar is placed on top of the screen, Blender "User Preferences" opens with the title bar underneath it I applied the patch provided by Charlie Shen in the comments of the bug report --- intern/ghost/intern/GHOST_WindowWin32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intern/ghost/intern/GHOST_WindowWin32.cpp b/intern/ghost/intern/GHOST_WindowWin32.cpp index 19c3e061159..1da64850198 100644 --- a/intern/ghost/intern/GHOST_WindowWin32.cpp +++ b/intern/ghost/intern/GHOST_WindowWin32.cpp @@ -162,7 +162,7 @@ GHOST_WindowWin32::GHOST_WindowWin32( height = th; top = rect.top; } - else if(top > rect.top) + else if(top < rect.top) top = rect.top; m_hWnd = ::CreateWindow(