wl: initialise fullscreen

This commit is contained in:
Christian Rauch 2020-05-09 21:06:23 +01:00
parent 96ad19143d
commit 69f6e358e2

View File

@ -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*));