Update logout.lua

This commit is contained in:
Mahesh 2020-09-26 12:41:13 +05:30 committed by GitHub
parent a0b4dc5761
commit 5e8330ac44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,6 +49,7 @@ local function create_button(icon_name, action_name, color, onclick)
onclick = function()
onclick()
w.visible = false
capi.keygrabber.stop()
end
}
button:connect_signal("mouse::enter", function(c) action:set_text(action_name) end)