aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/dwm/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cmd/dwm/client.c')
-rw-r--r--sys/cmd/dwm/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/cmd/dwm/client.c b/sys/cmd/dwm/client.c
index 1401677..106082c 100644
--- a/sys/cmd/dwm/client.c
+++ b/sys/cmd/dwm/client.c
@@ -9,10 +9,11 @@ applyrules(Client *c)
Monitor *m;
XClassHint ch = { nil, nil };
- /* rule matching */
c->isfloating = 0;
c->tags = 0;
c->noswallow = -1;
+
+ /* rule matching */
XGetClassHint(dpy, c->win, &ch);
class = ch.res_class ? ch.res_class : broken;
instance = ch.res_name ? ch.res_name : broken;