mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
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
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ function add(c, args)
|
||||||
local is = 1
|
local is = 1
|
||||||
data[c].button_sets = {}
|
data[c].button_sets = {}
|
||||||
for i = 1, #button_groups do
|
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
|
if (set) then
|
||||||
data[c].button_sets[is] = set
|
data[c].button_sets[is] = set
|
||||||
is = is + 1
|
is = is + 1
|
||||||
|
|
Loading…
Reference in a new issue