From 8814476714ca3f6d7b327960c68e620482d707cb Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Sun, 30 Dec 2007 23:58:59 +0000 Subject: * make sure decoration is there when toggling away from GHOST_kWindowStateFullScreen to GHOST_kWindowStateNormal (win32) --- intern/ghost/intern/GHOST_WindowWin32.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'intern/ghost') diff --git a/intern/ghost/intern/GHOST_WindowWin32.cpp b/intern/ghost/intern/GHOST_WindowWin32.cpp index 81a6c89a433..7447fa9912e 100644 --- a/intern/ghost/intern/GHOST_WindowWin32.cpp +++ b/intern/ghost/intern/GHOST_WindowWin32.cpp @@ -427,6 +427,7 @@ GHOST_TSuccess GHOST_WindowWin32::setState(GHOST_TWindowState state) 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; -- cgit v1.2.3