aewl

changeset 760:014c4cb1ae4a aewl-0.1

removed some compiler warnings
author meillo@marmaro.de
date Fri, 30 May 2008 22:36:38 +0200
parents 45f23169563e
children 59ce221b9a37
files aewl.c
diffstat 1 files changed, 10 insertions(+), 12 deletions(-) [+]
line diff
     1.1 --- a/aewl.c	Fri May 30 22:18:18 2008 +0200
     1.2 +++ b/aewl.c	Fri May 30 22:36:38 2008 +0200
     1.3 @@ -194,16 +194,16 @@
     1.4  void restack(void);			/* restores z layers of all clients */
     1.5  
     1.6  
     1.7 -void toggleview();			/* toggle the viewed tag */
     1.8 -void focusnext();		/* focuses next visible client  */
     1.9 -void zoom();			/* zooms the focused client to master area */
    1.10 -void killclient();		/* kill c nicely */
    1.11 -void quit();			/* quit dwm nicely */
    1.12 -void togglemode();		/* toggles global arrange function (dotile/dofloat) */
    1.13 -void togglefloat();		/* toggles focusesd client between floating/non-floating state */
    1.14 -void incnmaster();		/* increments nmaster */
    1.15 -void decnmaster();		/* decrements nmaster */
    1.16 -void toggletag();		/* toggles c tag */
    1.17 +void toggleview(void);			/* toggle the viewed tag */
    1.18 +void focusnext(void);		/* focuses next visible client  */
    1.19 +void zoom(void);			/* zooms the focused client to master area */
    1.20 +void killclient(void);		/* kill c nicely */
    1.21 +void quit(void);			/* quit dwm nicely */
    1.22 +void togglemode(void);		/* toggles global arrange function (dotile/dofloat) */
    1.23 +void togglefloat(void);		/* toggles focusesd client between floating/non-floating state */
    1.24 +void incnmaster(void);		/* increments nmaster */
    1.25 +void decnmaster(void);		/* decrements nmaster */
    1.26 +void toggletag(void);		/* toggles c tag */
    1.27  void spawn(const char* cmd);			/* forks a new subprocess with cmd */
    1.28  
    1.29  
    1.30 @@ -753,8 +753,6 @@
    1.31  
    1.32  static void
    1.33  buttonpress(XEvent *e) {
    1.34 -	int x;
    1.35 -	int i;
    1.36  	Client *c;
    1.37  	XButtonPressedEvent *ev = &e->xbutton;
    1.38