mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 09:08:58 +00:00
Add wl_subcompositor support
This commit is contained in:
committed by
linkmauve
parent
79e16baca3
commit
552e40a4be
@@ -527,6 +527,11 @@ static void registryHandleGlobal(void* data,
|
||||
wl_registry_bind(registry, name, &wl_compositor_interface,
|
||||
_glfw.wl.compositorVersion);
|
||||
}
|
||||
else if (strcmp(interface, "wl_subcompositor") == 0)
|
||||
{
|
||||
_glfw.wl.subcompositor =
|
||||
wl_registry_bind(registry, name, &wl_subcompositor_interface, 1);
|
||||
}
|
||||
else if (strcmp(interface, "wl_shm") == 0)
|
||||
{
|
||||
_glfw.wl.shm =
|
||||
|
||||
Reference in New Issue
Block a user