Here are a couple of small patches to make the animation plugin compatible.

I believe that David agreed both of these to go into the CompWindow structure
based on the previous discussion.
diff --git a/include/compiz.h b/include/compiz.h
index 9529a17..e355d7b 100644
--- a/include/compiz.h
+++ b/include/compiz.h
@@ -1822,6 +1822,9 @@ struct _CompWindow {
     int      vCount;
     int      texUnits;
 
+    int      texCoordSize;
+    int      indexCount;
+
     CompPrivate *privates;
 };
 
diff --git a/src/window.c b/src/window.c
index eaa29a7..5ce3f0a 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1533,6 +1533,9 @@ addWindow (CompScreen *screen,
     w->indices    = 0;
     w->indexSize  = 0;
     w->vCount     = 0;
+    w->indexCount = 0;
+
+    w->texCoordSize = 2;
 
     w->struts = 0;
 
_______________________________________________
compiz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/compiz

Reply via email to