diff --git a/src/wl_init.c b/src/wl_init.c index 9e692f0e..d5c6f74f 100644 --- a/src/wl_init.c +++ b/src/wl_init.c @@ -783,7 +783,7 @@ static void registryHandleGlobal(void* data, { if (strcmp(interface, "wl_compositor") == 0) { - _glfw.wl.compositorVersion = min(3, version); + _glfw.wl.compositorVersion = min(4, version); _glfw.wl.compositor = wl_registry_bind(registry, name, &wl_compositor_interface, _glfw.wl.compositorVersion);