diff options
Diffstat (limited to 'dwm.c')
| -rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -270,7 +270,7 @@ applyrules(Client *c) { | |||
| 270 | && (!r->class || (ch.res_class && strstr(ch.res_class, r->class))) | 270 | && (!r->class || (ch.res_class && strstr(ch.res_class, r->class))) |
| 271 | && (!r->instance || (ch.res_name && strstr(ch.res_name, r->instance)))) { | 271 | && (!r->instance || (ch.res_name && strstr(ch.res_name, r->instance)))) { |
| 272 | c->isfloating = r->isfloating; | 272 | c->isfloating = r->isfloating; |
| 273 | c->tags |= r->tags & TAGMASK; | 273 | c->tags |= r->tags & TAGMASK ? r->tags & TAGMASK : tagset[seltags]; |
| 274 | } | 274 | } |
| 275 | } | 275 | } |
| 276 | if(ch.res_class) | 276 | if(ch.res_class) |
