comparison aewl.c @ 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
comparison
equal deleted inserted replaced
759:45f23169563e 760:014c4cb1ae4a
192 void domax(void); /* arranges all windows fullscreen */ 192 void domax(void); /* arranges all windows fullscreen */
193 Bool isvisible(Client *c); /* returns True if client is visible */ 193 Bool isvisible(Client *c); /* returns True if client is visible */
194 void restack(void); /* restores z layers of all clients */ 194 void restack(void); /* restores z layers of all clients */
195 195
196 196
197 void toggleview(); /* toggle the viewed tag */ 197 void toggleview(void); /* toggle the viewed tag */
198 void focusnext(); /* focuses next visible client */ 198 void focusnext(void); /* focuses next visible client */
199 void zoom(); /* zooms the focused client to master area */ 199 void zoom(void); /* zooms the focused client to master area */
200 void killclient(); /* kill c nicely */ 200 void killclient(void); /* kill c nicely */
201 void quit(); /* quit dwm nicely */ 201 void quit(void); /* quit dwm nicely */
202 void togglemode(); /* toggles global arrange function (dotile/dofloat) */ 202 void togglemode(void); /* toggles global arrange function (dotile/dofloat) */
203 void togglefloat(); /* toggles focusesd client between floating/non-floating state */ 203 void togglefloat(void); /* toggles focusesd client between floating/non-floating state */
204 void incnmaster(); /* increments nmaster */ 204 void incnmaster(void); /* increments nmaster */
205 void decnmaster(); /* decrements nmaster */ 205 void decnmaster(void); /* decrements nmaster */
206 void toggletag(); /* toggles c tag */ 206 void toggletag(void); /* toggles c tag */
207 void spawn(const char* cmd); /* forks a new subprocess with cmd */ 207 void spawn(const char* cmd); /* forks a new subprocess with cmd */
208 208
209 209
210 210
211 211
751 } 751 }
752 } 752 }
753 753
754 static void 754 static void
755 buttonpress(XEvent *e) { 755 buttonpress(XEvent *e) {
756 int x;
757 int i;
758 Client *c; 756 Client *c;
759 XButtonPressedEvent *ev = &e->xbutton; 757 XButtonPressedEvent *ev = &e->xbutton;
760 758
761 if(barwin == ev->window) { 759 if(barwin == ev->window) {
762 if(ev->button == Button1) { 760 if(ev->button == Button1) {