summaryrefslogtreecommitdiff
path: root/openbox/mainloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/mainloop.c')
-rw-r--r--openbox/mainloop.c2
1 files changed, 1 insertions, 1 deletions
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);