From f4c5e6568e4dd9d57e28305e7d16d35bbe2a84f3 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Thu, 26 Jan 2017 18:12:43 +0000 Subject: [PATCH] Wayland: Commit shell surface creation This fixes any program using hidden windows, like tests/windows.c. --- src/wl_window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wl_window.c b/src/wl_window.c index be6ca912..f5269ab1 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -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; }