diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-24 23:53:38 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-24 23:53:38 +0900 |
| commit | 4518c1defd9c4f168688b1fc0bac09a101c581cb (patch) | |
| tree | cc8d035fdfaac0b38b4a395490e890ffacbbbd83 /dwm/dwm.c | |
| parent | c3fccc77fb43e0562d661a0fc4c362797f59884f (diff) | |
modified dwm/config.def.h, modified dwm/dwm.c
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; |
