X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=client.c;h=a02dda5ff0c63ae598cc4680233c8fa0cd51da5d;hb=ebd17e4827ba4ad21b8f323765abef893316436b;hp=9f103c6b4923531d4e7e7533d62532ac3a2cc028;hpb=ded60365d4cb73d99febb76a2de820e7f93dc1fe;p=dwm.git diff --git a/client.c b/client.c index 9f103c6..a02dda5 100644 --- a/client.c +++ b/client.c @@ -156,7 +156,7 @@ manage(Window w, XWindowAttributes *wa) { c->w = c->tw = wa->width; c->h = wa->height; c->th = bh; - updatesize(c); + updatesizehints(c); if(c->x + c->w + 2 * BORDERPX > sw) c->x = sw - c->w - 2 * BORDERPX; if(c->x < sx) @@ -256,7 +256,7 @@ resizetitle(Client *c) { } void -updatesize(Client *c) { +updatesizehints(Client *c) { long msize; XSizeHints size;