make the select always prefer X events over the timeouts for painting. also don't...
authorDana Jansens <danakj@orodu.net>
Wed, 5 Mar 2008 05:35:33 +0000 (00:35 -0500)
committerDana Jansens <danakj@orodu.net>
Wed, 5 Mar 2008 05:35:33 +0000 (00:35 -0500)
dcompmgr.c
render.c
window.c

index b8124fb..a0a4694 100644 (file)
@@ -220,7 +220,7 @@ run(d_display_t *dpy)
         else {
             /* don't wait cuz a redraw is due now already */
             next.tv_sec = 0;
-            next.tv_usec = 0;
+            next.tv_usec = 1;
             wait = &next;
         }
 
index 24fd7d7..2643be0 100644 (file)
--- a/render.c
+++ b/render.c
@@ -253,7 +253,7 @@ render_window_reconfigure(d_window_t *w)
     render_free_picture(w, wd);
 
     /* pass it on */
-    d->window_hide(w);
+    d->window_reconfigure(w);
 }
 
 static void
index e88ec9b..d76aec7 100644 (file)
--- a/window.c
+++ b/window.c
@@ -120,7 +120,7 @@ window_show(d_window_t *pubw)
 
     window_is_mapped(pubw); /* kill any ongoing request */
 
-    printf("show window 0x%x\n", w->id);
+    //printf("show window 0x%x\n", w->id);
 
     window_update_pixmap(w);
     w->mapped = TRUE;
@@ -133,7 +133,7 @@ window_hide(d_window_t *pubw)
 
     window_is_mapped(pubw); /* kill any ongoing request */
 
-    printf("hide window 0x%x\n", w->id);
+    //printf("hide window 0x%x\n", w->id);
 
     w->mapped = FALSE;
 }