awful.key: Fix the modifiers property.

It was called `mod` rather than `modifiers`.
This commit is contained in:
Emmanuel Lepage Vallee 2022-09-05 17:20:56 -07:00
parent c391fc7fe4
commit 6338412b5f

View file

@ -321,7 +321,7 @@ local function new_common(mod, keys, press, release, data)
-- append custom userdata (like description) to a hotkey
data = data and gtable.clone(data) or {}
data.mod = mod
data.mod, data.modifiers = mod, mod
data.keys = keys
data.on_press = press
data.on_release = release