Fix borderless fullscreen always on top
Don't pass a monitor to glfwSetWindowMonitor(). This avoids setting the flag which keeps the window always on top.
This commit is contained in:
parent
ea76845ecb
commit
0f8c40a206
|
|
@ -287,7 +287,7 @@ void ToggleBorderlessWindowed(void)
|
||||||
CORE.Window.screen.height = mode->height;
|
CORE.Window.screen.height = mode->height;
|
||||||
|
|
||||||
// Set screen position and size
|
// Set screen position and size
|
||||||
glfwSetWindowMonitor(platform.handle, monitors[monitor], CORE.Window.position.x, CORE.Window.position.y,
|
glfwSetWindowMonitor(platform.handle, NULL, CORE.Window.position.x, CORE.Window.position.y,
|
||||||
CORE.Window.screen.width, CORE.Window.screen.height, mode->refreshRate);
|
CORE.Window.screen.width, CORE.Window.screen.height, mode->refreshRate);
|
||||||
|
|
||||||
// Refocus window
|
// Refocus window
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user