From 0b3a02b63096fa42f12e85d4677e94f172f690ea Mon Sep 17 00:00:00 2001 From: huntedbytheirs Date: Sat, 8 Aug 2026 15:31:20 -0400 Subject: [PATCH] fix(client): use wlr_xwayland_surface.class instead of cls wlroots 0.20 renamed the WM_CLASS field from cls to class, which broke compilation of client_get_appid(). --- src/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.c b/src/client.c index cf906eb..488722b 100644 --- a/src/client.c +++ b/src/client.c @@ -147,7 +147,7 @@ client_get_appid(Client *c) { #ifdef XWAYLAND if (client_is_x11(c)) - return c->surface.xwayland->cls ? c->surface.xwayland->cls : "broken"; + return c->surface.xwayland->class ? c->surface.xwayland->class : "broken"; #endif return c->surface.xdg->toplevel->app_id ? c->surface.xdg->toplevel->app_id : "broken"; }