From e5d7f4daa81535fe84b0367f33d02e52bcda92f5 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 4 Mar 2008 20:11:28 -0500 Subject: [PATCH] remove a debug print, and make it wait 0 instead of 1 microsecond when it needs to draw immediately --- dcompmgr.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dcompmgr.c b/dcompmgr.c index d39b101..c20025a 100644 --- a/dcompmgr.c +++ b/dcompmgr.c @@ -159,8 +159,6 @@ run(d_display_t *dpy) gettimeofday(&now, 0); - printf("* loop paint %d *\n", npaint); - if (!npaint) /* wait forever, there is nothing that needs drawing */ wait = NULL; @@ -172,7 +170,7 @@ run(d_display_t *dpy) else { /* don't wait cuz a redraw is due now already */ next.tv_sec = 0; - next.tv_usec = 1; + next.tv_usec = 0; wait = &next; } -- 1.9.1