diff --git a/.gitignore b/.gitignore index 0334ee4..f83d079 100644 --- a/.gitignore +++ b/.gitignore @@ -57,3 +57,4 @@ dkms.conf .opencode/ .omo/ objects/ +.logs/ diff --git a/src/client.c b/src/client.c index 488722b..cf906eb 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->class ? c->surface.xwayland->class : "broken"; + return c->surface.xwayland->cls ? c->surface.xwayland->cls : "broken"; #endif return c->surface.xdg->toplevel->app_id ? c->surface.xdg->toplevel->app_id : "broken"; }