event handler jump table

This commit is contained in:
seanpringle
2012-09-06 23:17:21 +10:00
parent 3e77f08fcc
commit f54a135e35
5 changed files with 69 additions and 92 deletions

1
xoat.h
View File

@@ -189,6 +189,7 @@ enum {
ACTIONS
};
typedef void (*handler)(XEvent*);
typedef void (*action)(void*, int, client*);
typedef struct {