summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/rotate.c
diff options
context:
space:
mode:
authorquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-31 14:01:01 +0000
committerquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-31 14:01:01 +0000
commitf5a9696eb28a13c38368310423a16382c00e4a3d (patch)
tree9e363f8768123ee0061c61a02debed6a0522cee4 /beryl-plugins/src/rotate.c
parent897c75ad0b3e3202e5bed2c82eb86c77fdd2c054 (diff)
downloadmarex-dev-f5a9696eb28a13c38368310423a16382c00e4a3d.tar.gz
marex-dev-f5a9696eb28a13c38368310423a16382c00e4a3d.tar.bz2
possible fix for bug 782
git-svn-id: file:///beryl/trunk@3478 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/rotate.c')
-rw-r--r--beryl-plugins/src/rotate.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/beryl-plugins/src/rotate.c b/beryl-plugins/src/rotate.c
index 2547a1b..1c3aa9f 100644
--- a/beryl-plugins/src/rotate.c
+++ b/beryl-plugins/src/rotate.c
@@ -733,8 +733,10 @@ static void rotatePreparePaintScreen(CompScreen * s, int msSinceLastPaint)
rs->xVelocity = 0.0f;
rs->yVelocity = 0.0f;
- if ((fabs(rs->yrot) < 0.1f)
- && !screenGrabExist(s, "scale", 0))
+ damageScreen(s);
+
+ if ((fabs(rs->yrot) < 0.1f))
+ //&& !screenGrabExist(s, "scale", 0))
{
float xrot;
int tx;