aewl

diff dwm.h @ 114:dfa5cd0969a6

implemented regexp matching for rules
author arg@10ksloc.org
date Wed, 19 Jul 2006 17:42:08 +0200
parents b2445fd41f5e
children 329fd7dae530
line diff
     1.1 --- a/dwm.h	Wed Jul 19 16:38:39 2006 +0200
     1.2 +++ b/dwm.h	Wed Jul 19 17:42:08 2006 +0200
     1.3 @@ -30,8 +30,6 @@
     1.4  typedef enum Corner Corner;
     1.5  typedef struct DC DC;
     1.6  typedef struct Fnt Fnt;
     1.7 -typedef struct Key Key;
     1.8 -typedef struct Rule Rule;
     1.9  
    1.10  union Arg {
    1.11  	const char **argv;
    1.12 @@ -84,20 +82,6 @@
    1.13  	Window title;
    1.14  };
    1.15  
    1.16 -struct Rule {
    1.17 -	const char *class;
    1.18 -	const char *instance;
    1.19 -	char *tags[TLast];
    1.20 -	Bool isfloat;
    1.21 -};
    1.22 -
    1.23 -struct Key {
    1.24 -	unsigned long mod;
    1.25 -	KeySym keysym;
    1.26 -	void (*func)(Arg *arg);
    1.27 -	Arg arg;
    1.28 -};
    1.29 -
    1.30  extern char *tags[TLast], stext[1024];
    1.31  extern int tsel, screen, sx, sy, sw, sh, bx, by, bw, bh, mw;
    1.32  extern void (*handler[LASTEvent])(XEvent *);
    1.33 @@ -108,7 +92,6 @@
    1.34  extern Cursor cursor[CurLast];
    1.35  extern DC dc;
    1.36  extern Display *dpy;
    1.37 -extern Key key[];
    1.38  extern Window root, barwin;
    1.39  
    1.40  /* client.c */