awful.button: Keep track of the `awful.button` in the `capi.button`.

This commit is contained in:
Emmanuel Lepage Vallee 2019-10-16 00:42:18 -04:00
parent 42a906f300
commit e3959b45d5
1 changed files with 1 additions and 0 deletions

View File

@ -261,6 +261,7 @@ local obj_mt = {
local function new_common(mod, _button, press, release)
local ret = {}
local subsets = gmath.subsets(ignore_modifiers)
for _, set in ipairs(subsets) do
local sub_button = capi.button {
modifiers = gtable.join(mod, set),