awful.button: Keep track of the `awful.button` in the `capi.button`.
This commit is contained in:
parent
42a906f300
commit
e3959b45d5
|
@ -261,6 +261,7 @@ local obj_mt = {
|
||||||
local function new_common(mod, _button, press, release)
|
local function new_common(mod, _button, press, release)
|
||||||
local ret = {}
|
local ret = {}
|
||||||
local subsets = gmath.subsets(ignore_modifiers)
|
local subsets = gmath.subsets(ignore_modifiers)
|
||||||
|
|
||||||
for _, set in ipairs(subsets) do
|
for _, set in ipairs(subsets) do
|
||||||
local sub_button = capi.button {
|
local sub_button = capi.button {
|
||||||
modifiers = gtable.join(mod, set),
|
modifiers = gtable.join(mod, set),
|
||||||
|
|
Loading…
Reference in New Issue