dwm-meillo
diff dwm.h @ 327:96d09fd98e89
separated several functions into view.c
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Tue, 22 Aug 2006 16:50:21 +0200 |
parents | 4aa632b6ba66 |
children | 827f8f6c9e97 |
line diff
1.1 --- a/dwm.h Tue Aug 22 16:42:29 2006 +0200 1.2 +++ b/dwm.h Tue Aug 22 16:50:21 2006 +0200 1.3 @@ -84,8 +84,6 @@ 1.4 /* client.c */ 1.5 extern void ban(Client *c); 1.6 extern void focus(Client *c); 1.7 -extern void focusnext(Arg *arg); 1.8 -extern void focusprev(Arg *arg); 1.9 extern Client *getclient(Window w); 1.10 extern Client *getctitle(Window w); 1.11 extern void gravitate(Client *c, Bool invert); 1.12 @@ -96,7 +94,6 @@ 1.13 extern void settitle(Client *c); 1.14 extern void togglemax(Arg *arg); 1.15 extern void unmanage(Client *c); 1.16 -extern void zoom(Arg *arg); 1.17 1.18 /* draw.c */ 1.19 extern void drawall(); 1.20 @@ -117,22 +114,27 @@ 1.21 extern int xerror(Display *dsply, XErrorEvent *ee); 1.22 1.23 /* tag.c */ 1.24 -extern void dofloat(Arg *arg); 1.25 -extern void dotile(Arg *arg); 1.26 extern void initrregs(); 1.27 -extern Bool isvisible(Client *c); 1.28 extern Client *getnext(Client *c); 1.29 extern Client *getprev(Client *c); 1.30 -extern void restack(); 1.31 extern void settags(Client *c); 1.32 extern void tag(Arg *arg); 1.33 -extern void togglemode(Arg *arg); 1.34 extern void toggletag(Arg *arg); 1.35 -extern void toggleview(Arg *arg); 1.36 -extern void view(Arg *arg); 1.37 1.38 /* util.c */ 1.39 extern void *emallocz(unsigned int size); 1.40 extern void eprint(const char *errstr, ...); 1.41 extern void *erealloc(void *ptr, unsigned int size); 1.42 extern void spawn(Arg *arg); 1.43 + 1.44 +/* view.c */ 1.45 +extern void dofloat(Arg *arg); 1.46 +extern void dotile(Arg *arg); 1.47 +extern void focusnext(Arg *arg); 1.48 +extern void focusprev(Arg *arg); 1.49 +extern Bool isvisible(Client *c); 1.50 +extern void restack(); 1.51 +extern void togglemode(Arg *arg); 1.52 +extern void toggleview(Arg *arg); 1.53 +extern void view(Arg *arg); 1.54 +extern void zoom(Arg *arg);