dwm

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

commit 38d78e563fd34ba15dad085f48651151a151e607
parent cfb8627a80a334f200f68c2c8f3e384313ebbaf5
Author: Natasha Kerensikova <natacha@instinctive.eu>
Date:   Sun, 21 May 2023 12:43:39 +0200

[patch] dwm-alwayscenter-20200625-f04cac6.diff

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

diff --git a/dwm.c b/dwm.c @@ -1067,6 +1067,8 @@ manage(Window w, XWindowAttributes *wa) updatewindowtype(c); updatesizehints(c); updatewmhints(c); + c->x = c->mon->mx + (c->mon->mw - WIDTH(c)) / 2; + c->y = c->mon->my + (c->mon->mh - HEIGHT(c)) / 2; XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask); grabbuttons(c, 0); if (!c->isfloating)