[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13069] branches/blender2.5/blender/intern /ghost/intern/GHOST_WindowWin32.cpp: * make sure decoration is there when toggling away from GHOST_kWindowStateFullScreen to GHOST_kWindowStateNormal (win32)

Nathan Letwory jesterking at letwory.net
Mon Dec 31 00:58:59 CET 2007


Revision: 13069
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=13069
Author:   jesterking
Date:     2007-12-31 00:58:59 +0100 (Mon, 31 Dec 2007)

Log Message:
-----------
* make sure decoration is there when toggling away from GHOST_kWindowStateFullScreen to GHOST_kWindowStateNormal (win32)

Modified Paths:
--------------
    branches/blender2.5/blender/intern/ghost/intern/GHOST_WindowWin32.cpp

Modified: branches/blender2.5/blender/intern/ghost/intern/GHOST_WindowWin32.cpp
===================================================================
--- branches/blender2.5/blender/intern/ghost/intern/GHOST_WindowWin32.cpp	2007-12-30 23:34:23 UTC (rev 13068)
+++ branches/blender2.5/blender/intern/ghost/intern/GHOST_WindowWin32.cpp	2007-12-30 23:58:59 UTC (rev 13069)
@@ -427,6 +427,7 @@
 	case GHOST_kWindowStateNormal: 
 	default: 
 		wp.showCmd = SW_SHOWNORMAL; 
+		SetWindowLongPtr(m_hWnd, GWL_STYLE, WS_OVERLAPPEDWINDOW);
 		break;
 	}
 	return ::SetWindowPlacement(m_hWnd, &wp) == TRUE ? GHOST_kSuccess : GHOST_kFailure;





More information about the Bf-blender-cvs mailing list