mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
awful.widget.tasklist: reset queued_update before tasklist_update
This will reset it properly in case of any error in the callback itself.
This commit is contained in:
parent
22624284a2
commit
f060fc055f
1 changed files with 1 additions and 1 deletions
|
@ -161,8 +161,8 @@ function tasklist.new(screen, filter, buttons, style, update_function, base_widg
|
|||
-- Add a delayed callback for the first update.
|
||||
if not queued_update then
|
||||
timer.delayed_call(function()
|
||||
queued_update = false
|
||||
tasklist_update(screen, w, buttons, filter, data, style, uf)
|
||||
queued_update = nil
|
||||
end)
|
||||
queued_update = true
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue