Author: olivier
Date: 2006-11-23 21:54:58 +0000 (Thu, 23 Nov 2006)
New Revision: 23943

Modified:
   xfwm4/trunk/src/compositor.c
Log:
Humm, don't cancel existing timeouts, it's safer...

Modified: xfwm4/trunk/src/compositor.c
===================================================================
--- xfwm4/trunk/src/compositor.c        2006-11-23 21:40:33 UTC (rev 23942)
+++ xfwm4/trunk/src/compositor.c        2006-11-23 21:54:58 UTC (rev 23943)
@@ -2134,17 +2134,12 @@
     {
         repair_win (cw);
 #ifdef USE_IDLE_REPAINT
-        /* If there are more damage to come, we'll schedule the repair later */
-        if (ev->more)
+        /* If there are more damages to come, we'll schedule the repair later 
*/
+        if (!ev->more)
         {
-            remove_timeouts (display_info);
-        }
-        else
-        {
             add_repair (display_info);
         }
 #endif /* USE_IDLE_REPAINT */
-
     }
 }
 

_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to