mirror of
https://github.com/glfw/glfw.git
synced 2025-10-03 05:11:01 +00:00
wl: initialise fullscreen
This commit is contained in:
parent
25f0f3a8d7
commit
ea13c508c4
@ -826,6 +826,9 @@ int _glfwPlatformCreateWindow(_GLFWwindow* window,
|
||||
window->wl.visible = GLFW_FALSE;
|
||||
}
|
||||
|
||||
if (window->monitor)
|
||||
setFullscreen(window, window->monitor, window->videoMode.refreshRate);
|
||||
|
||||
window->wl.currentCursor = NULL;
|
||||
|
||||
window->wl.monitors = calloc(1, sizeof(_GLFWmonitor*));
|
||||
|
Loading…
Reference in New Issue
Block a user