dwm

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

commit 2bf98a071f3661b7c6cf20c808fe0d7b4115dc21
parent 020d0fa9bc354d8be1662c9caa7b6265100cf0bb
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);