From: Dana Jansens Date: Sun, 31 Aug 2003 21:14:21 +0000 (+0000) Subject: oops, now is in the loop :> X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=8de54d2b455ef3ec50bf2d00adeb65727e4fa158;p=chaz%2Fopenbox oops, now is in the loop :> --- diff --git a/openbox/mainloop.c b/openbox/mainloop.c index bdfff038..888c58fa 100644 --- a/openbox/mainloop.c +++ b/openbox/mainloop.c @@ -511,7 +511,7 @@ void ob_main_loop_timeout_add(ObMainLoop *loop, t->data = data; t->destroy = notify; t->del_me = FALSE; - g_get_current_time(&now); + g_get_current_time(&loop->now); t->last = t->timeout = loop->now; g_time_val_add(&t->timeout, t->delay);