titlebar: fix modkey for buttons
Signed-off-by: Gregor Best <gbe@intepi.net> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
176fa70916
commit
62e73e9eaf
|
@ -100,7 +100,7 @@ function add(c, args)
|
|||
local is = 1
|
||||
data[c].button_sets = {}
|
||||
for i = 1, #button_groups do
|
||||
local set = button_groups[i].create(c, modkey, theme)
|
||||
local set = button_groups[i].create(c, args.modkey, theme)
|
||||
if (set) then
|
||||
data[c].button_sets[is] = set
|
||||
is = is + 1
|
||||
|
|
Loading…
Reference in New Issue