summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMahesh <48161833+aspieln3r@users.noreply.github.com>2020-09-26 12:41:13 +0530
committerGitHub <noreply@github.com>2020-09-26 12:41:13 +0530
commit5e8330ac44a34820990e37a59b702ead527219a4 (patch)
treefd9e3165d87e1f3d722a25be4e65c0228c1692ae
parenta0b4dc57619a5378c555fa5193ef97e038dce776 (diff)
Update logout.lua
-rw-r--r--logout-widget/logout.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/logout-widget/logout.lua b/logout-widget/logout.lua
index f10b97d..98892f5 100644
--- a/logout-widget/logout.lua
+++ b/logout-widget/logout.lua
@@ -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)