Fix issue #14
This commit is contained in:
parent
7046b40f83
commit
fd835fdbeb
2
bar.lua
2
bar.lua
|
@ -105,7 +105,7 @@ local function setup_buttons(data,item,args)
|
|||
end
|
||||
end
|
||||
|
||||
item:connect_signal("button::press",function(_m,_i,button_id,mods)
|
||||
item:connect_signal("button::release",function(_m,_i,button_id,mods)
|
||||
if #mods == 0 and buttons[button_id] then
|
||||
buttons[button_id](_m,_i,mods)
|
||||
end
|
||||
|
|
|
@ -211,7 +211,7 @@ local function setup_buttons(data,item,args)
|
|||
end
|
||||
end
|
||||
|
||||
item:connect_signal("button::press",function(_m,_i,button_id,mods)
|
||||
item:connect_signal("button::release",function(_m,_i,button_id,mods)
|
||||
if #mods == 0 and buttons[button_id] then
|
||||
buttons[button_id](_m,_i,mods)
|
||||
end
|
||||
|
|
|
@ -65,7 +65,7 @@ local function setup_item(data,item,args)
|
|||
end
|
||||
end
|
||||
|
||||
item:connect_signal("button::press",function(_m,_i,button_id,mods)
|
||||
item:connect_signal("button::release",function(_m,_i,button_id,mods)
|
||||
if #mods == 0 and buttons[button_id] then
|
||||
buttons[button_id](_m,_i,mods)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue