This commit is contained in:
Emmanuel Lepage Vallee 2014-02-19 22:16:59 -05:00
parent 7046b40f83
commit fd835fdbeb
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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