summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/cube.c
diff options
context:
space:
mode:
authorquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-06 02:16:17 +0000
committerquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-06 02:16:17 +0000
commitbbc271a703c46a175d055da821f1fa5173eafebe (patch)
treec10fb2ef56b6ea47e7b017caa9113e5ceab22d96 /beryl-plugins/src/cube.c
parent05f4faf52b1636f13555300805c2dbe0a7f13815 (diff)
downloadmarex-dev-bbc271a703c46a175d055da821f1fa5173eafebe.tar.gz
marex-dev-bbc271a703c46a175d055da821f1fa5173eafebe.tar.bz2
cube:
* make detection of when to paint sticky windows a bit clearer, fixes up case where screen is returning from rotate zoom git-svn-id: file:///beryl/trunk@3691 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/cube.c')
-rw-r--r--beryl-plugins/src/cube.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/beryl-plugins/src/cube.c b/beryl-plugins/src/cube.c
index 1e5903c..168bb8c 100644
--- a/beryl-plugins/src/cube.c
+++ b/beryl-plugins/src/cube.c
@@ -2112,7 +2112,7 @@ cubePaintTransformedScreen(CompScreen * s,
sa.yTranslate = sAttrib->yTranslate;
- if (screenGrabExist(s, "rotate", "cube", 0))
+ if (screenGrabExist(s, "rotate", "cube", 0) || sAttrib->zCamera!=-DEFAULT_Z_CAMERA)
cs->finalPaint=!(cs->opt[CUBE_SCREEN_OPTION_STUCK_TO_SCREEN].value.b);
else
cs->finalPaint=TRUE;