Wayland: Fix GLFW_VISIBLE affecting full screen

Full screen window creation was not ignoring the GLFW_VISIBLE hint.
This commit is contained in:
Camilla Löwy
2021-12-28 15:33:58 +01:00
parent 8aaea57421
commit 715b874db3
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -644,7 +644,7 @@ static GLFWbool createSurface(_GLFWwindow* window,
if (!window->wl.transparent)
setOpaqueRegion(window);
if (wndconfig->visible)
if (window->monitor || wndconfig->visible)
{
if (!createXdgSurface(window))
return GLFW_FALSE;