diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2007-12-31 02:58:59 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2007-12-31 02:58:59 +0300 |
commit | 8814476714ca3f6d7b327960c68e620482d707cb (patch) | |
tree | abb13a99e54c1106ccacc93fbc545f6694cb5434 | |
parent | 0f1e7db0b7ea39016313426b7259b1b35cd8ce47 (diff) |
* make sure decoration is there when toggling away from GHOST_kWindowStateFullScreen to GHOST_kWindowStateNormal (win32)
-rw-r--r-- | intern/ghost/intern/GHOST_WindowWin32.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |