mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 13:04:35 +00:00
Wayland: Commit shell surface creation
This fixes any program using hidden windows, like tests/windows.c.
This commit is contained in:
parent
865bf67b1a
commit
f4c5e6568e
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user