pull/1/head
Anselm R Garbe 16 years ago
parent 26f41c9055
commit addc52c948
  1. 4
      dwm.c

@ -250,8 +250,7 @@ applyrules(Client *c) {
XClassHint ch = { 0 };
/* rule matching */
if(XGetClassHint(dpy, c->win, &ch) == 0)
return;
if(XGetClassHint(dpy, c->win, &ch)) {
for(i = 0; i < LENGTH(rules); i++) {
r = &rules[i];
if((!r->title || strstr(c->name, r->title))
@ -265,6 +264,7 @@ applyrules(Client *c) {
XFree(ch.res_class);
if(ch.res_name)
XFree(ch.res_name);
}
if(!c->tags)
c->tags = tagset[seltags];
}

Loading…
Cancel
Save