Skip to content

Commit d45bdd5

Browse files
committed
apt-widget icon-control
1 parent 85fbddf commit d45bdd5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apt-widget/apt-widget.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ local function worker(user_args)
9999
local pointer = 0
100100
local min_widgets = 5
101101
local carousel = false
102+
local icon_control = args.icon_control
102103

103104
local function rebuild_widget(containers, errors, _, _)
104105
local to_update = {}
@@ -353,7 +354,7 @@ local function worker(user_args)
353354
end)))
354355

355356
wibox_popup:connect_signal("mouse::leave", function()
356-
if wibox_popup.visible then
357+
if wibox_popup.visible and not icon_control then
357358
wibox_popup.visible = false
358359
end
359360
end)

0 commit comments

Comments
 (0)