fix(client): use wlr_xwayland_surface.class instead of cls
CI Build Test / build-test (push) Canceled after 0s

wlroots 0.20 renamed the WM_CLASS field from cls to class, which
broke compilation of client_get_appid().
This commit is contained in:
2026-08-08 15:31:20 -04:00
parent cbaf5a7756
commit 0b3a02b630
+1 -1
View File
@@ -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";
}