]> Dogcows Code - chaz/tint2/blobdiff - src/tint.c
*fix* merged tooltip to the new timer syntax
[chaz/tint2] / src / tint.c
index a25e0947448949e4e7b29c6da0b0c04341f7fa8d..3c535c740a236afcf3c5b8d54d4c17b5f471d14b 100644 (file)
@@ -80,7 +80,6 @@ void init (int argc, char *argv[])
        sigaction(SIGTERM, &sa, 0);
        sigaction(SIGHUP, &sa, 0);
        signal(SIGCHLD, SIG_IGN);               // don't have to wait() after fork()
-       signal(SIGALRM, tooltip_sighandler);
        // block all signals, such that no race conditions occur before pselect in our main loop
        sigset_t block_mask;
        sigaddset(&block_mask, SIGINT);
@@ -827,6 +826,8 @@ int main (int argc, char *argv[])
                                }
                        }
 
+                       // we need to iterate over the whole timer list, since fd_set can only be checked with the
+                       // brute force method FD_ISSET for every possible timer
                        timer_iter = timer_list;
                        while (timer_iter) {
                                timer = timer_iter->data;
This page took 0.019905 seconds and 4 git commands to generate.