X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=dwm.h;h=b96facdf652a398e94d5ac0224b4f1546b07e8f1;hb=8b4bc8270a975a14c1fb7db0a94d83f4ba4d2734;hp=bb941dc64ce0d6993a900ffd7be55f1523483f1b;hpb=ee31e38dc75832a66cb0fc01bcf2f419ac96a20b;p=dwm.git diff --git a/dwm.h b/dwm.h index bb941dc..b96facd 100644 --- a/dwm.h +++ b/dwm.h @@ -84,8 +84,6 @@ extern Window root, barwin; /* client.c */ extern void ban(Client *c); extern void focus(Client *c); -extern void focusnext(Arg *arg); -extern void focusprev(Arg *arg); extern Client *getclient(Window w); extern Client *getctitle(Window w); extern void gravitate(Client *c, Bool invert); @@ -96,7 +94,6 @@ extern void setsize(Client *c); extern void settitle(Client *c); extern void togglemax(Arg *arg); extern void unmanage(Client *c); -extern void zoom(Arg *arg); /* draw.c */ extern void drawall(); @@ -108,6 +105,7 @@ extern unsigned int textw(const char *text); /* event.c */ extern void grabkeys(); +extern void procevent(); /* main.c */ extern int getproto(Window w); @@ -116,22 +114,27 @@ extern void sendevent(Window w, Atom a, long value); extern int xerror(Display *dsply, XErrorEvent *ee); /* tag.c */ -extern void dofloat(Arg *arg); -extern void dotile(Arg *arg); extern void initrregs(); -extern Bool isvisible(Client *c); extern Client *getnext(Client *c); extern Client *getprev(Client *c); -extern void restack(); extern void settags(Client *c); extern void tag(Arg *arg); -extern void togglemode(Arg *arg); extern void toggletag(Arg *arg); -extern void toggleview(Arg *arg); -extern void view(Arg *arg); /* util.c */ extern void *emallocz(unsigned int size); extern void eprint(const char *errstr, ...); extern void *erealloc(void *ptr, unsigned int size); extern void spawn(Arg *arg); + +/* view.c */ +extern void dofloat(Arg *arg); +extern void dotile(Arg *arg); +extern void focusnext(Arg *arg); +extern void focusprev(Arg *arg); +extern Bool isvisible(Client *c); +extern void restack(); +extern void togglemode(Arg *arg); +extern void toggleview(Arg *arg); +extern void view(Arg *arg); +extern void zoom(Arg *arg);