aboutsummaryrefslogtreecommitdiff
path: root/src/Seat.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Seat.zig')
-rw-r--r--src/Seat.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Seat.zig b/src/Seat.zig
index c697010..3ff3667 100644
--- a/src/Seat.zig
+++ b/src/Seat.zig
@@ -252,7 +252,7 @@ pub fn handleKeybinding(self: *Self, keysym: c.xkb_keysym_t, modifiers: u32) boo
for (self.mode.keybinds.items) |keybind| {
if (modifiers == keybind.modifiers and keysym == keybind.keysym) {
// Execute the bound command
- keybind.command(self, keybind.arg);
+ keybind.command.run(self);
return true;
}
}