dwm-meillo
diff dwm.h @ 75:f08271b7cb20
rearranged several stuff
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Sat, 15 Jul 2006 16:30:50 +0200 |
parents | 5370ef170cc9 |
children | 4bd49f404f10 |
line diff
1.1 --- a/dwm.h Fri Jul 14 22:54:09 2006 +0200 1.2 +++ b/dwm.h Sat Jul 15 16:30:50 2006 +0200 1.3 @@ -66,7 +66,7 @@ 1.4 int grav; 1.5 unsigned int border; 1.6 long flags; 1.7 - Bool floating; 1.8 + Bool dofloat; 1.9 Window win; 1.10 Window title; 1.11 Client *next; 1.12 @@ -77,7 +77,7 @@ 1.13 const char *class; 1.14 const char *instance; 1.15 char *tags[TLast]; 1.16 - Bool floating; 1.17 + Bool dofloat; 1.18 }; 1.19 1.20 struct Key { 1.21 @@ -103,6 +103,7 @@ 1.22 extern Client *clients, *sel; 1.23 1.24 /* client.c */ 1.25 +extern void ban(Client *c); 1.26 extern void manage(Window w, XWindowAttributes *wa); 1.27 extern void unmanage(Client *c); 1.28 extern Client *getclient(Window w); 1.29 @@ -110,14 +111,18 @@ 1.30 extern void settitle(Client *c); 1.31 extern void resize(Client *c, Bool inc); 1.32 extern void setsize(Client *c); 1.33 -extern Client *gettitle(Window w); 1.34 +extern Client *getctitle(Window w); 1.35 extern void higher(Client *c); 1.36 extern void lower(Client *c); 1.37 extern void gravitate(Client *c, Bool invert); 1.38 -extern void ban(Client *c); 1.39 -extern Client *getnext(Client *c); 1.40 +extern void zoom(Arg *arg); 1.41 +extern void maximize(Arg *arg); 1.42 +extern void focusprev(Arg *arg); 1.43 +extern void focusnext(Arg *arg); 1.44 +extern void killclient(Arg *arg); 1.45 1.46 /* draw.c */ 1.47 +extern void drawall(); 1.48 extern void drawstatus(); 1.49 extern void drawtitle(Client *c); 1.50 extern void drawtext(const char *text, Bool invert, Bool border); 1.51 @@ -127,22 +132,25 @@ 1.52 extern unsigned int textw(char *text); 1.53 extern unsigned int texth(void); 1.54 1.55 -/* key.c */ 1.56 +/* event.c */ 1.57 extern void grabkeys(); 1.58 -extern void keypress(XEvent *e); 1.59 1.60 /* main.c */ 1.61 -extern int xerror(Display *dsply, XErrorEvent *e); 1.62 +extern void quit(Arg *arg); 1.63 +extern int xerror(Display *dsply, XErrorEvent *ee); 1.64 extern void sendevent(Window w, Atom a, long value); 1.65 -extern int proto(Window w); 1.66 -extern void quit(Arg *arg); 1.67 +extern int getproto(Window w); 1.68 1.69 -/* screen.c */ 1.70 -extern void floating(Arg *arg); 1.71 -extern void tiling(Arg *arg); 1.72 +/* tag.c */ 1.73 +extern Client *getnext(Client *c); 1.74 +extern void settags(Client *c); 1.75 +extern void dofloat(Arg *arg); 1.76 +extern void dotile(Arg *arg); 1.77 extern void view(Arg *arg); 1.78 +extern void appendtag(Arg *arg); 1.79 +extern void replacetag(Arg *arg); 1.80 1.81 /* util.c */ 1.82 -extern void error(const char *errstr, ...); 1.83 +extern void eprint(const char *errstr, ...); 1.84 extern void *emallocz(unsigned int size); 1.85 extern void spawn(Arg *arg);