summaryrefslogtreecommitdiff
path: root/logout-widget
diff options
context:
space:
mode:
Diffstat (limited to 'logout-widget')
-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)