dwm's patch - alwayscenter.
This commit is contained in:
parent
473c189366
commit
446b408093
@ -13,6 +13,7 @@ These patches from suckless.org were applied from the newest versions, in order:
|
||||
1. `dwm-vanitygaps-6.2.diff (version providing multiple new layouts)`
|
||||
1. `dwm-swallow-20201211-61bb8b2.diff`
|
||||
1. `dwm-scratchpads-20200414-728d397b.diff`
|
||||
1. `dwm-alwayscenter-20200625-f04cac6.diff`
|
||||
|
||||
**note**: lot of manual work was involved, these won't apply easily on top of the others.
|
||||
|
||||
|
@ -1391,6 +1391,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;
|
||||
{
|
||||
int format;
|
||||
unsigned long *data, n, extra;
|
||||
|
Loading…
Reference in New Issue
Block a user