diff options
Diffstat (limited to '')
| -rw-r--r-- | dwm.h | 12 |
1 files changed, 6 insertions, 6 deletions
| @@ -121,16 +121,16 @@ extern void updatetitle(Client *c); /* update the name of c */ | |||
| 121 | extern void unmanage(Client *c); /* destroy c */ | 121 | extern void unmanage(Client *c); /* destroy c */ |
| 122 | 122 | ||
| 123 | /* draw.c */ | 123 | /* draw.c */ |
| 124 | extern void drawall(); /* draw all visible client titles and the bar */ | 124 | extern void drawall(void); /* draw all visible client titles and the bar */ |
| 125 | extern void drawstatus(); /* draw the bar */ | 125 | extern void drawstatus(void); /* draw the bar */ |
| 126 | extern void drawtitle(Client *c); /* draw title of c */ | 126 | extern void drawtitle(Client *c); /* draw title of c */ |
| 127 | extern unsigned long getcolor(const char *colstr); /* return color of colstr */ | 127 | extern unsigned long getcolor(const char *colstr); /* return color of colstr */ |
| 128 | extern void setfont(const char *fontstr); /* set the font for DC */ | 128 | extern void setfont(const char *fontstr); /* set the font for DC */ |
| 129 | extern unsigned int textw(const char *text); /* return the width of text in px*/ | 129 | extern unsigned int textw(const char *text); /* return the width of text in px*/ |
| 130 | 130 | ||
| 131 | /* event.c */ | 131 | /* event.c */ |
| 132 | extern void grabkeys(); /* grab all keys defined in config.h */ | 132 | extern void grabkeys(void); /* grab all keys defined in config.h */ |
| 133 | extern void procevent(); /* process pending X events */ | 133 | extern void procevent(void); /* process pending X events */ |
| 134 | 134 | ||
| 135 | /* main.c */ | 135 | /* main.c */ |
| 136 | extern int getproto(Window w); /* return protocol mask of WMProtocols property of w */ | 136 | extern int getproto(Window w); /* return protocol mask of WMProtocols property of w */ |
| @@ -139,7 +139,7 @@ extern void sendevent(Window w, Atom a, long value); /* send synthetic event to | |||
| 139 | extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ | 139 | extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ |
| 140 | 140 | ||
| 141 | /* tag.c */ | 141 | /* tag.c */ |
| 142 | extern void initrregs(); /* initialize regexps of rules defined in config.h */ | 142 | extern void initrregs(void); /* initialize regexps of rules defined in config.h */ |
| 143 | extern Client *getnext(Client *c); /* returns next visible client */ | 143 | extern Client *getnext(Client *c); /* returns next visible client */ |
| 144 | extern Client *getprev(Client *c); /* returns previous visible client */ | 144 | extern Client *getprev(Client *c); /* returns previous visible client */ |
| 145 | extern void settags(Client *c, Client *trans); /* sets tags of c */ | 145 | extern void settags(Client *c, Client *trans); /* sets tags of c */ |
| @@ -160,7 +160,7 @@ extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored | |||
| 160 | extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ | 160 | extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ |
| 161 | extern Bool isvisible(Client *c); /* returns True if client is visible */ | 161 | extern Bool isvisible(Client *c); /* returns True if client is visible */ |
| 162 | extern void resizecol(Arg *arg); /* resizes the master width with arg's index value */ | 162 | extern void resizecol(Arg *arg); /* resizes the master width with arg's index value */ |
| 163 | extern void restack(); /* restores z layers of all clients */ | 163 | extern void restack(void); /* restores z layers of all clients */ |
| 164 | extern void togglemode(Arg *arg); /* toggles global arrange function (dotile/dofloat) */ | 164 | extern void togglemode(Arg *arg); /* toggles global arrange function (dotile/dofloat) */ |
| 165 | extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */ | 165 | extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */ |
| 166 | extern void view(Arg *arg); /* views the tag with arg's index */ | 166 | extern void view(Arg *arg); /* views the tag with arg's index */ |
