aewl
diff dwm.h @ 454:ffb462fb7903
small change to comments, renamed two set* functions in client.c into update*
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Mon, 11 Sep 2006 10:00:56 +0200 |
parents | f30f937f9e52 |
children | d11d739ad9df |
line diff
1.1 --- a/dwm.h Mon Sep 11 08:58:58 2006 +0200 1.2 +++ b/dwm.h Mon Sep 11 10:00:56 2006 +0200 1.3 @@ -66,19 +66,19 @@ 1.4 extern char stext[1024]; /* status text */ 1.5 extern int bx, by, bw, bh, bmw; /* bar geometry, bar mode label width */ 1.6 extern int mw, screen, sx, sy, sw, sh; /* screen geometry, master width */ 1.7 -extern unsigned int ntags, numlockmask; /* number of tags, and dynamic lock mask */ 1.8 +extern unsigned int ntags, numlockmask; /* number of tags, dynamic lock mask */ 1.9 extern void (*handler[LASTEvent])(XEvent *); /* event handler */ 1.10 extern void (*arrange)(Arg *); /* arrange function, indicates mode */ 1.11 extern Atom wmatom[WMLast], netatom[NetLast]; 1.12 extern Bool running, issel, maximized, *seltag; /* seltag is array of Bool */ 1.13 -extern Client *clients, *sel, *stack; /* Client containers */ 1.14 +extern Client *clients, *sel, *stack; /* global cleint list and stack */ 1.15 extern Cursor cursor[CurLast]; 1.16 -extern DC dc; /* draw context for everything */ 1.17 +extern DC dc; /* global draw context */ 1.18 extern Display *dpy; 1.19 extern Window root, barwin; 1.20 1.21 /* client.c */ 1.22 -extern void ban(Client *c); /* ban client from screen */ 1.23 +extern void ban(Client *c); /* ban c from screen */ 1.24 extern void focus(Client *c); /* focus c, c may be NULL */ 1.25 extern Client *getclient(Window w); /* return client of w */ 1.26 extern Client *getctitle(Window w); /* return client of title window */ 1.27 @@ -86,8 +86,8 @@ 1.28 extern void killclient(Arg *arg); /* kill c nicely */ 1.29 extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ 1.30 extern void resize(Client *c, Bool sizehints, Corner sticky); /* resize c*/ 1.31 -extern void setsize(Client *c); /* set the size structs of c */ 1.32 -extern void settitle(Client *c); /* set the name of c */ 1.33 +extern void updatesize(Client *c); /* update the size structs of c */ 1.34 +extern void updatetitle(Client *c); /* update the name of c */ 1.35 extern void togglemax(Arg *arg); /* (un)maximize c */ 1.36 extern void unmanage(Client *c); /* destroy c */ 1.37 1.38 @@ -113,7 +113,7 @@ 1.39 extern void initrregs(); /* initialize regexps of rules defined in config.h */ 1.40 extern Client *getnext(Client *c); /* returns next visible client */ 1.41 extern Client *getprev(Client *c); /* returns previous visible client */ 1.42 -extern void settags(Client *c, Client *trans); /* updates tags of c */ 1.43 +extern void settags(Client *c, Client *trans); /* sets tags of c */ 1.44 extern void tag(Arg *arg); /* tags c accordingly to arg's index */ 1.45 extern void toggletag(Arg *arg); /* toggles c tags accordingly to arg's index */ 1.46 1.47 @@ -132,8 +132,8 @@ 1.48 extern Bool isvisible(Client *c); /* returns True if client is visible */ 1.49 extern void resizecol(Arg *arg); /* resizes the master width accordingly to arg's index value */ 1.50 extern void restack(); /* restores z layers of all clients */ 1.51 -extern void togglemode(Arg *arg); /* toggles global arrange mode (between dotile and dofloat) */ 1.52 -extern void toggleview(Arg *arg); /* makes the tag accordingly to arg's index (in)visible */ 1.53 -extern void view(Arg *arg); /* makes the tag accordingly to arg's index visible */ 1.54 -extern void viewall(Arg *arg); /* makes all tags visible, arg is ignored */ 1.55 +extern void togglemode(Arg *arg); /* toggles global arrange function (between dotile and dofloat) */ 1.56 +extern void toggleview(Arg *arg); /* toggles the tag accordingly to arg's index (in)visible */ 1.57 +extern void view(Arg *arg); /* views the tag accordingly to arg's index */ 1.58 +extern void viewall(Arg *arg); /* views all tags, arg is ignored */ 1.59 extern void zoom(Arg *arg); /* zooms the focused client to master column, arg is ignored */