~ruther/dwl

7c3e12118fe10bcee56128d0f5b3eab0459a9823 — Rutherther 11 months ago 5b57d0a + 5d46ee2
Merge branch 'patch/alwaycenter' into v0.6-a/patched-base
1 files changed, 4 insertions(+), 2 deletions(-)

M dwl.c
M dwl.c => dwl.c +4 -2
@@ 579,8 579,10 @@ applyrules(Client *c)
			newtags = p->tags;
		}
	}
	c->geom.x = (mon->w.width - c->geom.width) / 2 + mon->m.x;
	c->geom.y = (mon->w.height - c->geom.height) / 2 + mon->m.y;
	if (mon) {
		c->geom.x = (mon->w.width - c->geom.width) / 2 + mon->m.x;
		c->geom.y = (mon->w.height - c->geom.height) / 2 + mon->m.y;
	}
	setmon(c, mon, newtags);
}


Do not follow this link