apt-widget icon-control
This commit is contained in:
parent
85fbddf6d9
commit
d45bdd5a40
|
@ -99,6 +99,7 @@ local function worker(user_args)
|
||||||
local pointer = 0
|
local pointer = 0
|
||||||
local min_widgets = 5
|
local min_widgets = 5
|
||||||
local carousel = false
|
local carousel = false
|
||||||
|
local icon_control = args.icon_control
|
||||||
|
|
||||||
local function rebuild_widget(containers, errors, _, _)
|
local function rebuild_widget(containers, errors, _, _)
|
||||||
local to_update = {}
|
local to_update = {}
|
||||||
|
@ -353,7 +354,7 @@ local function worker(user_args)
|
||||||
end)))
|
end)))
|
||||||
|
|
||||||
wibox_popup:connect_signal("mouse::leave", function()
|
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
|
wibox_popup.visible = false
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in New Issue