Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2010-05-30 17:50:59 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2010-05-30 17:50:59 +0400
commite2585355c39ffcd63065a9c5d83ee12eadefdad8 (patch)
tree21c3ecdfd383967fab1f15f1b2fd198a1779af68
parent84d3856498e9011f2e2bb1ead55fb60d3318d2e0 (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.cpp2
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(