all repos — tint2 @ 9ac0cd12543875fadbef88e165066a8a9dd47165

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

Fix one second delay before urgent task starts to blink
arza arza@arza.us
commit

9ac0cd12543875fadbef88e165066a8a9dd47165

parent

73ab9b69303a8318ffd19f6d900603dd765564ea

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/taskbar/task.csrc/taskbar/task.c

@@ -758,8 +758,8 @@ {

GSList *urgent_task = urgent_list; while (urgent_task) { Task *t = urgent_task->data; - if (t->urgent_tick < max_tick_urgent) { - if (t->urgent_tick++ % 2) + if (t->urgent_tick <= max_tick_urgent) { + if (++t->urgent_tick % 2) set_task_state(t, TASK_URGENT); else set_task_state(t, window_is_iconified(t->win) ? TASK_ICONIFIED : TASK_NORMAL);