Merge pull request #56 from aajonusonline/master

swallow patch: fix ignoring of noswallow in config
This commit is contained in:
Luke Smith
2020-05-05 11:40:49 -04:00
committed by GitHub

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);