summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2011-02-21 01:15:44 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2011-02-21 01:15:44 +0800
commit9d84472b0419d908ad62f6b28a47e2f188d9f6fb (patch)
tree79ed167ab534cce01f20baccdc9a7e846d5c63c4
parent70bbbf9114b00a99f90d901f0aeecb7d9fee4de0 (diff)
downloadcompiz-with-glib-mainloop-9d84472b0419d908ad62f6b28a47e2f188d9f6fb.tar.gz
compiz-with-glib-mainloop-9d84472b0419d908ad62f6b28a47e2f188d9f6fb.tar.bz2
Initialize variable. Fixes valgrind warning
-rw-r--r--plugins/cube/src/cube.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/cube/src/cube.cpp b/plugins/cube/src/cube.cpp
index 2d66971..9436fdf 100644
--- a/plugins/cube/src/cube.cpp
+++ b/plugins/cube/src/cube.cpp
@@ -1,4 +1,4 @@
-/*
+ /*
* Copyright © 2005 Novell, Inc.
*
* Permission to use, copy, modify, distribute, and sell this software
@@ -1678,6 +1678,7 @@ PrivateCubeScreen::PrivateCubeScreen (CompScreen *s) :
mRotationState = CubeScreen::RotationNone;
mDesktopOpacity = OPAQUE;
+ mPaintOrder = BTF;
mLastOpacityIndex = CubeOptions::InactiveOpacity;