mirror of
https://github.com/glfw/glfw.git
synced 2025-10-03 13:20:58 +00:00
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:
parent
ec971959cc
commit
6ce60ae014
@ -1242,9 +1242,9 @@ void _glfwPlatformSetWindowMonitor(_GLFWwindow* window,
|
|||||||
int fullWidth, fullHeight;
|
int fullWidth, fullHeight;
|
||||||
getFullWindowSize(window, width, height, &fullWidth, &fullHeight);
|
getFullWindowSize(window, width, height, &fullWidth, &fullHeight);
|
||||||
|
|
||||||
SetWindowPos(window->win32.handle, HWND_TOPMOST,
|
SetWindowPos(window->win32.handle, HWND_NOTOPMOST,
|
||||||
0, 0, fullWidth, fullHeight,
|
0, 0, fullWidth, fullHeight,
|
||||||
SWP_NOMOVE | SWP_NOZORDER | SWP_FRAMECHANGED);
|
SWP_NOMOVE | SWP_FRAMECHANGED);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user