mirror of
https://github.com/glfw/glfw.git
synced 2025-06-15 12:12:16 +00:00
wl: initialise fullscreen
This commit is contained in:
parent
96ad19143d
commit
69f6e358e2
@ -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