dwm

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

commit 3f6f1fbbb18c422fe27cccc981b41b3457192c11
parent 061e9fe9a7db396c0c4f3d996c3908fb43a6d50c
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)