diff options
author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-15 16:30:50 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-15 16:30:50 +0200 |
commit | dba23062bad40afb1a90f60b6897cf9e1ca5035b (patch) | |
tree | a2823b36177e027cf3aa82f764c37cfc6eea4503 /dwm.h | |
parent | c0705eeb65733e8c5091e47d5bdc701a0779a949 (diff) | |
download | dwm-dba23062bad40afb1a90f60b6897cf9e1ca5035b.tar.gz |
rearranged several stuff
Diffstat (limited to 'dwm.h')
-rw-r--r-- | dwm.h | 36 |
1 files changed, 22 insertions, 14 deletions
diff --git a/dwm.h b/dwm.h index def66bf..c171805 100644 --- a/dwm.h +++ b/dwm.h @@ -66,7 +66,7 @@ struct Client { int grav; unsigned int border; long flags; - Bool floating; + Bool dofloat; Window win; Window title; Client *next; @@ -77,7 +77,7 @@ struct Rule { const char *class; const char *instance; char *tags[TLast]; - Bool floating; + Bool dofloat; }; struct Key { @@ -103,6 +103,7 @@ extern DC dc; extern Client *clients, *sel; /* client.c */ +extern void ban(Client *c); extern void manage(Window w, XWindowAttributes *wa); extern void unmanage(Client *c); extern Client *getclient(Window w); @@ -110,14 +111,18 @@ extern void focus(Client *c); extern void settitle(Client *c); extern void resize(Client *c, Bool inc); extern void setsize(Client *c); -extern Client *gettitle(Window w); +extern Client *getctitle(Window w); extern void higher(Client *c); extern void lower(Client *c); extern void gravitate(Client *c, Bool invert); -extern void ban(Client *c); -extern Client *getnext(Client *c); +extern void zoom(Arg *arg); +extern void maximize(Arg *arg); +extern void focusprev(Arg *arg); +extern void focusnext(Arg *arg); +extern void killclient(Arg *arg); /* draw.c */ +extern void drawall(); extern void drawstatus(); extern void drawtitle(Client *c); extern void drawtext(const char *text, Bool invert, Bool border); @@ -127,22 +132,25 @@ extern unsigned int textnw(char *text, unsigned int len); extern unsigned int textw(char *text); extern unsigned int texth(void); -/* key.c */ +/* event.c */ extern void grabkeys(); -extern void keypress(XEvent *e); /* main.c */ -extern int xerror(Display *dsply, XErrorEvent *e); -extern void sendevent(Window w, Atom a, long value); -extern int proto(Window w); extern void quit(Arg *arg); +extern int xerror(Display *dsply, XErrorEvent *ee); +extern void sendevent(Window w, Atom a, long value); +extern int getproto(Window w); -/* screen.c */ -extern void floating(Arg *arg); -extern void tiling(Arg *arg); +/* tag.c */ +extern Client *getnext(Client *c); +extern void settags(Client *c); +extern void dofloat(Arg *arg); +extern void dotile(Arg *arg); extern void view(Arg *arg); +extern void appendtag(Arg *arg); +extern void replacetag(Arg *arg); /* util.c */ -extern void error(const char *errstr, ...); +extern void eprint(const char *errstr, ...); extern void *emallocz(unsigned int size); extern void spawn(Arg *arg); |