diff options
| -rw-r--r-- | dwm.h | 22 |
1 files changed, 11 insertions, 11 deletions
| @@ -97,7 +97,7 @@ extern void drawstatus(); /* draw the bar */ | |||
| 97 | extern void drawtitle(Client *c); /* draw title of c */ | 97 | extern void drawtitle(Client *c); /* draw title of c */ |
| 98 | extern unsigned long getcolor(const char *colstr); /* return color of colstr */ | 98 | extern unsigned long getcolor(const char *colstr); /* return color of colstr */ |
| 99 | extern void setfont(const char *fontstr); /* set the font for DC */ | 99 | extern void setfont(const char *fontstr); /* set the font for DC */ |
| 100 | extern unsigned int textw(const char *text); /* return the text width of text */ | 100 | extern unsigned int textw(const char *text); /* return the width of text in px*/ |
| 101 | 101 | ||
| 102 | /* event.c */ | 102 | /* event.c */ |
| 103 | extern void grabkeys(); /* grab all keys defined in config.h */ | 103 | extern void grabkeys(); /* grab all keys defined in config.h */ |
| @@ -114,26 +114,26 @@ extern void initrregs(); /* initialize regexps of rules defined in config.h */ | |||
| 114 | extern Client *getnext(Client *c); /* returns next visible client */ | 114 | extern Client *getnext(Client *c); /* returns next visible client */ |
| 115 | extern Client *getprev(Client *c); /* returns previous visible client */ | 115 | extern Client *getprev(Client *c); /* returns previous visible client */ |
| 116 | extern void settags(Client *c, Client *trans); /* sets tags of c */ | 116 | extern void settags(Client *c, Client *trans); /* sets tags of c */ |
| 117 | extern void tag(Arg *arg); /* tags c accordingly to arg's index */ | 117 | extern void tag(Arg *arg); /* tags c with arg's index */ |
| 118 | extern void toggletag(Arg *arg); /* toggles c tags accordingly to arg's index */ | 118 | extern void toggletag(Arg *arg); /* toggles c tags with arg's index */ |
| 119 | 119 | ||
| 120 | /* util.c */ | 120 | /* util.c */ |
| 121 | extern void *emallocz(unsigned int size); /* allocates zero-initialized memory, exits on error */ | 121 | extern void *emallocz(unsigned int size); /* allocates zero-initialized memory, exits on error */ |
| 122 | extern void eprint(const char *errstr, ...); /* prints error string and exits with return code 1 */ | 122 | extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */ |
| 123 | extern void *erealloc(void *ptr, unsigned int size); /* reallocates memory, exits on error */ | 123 | extern void *erealloc(void *ptr, unsigned int size); /* reallocates memory, exits on error */ |
| 124 | extern void spawn(Arg *arg); /* forks a new subprocess accordingly to arg's cmd */ | 124 | extern void spawn(Arg *arg); /* forks a new subprocess with to arg's cmd */ |
| 125 | 125 | ||
| 126 | /* view.c */ | 126 | /* view.c */ |
| 127 | extern void detach(Client *c); /* detaches c from global client list */ | 127 | extern void detach(Client *c); /* detaches c from global client list */ |
| 128 | extern void dofloat(Arg *arg); /* arranges all windows in a floating way, arg is ignored */ | 128 | extern void dofloat(Arg *arg); /* arranges all windows floating, arg is ignored */ |
| 129 | extern void dotile(Arg *arg); /* arranges all windows in a tiled way, arg is ignored */ | 129 | extern void dotile(Arg *arg); /* arranges all windows, arg is ignored */ |
| 130 | extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ | 130 | extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ |
| 131 | extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ | 131 | extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ |
| 132 | extern Bool isvisible(Client *c); /* returns True if client is visible */ | 132 | extern Bool isvisible(Client *c); /* returns True if client is visible */ |
| 133 | extern void resizecol(Arg *arg); /* resizes the master width accordingly to arg's index value */ | 133 | extern void resizecol(Arg *arg); /* resizes the master width with arg's index value */ |
| 134 | extern void restack(); /* restores z layers of all clients */ | 134 | extern void restack(); /* restores z layers of all clients */ |
| 135 | extern void togglemode(Arg *arg); /* toggles global arrange function (between dotile and dofloat) */ | 135 | extern void togglemode(Arg *arg); /* toggles global arrange function (dotile/dofloat) */ |
| 136 | extern void toggleview(Arg *arg); /* toggles the tag accordingly to arg's index (in)visible */ | 136 | extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */ |
| 137 | extern void view(Arg *arg); /* views the tag accordingly to arg's index */ | 137 | extern void view(Arg *arg); /* views the tag with arg's index */ |
| 138 | extern void viewall(Arg *arg); /* views all tags, arg is ignored */ | 138 | extern void viewall(Arg *arg); /* views all tags, arg is ignored */ |
| 139 | extern void zoom(Arg *arg); /* zooms the focused client to master column, arg is ignored */ | 139 | extern void zoom(Arg *arg); /* zooms the focused client to master column, arg is ignored */ |
