aboutsummaryrefslogtreecommitdiff
path: root/commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'commands.h')
-rw-r--r--commands.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/commands.h b/commands.h
index ba40eed..65c84e7 100644
--- a/commands.h
+++ b/commands.h
@@ -27,15 +27,14 @@ typedef void* arg_t;
typedef bool (*command_f)(arg_t);
typedef struct {
- bool ctrl;
+ unsigned int mask;
KeySym ksym;
command_f cmd;
arg_t arg;
} keymap_t;
typedef struct {
- bool ctrl;
- bool shift;
+ unsigned int mask;
unsigned int button;
command_f cmd;
arg_t arg;