dwm

Fork of suckless' dwm with my personal patches
git clone https://git.instinctive.eu/dwm.git
Log | Files | Refs | README | LICENSE

commit 9d2272c50e2596e19a1c6e014a44c860556847b4
parent 2e01cd046370956658afb191c7278e5238d0a667
Author: Natasha Kerensikova <natacha@instinctive.eu>
Date:   Sun, 21 May 2023 13:42:55 +0200

[patch] merged dwm-sendmoncenter-20210805-138b405f.diff

Diffstat:
Mdwm.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/dwm.c b/dwm.c @@ -1658,6 +1658,8 @@ sendmon(Client *c, Monitor *m) detachstack(c); c->mon = m; c->tags = m->tagset[m->seltags]; /* assign tags of target monitor */ + c->x = c->mon->mx + (c->mon->mw - WIDTH(c)) / 2; + c->y = c->mon->my + (c->mon->mh - HEIGHT(c)) / 2; attachbottom(c); attachstack(c); focus(NULL);