aboutsummaryrefslogtreecommitdiff
path: root/src/Seat.zig
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-05-19 22:59:50 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-05-19 22:59:50 +0200
commitcee41e925dc0a9d7460806c9f8386512b207edf3 (patch)
tree75799b00cf703d4196864a261e01ff8ec53699f2 /src/Seat.zig
parent569308d91b7d6ea19a283a3db4a612f9e5d881d7 (diff)
downloadriver-cee41e925dc0a9d7460806c9f8386512b207edf3.tar.gz
river-cee41e925dc0a9d7460806c9f8386512b207edf3.tar.xz
Implement command execution through riverctl
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;
}
}