Mercurial > dwm-meillo
comparison 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 |
comparison
equal
deleted
inserted
replaced
113:b2445fd41f5e | 114:dfa5cd0969a6 |
---|---|
28 typedef union Arg Arg; | 28 typedef union Arg Arg; |
29 typedef struct Client Client; | 29 typedef struct Client Client; |
30 typedef enum Corner Corner; | 30 typedef enum Corner Corner; |
31 typedef struct DC DC; | 31 typedef struct DC DC; |
32 typedef struct Fnt Fnt; | 32 typedef struct Fnt Fnt; |
33 typedef struct Key Key; | |
34 typedef struct Rule Rule; | |
35 | 33 |
36 union Arg { | 34 union Arg { |
37 const char **argv; | 35 const char **argv; |
38 int i; | 36 int i; |
39 }; | 37 }; |
82 Client *revert; | 80 Client *revert; |
83 Window win; | 81 Window win; |
84 Window title; | 82 Window title; |
85 }; | 83 }; |
86 | 84 |
87 struct Rule { | |
88 const char *class; | |
89 const char *instance; | |
90 char *tags[TLast]; | |
91 Bool isfloat; | |
92 }; | |
93 | |
94 struct Key { | |
95 unsigned long mod; | |
96 KeySym keysym; | |
97 void (*func)(Arg *arg); | |
98 Arg arg; | |
99 }; | |
100 | |
101 extern char *tags[TLast], stext[1024]; | 85 extern char *tags[TLast], stext[1024]; |
102 extern int tsel, screen, sx, sy, sw, sh, bx, by, bw, bh, mw; | 86 extern int tsel, screen, sx, sy, sw, sh, bx, by, bw, bh, mw; |
103 extern void (*handler[LASTEvent])(XEvent *); | 87 extern void (*handler[LASTEvent])(XEvent *); |
104 extern void (*arrange)(Arg *); | 88 extern void (*arrange)(Arg *); |
105 extern Atom wmatom[WMLast], netatom[NetLast]; | 89 extern Atom wmatom[WMLast], netatom[NetLast]; |
106 extern Bool running, issel; | 90 extern Bool running, issel; |
107 extern Client *clients, *sel; | 91 extern Client *clients, *sel; |
108 extern Cursor cursor[CurLast]; | 92 extern Cursor cursor[CurLast]; |
109 extern DC dc; | 93 extern DC dc; |
110 extern Display *dpy; | 94 extern Display *dpy; |
111 extern Key key[]; | |
112 extern Window root, barwin; | 95 extern Window root, barwin; |
113 | 96 |
114 /* client.c */ | 97 /* client.c */ |
115 extern void ban(Client *c); | 98 extern void ban(Client *c); |
116 extern void focus(Client *c); | 99 extern void focus(Client *c); |