summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index 99eafd7..da10035 100644
--- a/dwl.c
+++ b/dwl.c
@@ -287,6 +287,8 @@ applyrules(Client *c)
if (!(title = c->xdg_surface->toplevel->title))
title = broken;
} else {
+ if (!(appid = c->xwayland_surface->class))
+ appid = broken;
if (!(title = c->xwayland_surface->title))
title = broken;
}