swallow patch: fix ignoring of noswallow in config

This commit is contained in:
Aajonus Online 2020-05-05 18:03:31 +03:00
parent 01231194cc
commit c4f45fafac

1
dwm.c
View file

@ -359,6 +359,7 @@ applyrules(Client *c)
{ {
c->isterminal = r->isterminal; c->isterminal = r->isterminal;
c->isfloating = r->isfloating; c->isfloating = r->isfloating;
c->noswallow = r->noswallow;
c->tags |= r->tags; c->tags |= r->tags;
if ((r->tags & SPTAGMASK) && r->isfloating) { if ((r->tags & SPTAGMASK) && r->isfloating) {
c->x = c->mon->wx + (c->mon->ww / 2 - WIDTH(c) / 2); c->x = c->mon->wx + (c->mon->ww / 2 - WIDTH(c) / 2);