summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Thomas <markbt@efaref.net>2008-05-14 23:05:48 +0100
committerMark Thomas <markbt@efaref.net>2008-05-14 23:05:48 +0100
commitb09c67bea7d7b7a5b6ea305122e1c24ef22ba77e (patch)
tree1bd77ecf0fc0b53f7fee9145aa5629eebec34ca8
parentd2de48e12ab000c558122bad9f04e83adcfd1ce7 (diff)
downloadstatic-b09c67bea7d7b7a5b6ea305122e1c24ef22ba77e.tar.gz
static-b09c67bea7d7b7a5b6ea305122e1c24ef22ba77e.tar.bz2
Use identity transform for static windows - fixes cube rotate zoom.
-rw-r--r--static.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/static.c b/static.c
index 8ae1d23..b02dc47 100644
--- a/static.c
+++ b/static.c
@@ -122,6 +122,8 @@ staticPaintOutput(CompScreen *s,
if ( ss->staticMode == STATIC_NORMAL )
{
+ CompTransform sTransform;
+
/* We switched to Transformed mode somewhere along the line.
* Now paint the dock windows untransformed by bypassing
* the virtual table.
@@ -130,7 +132,9 @@ staticPaintOutput(CompScreen *s,
ss->staticMode = STATIC_STATIC;
- paintTransformedOutput (s, sAttrib, transform, &s->region,
+ matrixGetIdentity (&sTransform);
+
+ paintTransformedOutput (s, sAttrib, &sTransform, &s->region,
output, mask);
ss->staticMode = STATIC_NORMAL;