diff options
Diffstat (limited to 'dwm/dwm.c')
| -rw-r--r-- | dwm/dwm.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -548,9 +548,9 @@ applyrules(Client *c) for (i = 0; i < LENGTH(rules); i++) { r = &rules[i]; - if ((!r->title || strstr(c->name, r->title)) - && (!r->class || strstr(class, r->class)) - && (!r->instance || strstr(instance, r->instance))) + if ((!r->title || strcmp(c->name, r->title) == 0) + && (!r->class || strcmp(class, r->class) == 0) + && (!r->instance || strcmp(instance,r->instance) == 0)) { c->isterminal = r->isterminal; c->noswallow = r->noswallow; |
