diff options
| author | Ambrose <me@librelife.org> | 2026-02-15 23:06:17 -0500 |
|---|---|---|
| committer | Ambrose <me@librelife.org> | 2026-02-15 23:06:17 -0500 |
| commit | 27ba8308eed9acde225a91f854c06d7df38b7a39 (patch) | |
| tree | edff4ed703c4f4879572072cc1d979c054f590e7 /dwm.c | |
| parent | 3baf6ee476773cc2cc2795e28b859f69900dde40 (diff) | |
Patched in alwayscenter
Diffstat (limited to 'dwm.c')
| -rw-r--r-- | dwm.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1232,6 +1232,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) |