applied yiyus applyrules() patch
fef46147
1 file(s) · +1 −1
| 270 | 270 | && (!r->class || (ch.res_class && strstr(ch.res_class, r->class))) |
|
| 271 | 271 | && (!r->instance || (ch.res_name && strstr(ch.res_name, r->instance)))) { |
|
| 272 | 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 | 276 | if(ch.res_class) |