aewl
diff dwm.h @ 487:be4f90c03582
applied Jukkas patch
author | arg@mmvi |
---|---|
date | Mon, 25 Sep 2006 08:21:51 +0200 |
parents | 680aca428830 |
children | 0d2559f46b9e |
line diff
1.1 --- a/dwm.h Fri Sep 22 18:48:35 2006 +0200 1.2 +++ b/dwm.h Mon Sep 25 08:21:51 2006 +0200 1.3 @@ -121,16 +121,16 @@ 1.4 extern void unmanage(Client *c); /* destroy c */ 1.5 1.6 /* draw.c */ 1.7 -extern void drawall(); /* draw all visible client titles and the bar */ 1.8 -extern void drawstatus(); /* draw the bar */ 1.9 +extern void drawall(void); /* draw all visible client titles and the bar */ 1.10 +extern void drawstatus(void); /* draw the bar */ 1.11 extern void drawtitle(Client *c); /* draw title of c */ 1.12 extern unsigned long getcolor(const char *colstr); /* return color of colstr */ 1.13 extern void setfont(const char *fontstr); /* set the font for DC */ 1.14 extern unsigned int textw(const char *text); /* return the width of text in px*/ 1.15 1.16 /* event.c */ 1.17 -extern void grabkeys(); /* grab all keys defined in config.h */ 1.18 -extern void procevent(); /* process pending X events */ 1.19 +extern void grabkeys(void); /* grab all keys defined in config.h */ 1.20 +extern void procevent(void); /* process pending X events */ 1.21 1.22 /* main.c */ 1.23 extern int getproto(Window w); /* return protocol mask of WMProtocols property of w */ 1.24 @@ -139,7 +139,7 @@ 1.25 extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ 1.26 1.27 /* tag.c */ 1.28 -extern void initrregs(); /* initialize regexps of rules defined in config.h */ 1.29 +extern void initrregs(void); /* initialize regexps of rules defined in config.h */ 1.30 extern Client *getnext(Client *c); /* returns next visible client */ 1.31 extern Client *getprev(Client *c); /* returns previous visible client */ 1.32 extern void settags(Client *c, Client *trans); /* sets tags of c */ 1.33 @@ -160,7 +160,7 @@ 1.34 extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ 1.35 extern Bool isvisible(Client *c); /* returns True if client is visible */ 1.36 extern void resizecol(Arg *arg); /* resizes the master width with arg's index value */ 1.37 -extern void restack(); /* restores z layers of all clients */ 1.38 +extern void restack(void); /* restores z layers of all clients */ 1.39 extern void togglemode(Arg *arg); /* toggles global arrange function (dotile/dofloat) */ 1.40 extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */ 1.41 extern void view(Arg *arg); /* views the tag with arg's index */