[beryl-commits] compiz mirror: Changes to 'master' (64fbb40bc64208e5410582e3cd9f19aa0d52bcc4)

compiz at server.beryl-project.org compiz at server.beryl-project.org
Tue Jun 12 14:57:05 CEST 2007


New commits:
commit 64fbb40bc64208e5410582e3cd9f19aa0d52bcc4
Author: Dennis Kasprzyk <onestone at beryl-project.org>
Date:   Tue Jun 12 14:56:33 2007 +0200

    Initialize variables correctly.


 plugins/cube.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)


Modified: compiz/plugins/cube.c
===================================================================
--- compiz/plugins/cube.c
+++ compiz/plugins/cube.c
@@ -1706,6 +1706,11 @@ cubeInitScreen (CompPlugin *p,
     cs->bg  = NULL;
     cs->nBg = 0;
 
+    cs->outputXScale  = 1.0f;
+    cs->outputYScale  = 1.0f;
+    cs->outputXOffset = 0.0f;
+    cs->outputYOffset = 0.0f;
+
     memset (cs->cleared, 0, sizeof (cs->cleared));
 
     cubeUpdateOutputs (s);



More information about the commits mailing list