aewl

diff dwm.h @ 76:4bd49f404f10

proceeded with cleaning up, sorting functions, etc
author Anselm R. Garbe <garbeam@wmii.de>
date Sat, 15 Jul 2006 17:00:56 +0200
parents f08271b7cb20
children 38c8f7f7d401
line diff
     1.1 --- a/dwm.h	Sat Jul 15 16:30:50 2006 +0200
     1.2 +++ b/dwm.h	Sat Jul 15 17:00:56 2006 +0200
     1.3 @@ -104,53 +104,52 @@
     1.4  
     1.5  /* client.c */
     1.6  extern void ban(Client *c);
     1.7 +extern void focus(Client *c);
     1.8 +extern void focusnext(Arg *arg);
     1.9 +extern void focusprev(Arg *arg);
    1.10 +extern Client *getclient(Window w);
    1.11 +extern Client *getctitle(Window w);
    1.12 +extern void gravitate(Client *c, Bool invert);
    1.13 +extern void higher(Client *c);
    1.14 +extern void killclient(Arg *arg);
    1.15 +extern void lower(Client *c);
    1.16  extern void manage(Window w, XWindowAttributes *wa);
    1.17 -extern void unmanage(Client *c);
    1.18 -extern Client *getclient(Window w);
    1.19 -extern void focus(Client *c);
    1.20 -extern void settitle(Client *c);
    1.21 +extern void maximize(Arg *arg);
    1.22  extern void resize(Client *c, Bool inc);
    1.23  extern void setsize(Client *c);
    1.24 -extern Client *getctitle(Window w);
    1.25 -extern void higher(Client *c);
    1.26 -extern void lower(Client *c);
    1.27 -extern void gravitate(Client *c, Bool invert);
    1.28 +extern void settitle(Client *c);
    1.29 +extern void unmanage(Client *c);
    1.30  extern void zoom(Arg *arg);
    1.31 -extern void maximize(Arg *arg);
    1.32 -extern void focusprev(Arg *arg);
    1.33 -extern void focusnext(Arg *arg);
    1.34 -extern void killclient(Arg *arg);
    1.35  
    1.36  /* draw.c */
    1.37  extern void drawall();
    1.38  extern void drawstatus();
    1.39 +extern void drawtext(const char *text, Bool invert, Bool border);
    1.40  extern void drawtitle(Client *c);
    1.41 -extern void drawtext(const char *text, Bool invert, Bool border);
    1.42  extern unsigned long getcolor(const char *colstr);
    1.43  extern void setfont(const char *fontstr);
    1.44  extern unsigned int textnw(char *text, unsigned int len);
    1.45  extern unsigned int textw(char *text);
    1.46 -extern unsigned int texth(void);
    1.47  
    1.48  /* event.c */
    1.49  extern void grabkeys();
    1.50  
    1.51  /* main.c */
    1.52 +extern int getproto(Window w);
    1.53  extern void quit(Arg *arg);
    1.54 +extern void sendevent(Window w, Atom a, long value);
    1.55  extern int xerror(Display *dsply, XErrorEvent *ee);
    1.56 -extern void sendevent(Window w, Atom a, long value);
    1.57 -extern int getproto(Window w);
    1.58  
    1.59  /* tag.c */
    1.60 -extern Client *getnext(Client *c);
    1.61 -extern void settags(Client *c);
    1.62 +extern void appendtag(Arg *arg);
    1.63  extern void dofloat(Arg *arg);
    1.64  extern void dotile(Arg *arg);
    1.65 +extern Client *getnext(Client *c);
    1.66 +extern void replacetag(Arg *arg);
    1.67 +extern void settags(Client *c);
    1.68  extern void view(Arg *arg);
    1.69 -extern void appendtag(Arg *arg);
    1.70 -extern void replacetag(Arg *arg);
    1.71  
    1.72  /* util.c */
    1.73 +extern void *emallocz(unsigned int size);
    1.74  extern void eprint(const char *errstr, ...);
    1.75 -extern void *emallocz(unsigned int size);
    1.76  extern void spawn(Arg *arg);