mirror of
https://github.com/glfw/glfw.git
synced 2025-06-15 20:22:15 +00:00
wl: initialise fullscreen
This commit is contained in:
parent
753fb35c92
commit
ea18fc672e
@ -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