dwm

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

commit fc58957905975c1f2f5de3fb36f0a514f42a8879
parent 85fe518c1af5eb43f222f4d8579e4814ed769f3b
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 @@ -1068,6 +1068,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)