From 69f6e358e266581ec21d3e602c626d54abb06b39 Mon Sep 17 00:00:00 2001 From: Christian Rauch Date: Sat, 9 May 2020 21:06:23 +0100 Subject: [PATCH] wl: initialise fullscreen --- src/wl_window.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wl_window.c b/src/wl_window.c index 3899c858..46cd742c 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -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*));