dwm's patch - alwayscenter.
This commit is contained in:
parent
473c189366
commit
446b408093
2 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue