timed thread stuff
authorPhilip Kovacs <pkovacs@users.sourceforge.net>
Sun, 2 Sep 2007 01:10:09 +0000 (01:10 +0000)
committerPhilip Kovacs <pkovacs@users.sourceforge.net>
Sun, 2 Sep 2007 01:10:09 +0000 (01:10 +0000)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@951 7f574dfc-610e-0410-a909-a81674777703

src/timed_thread.c

index 142a291..a234ddb 100644 (file)
@@ -180,8 +180,6 @@ timed_thread_test (timed_thread* p_timed_thread)
   assert (p_timed_thread != NULL);
 
   if (now (&wait_time)) return (-1);
-  /* move the clock backward 1 sec to shift sync slightly earlier than UI thread */
-  wait_time.tv_sec -= 1;
   /* now add in the wait interval */
   wait_time.tv_sec += p_timed_thread->interval_time.tv_sec;
   wait_time.tv_nsec += p_timed_thread->interval_time.tv_nsec;