This commit is contained in:
Eduardo Bart 2012-10-23 17:32:04 -02:00
parent 7114946278
commit a6424f3022
1 changed files with 1 additions and 1 deletions

View File

@ -847,7 +847,7 @@ void WIN32Window::setFullscreen(bool fullscreen)
} else {
SetWindowLong(m_window, GWL_STYLE, (dwStyle & ~(WS_POPUP | WS_EX_TOPMOST)) | WS_OVERLAPPEDWINDOW);
SetWindowPlacement(m_window, &wpPrev);
SetWindowPos(m_window, NULL, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_NOOWNERZORDER | SWP_FRAMECHANGED);
SetWindowPos(m_window, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_FRAMECHANGED);
}
}