X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=dwm.h;h=85c85a3870635cb72a940952a75225e41200737f;hb=6092aa977e9cc87bcf72713af8e7c698ddea4b56;hp=e749f2c0e9682c4dc3b2e28b2a3d5074c0ff16d5;hpb=6b25d06d7d159bf89d740847fedc876ab0137b6b;p=dwm.git diff --git a/dwm.h b/dwm.h index e749f2c..85c85a3 100644 --- a/dwm.h +++ b/dwm.h @@ -101,7 +101,7 @@ extern void (*handler[LASTEvent])(XEvent *); /* event handler */ extern void (*arrange)(Arg *); /* arrange function, indicates mode */ extern Atom wmatom[WMLast], netatom[NetLast]; extern Bool running, issel, *seltag; /* seltag is array of Bool */ -extern Client *clients, *sel, *stack; /* global cleint list and stack */ +extern Client *clients, *sel, *stack; /* global client list and stack */ extern Cursor cursor[CurLast]; extern DC dc; /* global draw context */ extern Display *dpy; @@ -109,6 +109,7 @@ extern Window root, barwin; /* client.c */ extern void ban(Client *c); /* ban c from screen */ +extern void configure(Client *c); /* send synthetic configure event */ extern void focus(Client *c); /* focus c, c may be NULL */ extern Client *getclient(Window w); /* return client of w */ extern Client *getctitle(Window w); /* return client of title window */ @@ -116,6 +117,7 @@ extern void gravitate(Client *c, Bool invert); /* gravitate c */ 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 updatetitle(Client *c); /* update the name of c */ extern void unmanage(Client *c); /* destroy c */