Skip to content

Commit

Permalink
Merge pull request #437 from radiodee1/apt-widget-icon-control
Browse files Browse the repository at this point in the history
apt-widget icon-control
  • Loading branch information
streetturtle committed May 18, 2024
2 parents 8ab87d2 + d45bdd5 commit 5e3cbf9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apt-widget/apt-widget.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 5e3cbf9

Please sign in to comment.