all repos — tint2 @ 9fd9d5101067bd2dc966bce147243f3451b7df2d

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

Fix timer bug (again)
o9000 o9000
commit

9fd9d5101067bd2dc966bce147243f3451b7df2d

parent

9f8423f2eb578c227fff6441aab43f32da2b31ce

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

jump to
M src/util/timer.csrc/util/timer.c

@@ -389,7 +389,6 @@ multi_timeout_handler* mth = arg;

struct timespec cur_time; clock_gettime(CLOCK_MONOTONIC, &cur_time); GSList* it = mth->timeout_list; -start: while (it) { timeout* t = it->data; if (++t->multi_timeout->current_count >= t->multi_timeout->count_to_expiration) {

@@ -399,8 +398,7 @@ // Timer still exists

t->multi_timeout->current_count = 0; t->timeout_expires = add_msec_to_timespec(cur_time, t->interval_msec); } else { - it = mth->timeout_list; - goto start; + return; } } it = it->next;