On Mon, 2008-06-30 at 12:45 -0400, Jason Tackaberry wrote:
> Yep.  Worked with the original patch by Andy (attached to that bug),
> worked with my kludge I described in my first email (adding a damage
> region for the window and handling damage events myself), but does not
> work with latest trunk.

See the attached patch, which corrects the problem.

This adjusts the logic to match Andy's original code.

Index: clutter-x11-texture-pixmap.c
===================================================================
--- clutter-x11-texture-pixmap.c	(revision 3067)
+++ clutter-x11-texture-pixmap.c	(working copy)
@@ -1048,9 +1048,11 @@
 
       clutter_x11_texture_pixmap_set_pixmap (texture, pixmap);
     }
-
-  pixmap = priv->window;
-  clutter_x11_texture_pixmap_set_pixmap (texture, pixmap);
+  else
+    {
+      pixmap = priv->window;
+      clutter_x11_texture_pixmap_set_pixmap (texture, pixmap);
+    }
 }
 
 /**

Reply via email to