diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-05-30 17:50:59 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-05-30 17:50:59 +0400 |
commit | e2585355c39ffcd63065a9c5d83ee12eadefdad8 (patch) | |
tree | 21c3ecdfd383967fab1f15f1b2fd198a1779af68 | |
parent | 84d3856498e9011f2e2bb1ead55fb60d3318d2e0 (diff) |
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
-rw-r--r-- | intern/ghost/intern/GHOST_WindowWin32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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( |