[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29075] trunk/blender/intern/ghost/intern/ GHOST_WindowWin32.cpp: Fixes: #22064 When the Windows task bar is placed on top of the screen, Blender " User Preferences" opens with the title bar underneath it

Nathan Letwory nathan at letworyinteractive.com
Sun May 30 15:51:00 CEST 2010


Revision: 29075
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29075
Author:   jesterking
Date:     2010-05-30 15:50:59 +0200 (Sun, 30 May 2010)

Log Message:
-----------
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

Modified Paths:
--------------
    trunk/blender/intern/ghost/intern/GHOST_WindowWin32.cpp

Modified: trunk/blender/intern/ghost/intern/GHOST_WindowWin32.cpp
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_WindowWin32.cpp	2010-05-30 09:16:50 UTC (rev 29074)
+++ trunk/blender/intern/ghost/intern/GHOST_WindowWin32.cpp	2010-05-30 13:50:59 UTC (rev 29075)
@@ -162,7 +162,7 @@
 			height = th;
 			top = rect.top;
 		}
-		else if(top > rect.top)
+		else if(top < rect.top)
 			top = rect.top;
 
 		m_hWnd = ::CreateWindow(





More information about the Bf-blender-cvs mailing list