X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=dwm.h;h=9670c68241a2fa33282a6cf634a8c294d76c2ea6;hb=bcaf6a7a0f492c3fafc4baabd2dc06f5191417ee;hp=5a714f2433c376d33e15c69f886924cf9051342e;hpb=8af1d973323bd799c1ec021bb7c16860e120cf92;p=dwm.git diff --git a/dwm.h b/dwm.h index 5a714f2..9670c68 100644 --- a/dwm.h +++ b/dwm.h @@ -11,6 +11,7 @@ #define BGCOLOR "#0a2c2d" #define FGCOLOR "#ddeeee" #define BORDERCOLOR "#176164" +#define MODKEY Mod1Mask /* Mod4Mask */ /* #define BGCOLOR "#666699" #define FGCOLOR "#eeeeee" @@ -29,8 +30,6 @@ typedef struct Client Client; typedef enum Corner Corner; typedef struct DC DC; typedef struct Fnt Fnt; -typedef struct Key Key; -typedef struct Rule Rule; union Arg { const char **argv; @@ -83,20 +82,6 @@ struct Client { Window title; }; -struct Rule { - const char *class; - const char *instance; - char *tags[TLast]; - Bool isfloat; -}; - -struct Key { - unsigned long mod; - KeySym keysym; - void (*func)(Arg *arg); - Arg arg; -}; - extern char *tags[TLast], stext[1024]; extern int tsel, screen, sx, sy, sw, sh, bx, by, bw, bh, mw; extern void (*handler[LASTEvent])(XEvent *); @@ -107,7 +92,6 @@ extern Client *clients, *sel; extern Cursor cursor[CurLast]; extern DC dc; extern Display *dpy; -extern Key key[]; extern Window root, barwin; /* client.c */