From d45bdd5a402425d67c710b14946fc758f9f66fda Mon Sep 17 00:00:00 2001 From: David Liebman Date: Tue, 16 Jan 2024 11:18:29 -0500 Subject: [PATCH] apt-widget icon-control --- apt-widget/apt-widget.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apt-widget/apt-widget.lua b/apt-widget/apt-widget.lua index d098f1e..0ad6639 100644 --- a/apt-widget/apt-widget.lua +++ b/apt-widget/apt-widget.lua @@ -99,6 +99,7 @@ local function worker(user_args) local pointer = 0 local min_widgets = 5 local carousel = false + local icon_control = args.icon_control local function rebuild_widget(containers, errors, _, _) local to_update = {} @@ -353,7 +354,7 @@ local function worker(user_args) end))) wibox_popup:connect_signal("mouse::leave", function() - if wibox_popup.visible then + if wibox_popup.visible and not icon_control then wibox_popup.visible = false end end)