From cee41e925dc0a9d7460806c9f8386512b207edf3 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Tue, 19 May 2020 22:59:50 +0200 Subject: Implement command execution through riverctl --- src/Seat.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Seat.zig') 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; } } -- cgit v1.2.3