From bcaf6a7a0f492c3fafc4baabd2dc06f5191417ee Mon Sep 17 00:00:00 2001 From: "arg@10ksloc.org" Date: Wed, 19 Jul 2006 17:42:08 +0200 Subject: implemented regexp matching for rules --- event.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'event.c') diff --git a/event.c b/event.c index f8ad44c..05f4ac5 100644 --- a/event.c +++ b/event.c @@ -12,6 +12,14 @@ #define MouseMask (ButtonMask | PointerMotionMask) /* CUSTOMIZE */ + +typedef struct { + unsigned long mod; + KeySym keysym; + void (*func)(Arg *arg); + Arg arg; +} Key; + const char *browse[] = { "firefox", NULL }; const char *gimp[] = { "gimp", NULL }; const char *term[] = { @@ -20,7 +28,7 @@ const char *term[] = { }; const char *xlock[] = { "xlock", NULL }; -Key key[] = { +static Key key[] = { /* modifier key function arguments */ { ControlMask, XK_0, appendtag, { .i = Tscratch } }, { ControlMask, XK_1, appendtag, { .i = Tdev } }, -- cgit v1.2.3