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
1 changed files with 1 additions and 0 deletions

View File

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