Prevent GLFW fullscreen from always being on top

This commit is contained in:
Austin W Smith 2026-05-14 02:30:29 -07:00 committed by GitHub
parent 43366d1c6a
commit eb10d4e9d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1901,7 +1901,7 @@ void _glfwSetWindowMonitorWin32(_GLFWwindow* window,
acquireMonitorWin32(window);
GetMonitorInfoW(window->monitor->win32.handle, &mi);
SetWindowPos(window->win32.handle, HWND_TOPMOST,
SetWindowPos(window->win32.handle, HWND_TOP,
mi.rcMonitor.left,
mi.rcMonitor.top,
mi.rcMonitor.right - mi.rcMonitor.left,