remove a debug print, and make it wait 0 instead of 1 microsecond when it needs to...
[dana/dcompmgr.git] / dcompmgr.c
index d39b101..c20025a 100644 (file)
@@ -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;
         }