From 3fc6e79a3edad7256fe815de57c4c8c89b847fc9 Mon Sep 17 00:00:00 2001 From: April & May & June Date: Thu, 15 Jan 2026 06:49:18 +0800 Subject: [PATCH] fix: fix treeland-protocols name This should work as intended --- src/daemon/TreelandConnector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon/TreelandConnector.cpp b/src/daemon/TreelandConnector.cpp index 8428c23..b68ef43 100644 --- a/src/daemon/TreelandConnector.cpp +++ b/src/daemon/TreelandConnector.cpp @@ -173,7 +173,7 @@ const struct treeland_ddm_v1_listener treelandDDMListener { // wayland object binding void registerGlobal(void *data, struct wl_registry *registry, uint32_t name, const char *interface, uint32_t version) { - if (strcmp(interface, "treeland_ddm") == 0) { + if (strcmp(interface, "treeland_ddm_v1") == 0) { auto connector = static_cast(data); auto ddm = static_cast( wl_registry_bind(registry, name, &treeland_ddm_v1_interface, version)