aboutsummaryrefslogtreecommitdiff
path: root/plugins/macmodkeys.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/macmodkeys.lua')
-rw-r--r--plugins/macmodkeys.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/macmodkeys.lua b/plugins/macmodkeys.lua
index e4656b9..d8e1202 100644
--- a/plugins/macmodkeys.lua
+++ b/plugins/macmodkeys.lua
@@ -9,11 +9,11 @@ local function remap_key(k)
:gsub("option", "alt")
end
-function keymap.on_key_pressed(k)
- return on_key_pressed(remap_key(k))
+function keymap.on_key_pressed(k, ...)
+ return on_key_pressed(remap_key(k), ...)
end
-function keymap.on_key_released(k)
- return on_key_released(remap_key(k))
+function keymap.on_key_released(k, ...)
+ return on_key_released(remap_key(k), ...)
end