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