diff --git a/src/win32_window.c b/src/win32_window.c index 20965e093..a797bdd48 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -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); } }