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_shell_surface_set_toplevel(window->wl.shellSurface);
} }
wl_surface_commit(window->wl.surface);
return GLFW_TRUE; return GLFW_TRUE;
} }