summaryrefslogtreecommitdiff
path: root/apt-widget
diff options
context:
space:
mode:
Diffstat (limited to 'apt-widget')
-rw-r--r--apt-widget/apt-widget.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/apt-widget/apt-widget.lua b/apt-widget/apt-widget.lua
index e4e84eb..0bd6e3d 100644
--- a/apt-widget/apt-widget.lua
+++ b/apt-widget/apt-widget.lua
@@ -353,6 +353,13 @@ local function worker(user_args)
end
end)))
+
+ wibox_popup:connect_signal("mouse::leave", function()
+ if wibox_popup.visible then
+ wibox_popup.visible = false
+ end
+ end)
+
return apt_widget_button
end