diff --git a/lib/awful/titlebar.lua.in b/lib/awful/titlebar.lua.in index eb71a197c..8b5649b7a 100644 --- a/lib/awful/titlebar.lua.in +++ b/lib/awful/titlebar.lua.in @@ -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