# HG changeset patch # User arg@mig29 # Date 1167675031 -3600 # Node ID 226ef912c093f748f3045471d37c343e32aa1cc1 # Parent 276238ad9516727eea90d70600491d70de91c5f9 renamed updatesize into updatesizehints (thx to Sander for this hint) diff -r 276238ad9516 -r 226ef912c093 client.c --- a/client.c Wed Dec 20 12:07:05 2006 +0100 +++ b/client.c Mon Jan 01 19:10:31 2007 +0100 @@ -156,7 +156,7 @@ 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 @@ } void -updatesize(Client *c) { +updatesizehints(Client *c) { long msize; XSizeHints size; diff -r 276238ad9516 -r 226ef912c093 dwm.h --- a/dwm.h Wed Dec 20 12:07:05 2006 +0100 +++ b/dwm.h Mon Jan 01 19:10:31 2007 +0100 @@ -117,7 +117,7 @@ extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ extern void resize(Client *c, Bool sizehints, Corner sticky); /* resize c*/ extern void resizetitle(Client *c); /* resizes c->twin correctly */ -extern void updatesize(Client *c); /* update the size structs of c */ +extern void updatesizehints(Client *c); /* update the size struct of c */ extern void updatetitle(Client *c); /* update the name of c */ extern void unmanage(Client *c); /* destroy c */ diff -r 276238ad9516 -r 226ef912c093 event.c --- a/event.c Wed Dec 20 12:07:05 2006 +0100 +++ b/event.c Mon Jan 01 19:10:31 2007 +0100 @@ -314,7 +314,7 @@ arrange(); break; case XA_WM_NORMAL_HINTS: - updatesize(c); + updatesizehints(c); break; } if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {