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 b8835a6..f4cae9e 100644
--- a/logout-widget/logout.lua
+++ b/logout-widget/logout.lua
@@ -51,6 +51,7 @@ local function create_button(icon_name, action_name, color, onclick, icon_size,
onclick = function()
onclick()
w.visible = false
+ capi.keygrabber.stop()
end
}
button:connect_signal("mouse::enter", function(c) action:set_text(action_name) end)