X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=dwm.h;h=2816a964e2b83bf2f69e21ecd567749a1763b6de;hb=d7ec23a5db32eb00ee90e60bef35010639498cab;hp=773736df8fd03948ed90849268efd306ed0fe767;hpb=629647dfee4251fc4856b70658dff35cf5634057;p=dwm.git diff --git a/dwm.h b/dwm.h index 773736d..2816a96 100644 --- a/dwm.h +++ b/dwm.h @@ -1,4 +1,4 @@ -/* (C)opyright MMVI Anselm R. Garbe +/* (C)opyright MMVI-MMVII Anselm R. Garbe * See LICENSE file for license details. * * dynamic window manager is designed like any other X client as well. It is @@ -80,7 +80,6 @@ struct Client { int rx, ry, rw, rh; /* revert geometry */ int tx, ty, tw, th; /* title window geometry */ int basew, baseh, incw, inch, maxw, maxh, minw, minh; - int grav; long flags; unsigned int border; Bool isfloat, isfixed, ismax; @@ -118,14 +117,14 @@ extern void killclient(Arg *arg); /* kill c nicely */ 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 hint variables of c */ extern void updatetitle(Client *c); /* update the name of c */ extern void unmanage(Client *c); /* destroy c */ /* draw.c */ extern void drawall(void); /* draw all visible client titles and the bar */ extern void drawstatus(void); /* draw the bar */ -extern void drawtitle(Client *c); /* draw title of c */ +extern void drawclient(Client *c); /* draw title and set border of c */ extern unsigned long getcolor(const char *colstr); /* return color of colstr */ extern void setfont(const char *fontstr); /* set the font for DC */ extern unsigned int textw(const char *text); /* return the width of text in px*/