dwm-meillo
diff dwm.h @ 456:d11d739ad9df
some other simplifications
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Mon, 11 Sep 2006 17:31:21 +0200 |
parents | ffb462fb7903 |
children | e97ad13f04dc |
line diff
1.1 --- a/dwm.h Mon Sep 11 11:28:28 2006 +0200 1.2 +++ b/dwm.h Mon Sep 11 17:31:21 2006 +0200 1.3 @@ -97,7 +97,7 @@ 1.4 extern void drawtitle(Client *c); /* draw title of c */ 1.5 extern unsigned long getcolor(const char *colstr); /* return color of colstr */ 1.6 extern void setfont(const char *fontstr); /* set the font for DC */ 1.7 -extern unsigned int textw(const char *text); /* return the text width of text */ 1.8 +extern unsigned int textw(const char *text); /* return the width of text in px*/ 1.9 1.10 /* event.c */ 1.11 extern void grabkeys(); /* grab all keys defined in config.h */ 1.12 @@ -114,26 +114,26 @@ 1.13 extern Client *getnext(Client *c); /* returns next visible client */ 1.14 extern Client *getprev(Client *c); /* returns previous visible client */ 1.15 extern void settags(Client *c, Client *trans); /* sets tags of c */ 1.16 -extern void tag(Arg *arg); /* tags c accordingly to arg's index */ 1.17 -extern void toggletag(Arg *arg); /* toggles c tags accordingly to arg's index */ 1.18 +extern void tag(Arg *arg); /* tags c with arg's index */ 1.19 +extern void toggletag(Arg *arg); /* toggles c tags with arg's index */ 1.20 1.21 /* util.c */ 1.22 extern void *emallocz(unsigned int size); /* allocates zero-initialized memory, exits on error */ 1.23 -extern void eprint(const char *errstr, ...); /* prints error string and exits with return code 1 */ 1.24 +extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */ 1.25 extern void *erealloc(void *ptr, unsigned int size); /* reallocates memory, exits on error */ 1.26 -extern void spawn(Arg *arg); /* forks a new subprocess accordingly to arg's cmd */ 1.27 +extern void spawn(Arg *arg); /* forks a new subprocess with to arg's cmd */ 1.28 1.29 /* view.c */ 1.30 extern void detach(Client *c); /* detaches c from global client list */ 1.31 -extern void dofloat(Arg *arg); /* arranges all windows in a floating way, arg is ignored */ 1.32 -extern void dotile(Arg *arg); /* arranges all windows in a tiled way, arg is ignored */ 1.33 +extern void dofloat(Arg *arg); /* arranges all windows floating, arg is ignored */ 1.34 +extern void dotile(Arg *arg); /* arranges all windows, arg is ignored */ 1.35 extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ 1.36 extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ 1.37 extern Bool isvisible(Client *c); /* returns True if client is visible */ 1.38 -extern void resizecol(Arg *arg); /* resizes the master width accordingly to arg's index value */ 1.39 +extern void resizecol(Arg *arg); /* resizes the master width with arg's index value */ 1.40 extern void restack(); /* restores z layers of all clients */ 1.41 -extern void togglemode(Arg *arg); /* toggles global arrange function (between dotile and dofloat) */ 1.42 -extern void toggleview(Arg *arg); /* toggles the tag accordingly to arg's index (in)visible */ 1.43 -extern void view(Arg *arg); /* views the tag accordingly to arg's index */ 1.44 +extern void togglemode(Arg *arg); /* toggles global arrange function (dotile/dofloat) */ 1.45 +extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */ 1.46 +extern void view(Arg *arg); /* views the tag with arg's index */ 1.47 extern void viewall(Arg *arg); /* views all tags, arg is ignored */ 1.48 extern void zoom(Arg *arg); /* zooms the focused client to master column, arg is ignored */