aboutsummaryrefslogtreecommitdiff
path: root/daemonic.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--daemonic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemonic.c b/daemonic.c
index d2c90cb..bb22d47 100644
--- a/daemonic.c
+++ b/daemonic.c
@@ -67,7 +67,7 @@ void run(Display* dpy, Window win, Command command) {
if (modes[current_mode] && current_mode < MODE_SIZE) {
for (i = 0; i < LENGTH(modes[current_mode]); i++) {
mode_key = modes[current_mode][i];
- bind_key(dpy, win, keys[i].mod, keys[i].key);
+ bind_key(dpy, win, mode_key.mod, mode_key.key);
}
}