1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-10-08 07:07:25 -04:00

Wayland: Commit shell surface creation

This fixes any program using hidden windows, like tests/windows.c.
This commit is contained in:
Emmanuel Gil Peyrot 2017-01-26 18:12:43 +00:00
parent 865bf67b1a
commit f4c5e6568e

View File

@ -249,6 +249,8 @@ static GLFWbool createShellSurface(_GLFWwindow* window)
wl_shell_surface_set_toplevel(window->wl.shellSurface);
}
wl_surface_commit(window->wl.surface);
return GLFW_TRUE;
}