all repos — tint2 @ a7ca1b739b798ebc82771f759d50b805074156eb

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

Workaround broken timer code (SIGSEGV on recent gcc)
o9000 mrovi9000@gmail.com
commit

a7ca1b739b798ebc82771f759d50b805074156eb

parent

750cbd572ccfa618b82acbfc76b9746a65b6ea4e

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

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

@@ -392,7 +392,7 @@ GSList *it = mth->timeout_list;

while (it) { GSList *next = it->next; timeout *t = it->data; - if (++t->multi_timeout->current_count >= t->multi_timeout->count_to_expiration) { + if (t->multi_timeout && ++t->multi_timeout->current_count >= t->multi_timeout->count_to_expiration) { t->_callback(t->arg); if (multi_timeouts && g_hash_table_lookup(multi_timeouts, t)) { // Timer still exists