diff --git a/src/wl_window.c b/src/wl_window.c index 09b120a9..c73a2cf9 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -760,6 +760,14 @@ static GLFWbool createSurface(_GLFWwindow* window, if (!window->wl.transparent) setOpaqueRegion(window); + if (wndconfig->visible) + { + if (!createXdgSurface(window)) + return GLFW_FALSE; + + window->wl.visible = GLFW_TRUE; + } + return GLFW_TRUE; }