Fixed win32 issue with Fullscreen to Window retaining HWND_TOPMOST.

HWND_NOTOPMOST used to set as highest non top window, and removed SWP_NOZORDER to ensure the HWND_NOTOPMOST parameter is used.
This commit is contained in:
Doug Binks 2014-07-31 17:11:33 +01:00
parent ec971959cc
commit 6ce60ae014

View File

@ -1242,9 +1242,9 @@ void _glfwPlatformSetWindowMonitor(_GLFWwindow* window,
int fullWidth, fullHeight;
getFullWindowSize(window, width, height, &fullWidth, &fullHeight);
SetWindowPos(window->win32.handle, HWND_TOPMOST,
SetWindowPos(window->win32.handle, HWND_NOTOPMOST,
0, 0, fullWidth, fullHeight,
SWP_NOMOVE | SWP_NOZORDER | SWP_FRAMECHANGED);
SWP_NOMOVE | SWP_FRAMECHANGED);
}
}