[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28053] trunk/blender/intern/ghost/intern/ GHOST_WindowWin32.cpp: Fix #20365: new render window does not respect Windows taskbar at top of screen.
Brecht Van Lommel
brecht at blender.org
Tue Apr 6 19:11:39 CEST 2010
Revision: 28053
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28053
Author: blendix
Date: 2010-04-06 19:11:38 +0200 (Tue, 06 Apr 2010)
Log Message:
-----------
Fix #20365: new render window does not respect Windows taskbar at top of screen.
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-04-06 16:53:48 UTC (rev 28052)
+++ trunk/blender/intern/ghost/intern/GHOST_WindowWin32.cpp 2010-04-06 17:11:38 UTC (rev 28053)
@@ -158,11 +158,16 @@
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
More information about the Bf-blender-cvs
mailing list