summaryrefslogtreecommitdiff
path: root/src/binding.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/binding.h')
-rw-r--r--src/binding.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/binding.h b/src/binding.h
index db4867b..f2a531d 100644
--- a/src/binding.h
+++ b/src/binding.h
@@ -1,3 +1,4 @@
+#include "hash.h"
#include "keyboard.h"
/**
@@ -36,7 +37,7 @@ enum binding_type {
#define BINDING_INNER(mod_, c_, command_) \
(struct binding) { \
.key = {.mod = mod_, .key = c_}, .type = BindingType_Command, \
- .command = hash_command_name(command_) \
+ .command = hash_name(command_) \
}
#define ANONYMOUS_BINDING_INNER(mod_, c_, command_) \