aewl

diff dwm.h @ 73:c2ddb9dbbd10

rearranged
author Anselm R. Garbe <garbeam@wmii.de>
date Fri, 14 Jul 2006 22:33:38 +0200
parents 50450aa24a46
children 5370ef170cc9
line diff
     1.1 --- a/dwm.h	Fri Jul 14 18:59:25 2006 +0200
     1.2 +++ b/dwm.h	Fri Jul 14 22:33:38 2006 +0200
     1.3 @@ -94,6 +94,7 @@
     1.4  extern Bool running, issel;
     1.5  extern void (*handler[LASTEvent])(XEvent *);
     1.6  extern void (*arrange)(Arg *);
     1.7 +extern Key key[];
     1.8  
     1.9  extern int tsel, screen, sx, sy, sw, sh, bx, by, bw, bh, mw;
    1.10  extern char *tags[TLast], stext[1024];
    1.11 @@ -101,35 +102,24 @@
    1.12  extern DC dc;
    1.13  extern Client *clients, *sel;
    1.14  
    1.15 -/* bar.c */
    1.16 -extern void draw_bar();
    1.17 -extern void barclick(XButtonPressedEvent *e);
    1.18 -
    1.19  /* client.c */
    1.20  extern void manage(Window w, XWindowAttributes *wa);
    1.21  extern void unmanage(Client *c);
    1.22  extern Client *getclient(Window w);
    1.23  extern void focus(Client *c);
    1.24  extern void update_name(Client *c);
    1.25 -extern void draw_client(Client *c);
    1.26  extern void resize(Client *c, Bool inc);
    1.27  extern void update_size(Client *c);
    1.28  extern Client *gettitle(Window w);
    1.29  extern void craise(Client *c);
    1.30  extern void lower(Client *c);
    1.31 -extern void ckill(Arg *arg);
    1.32 -extern void nextc(Arg *arg);
    1.33 -extern void prevc(Arg *arg);
    1.34 -extern void max(Arg *arg);
    1.35 -extern void floating(Arg *arg);
    1.36 -extern void tiling(Arg *arg);
    1.37 -extern void ttrunc(Arg *arg);
    1.38 -extern void tappend(Arg *arg);
    1.39 -extern void view(Arg *arg);
    1.40 -extern void zoom(Arg *arg);
    1.41  extern void gravitate(Client *c, Bool invert);
    1.42 +extern void ban_client(Client *c);
    1.43 +extern Client *next(Client *c);
    1.44  
    1.45  /* draw.c */
    1.46 +extern void draw_bar();
    1.47 +extern void draw_client(Client *c);
    1.48  extern void drawtext(const char *text, Bool invert, Bool border);
    1.49  extern unsigned long initcolor(const char *colstr);
    1.50  extern void initfont(const char *fontstr);
    1.51 @@ -137,11 +127,9 @@
    1.52  extern unsigned int textw(char *text);
    1.53  extern unsigned int texth(void);
    1.54  
    1.55 -/* dev.c */
    1.56 -extern void update_keys(void);
    1.57 +/* key.c */
    1.58 +extern void grabkeys();
    1.59  extern void keypress(XEvent *e);
    1.60 -extern void mresize(Client *c);
    1.61 -extern void mmove(Client *c);
    1.62  
    1.63  /* main.c */
    1.64  extern int error_handler(Display *dsply, XErrorEvent *e);
    1.65 @@ -149,6 +137,11 @@
    1.66  extern int win_proto(Window w);
    1.67  extern void quit(Arg *arg);
    1.68  
    1.69 +/* screen.c */
    1.70 +extern void floating(Arg *arg);
    1.71 +extern void tiling(Arg *arg);
    1.72 +extern void view(Arg *arg);
    1.73 +
    1.74  /* util.c */
    1.75  extern void error(const char *errstr, ...);
    1.76  extern void *emallocz(unsigned int size);