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
commit f342b099a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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