summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-04-17 18:35:50 +0200
committerDanny Baumann <dannybaumann@web.de>2007-04-17 18:35:50 +0200
commit1a85ffb3f4fb0121096813a67ac7a82c297dacc2 (patch)
treed9aad6f64f7f1a96236817ae419e7ef90b044c77
parent88f3eff94f2f9886c1b19dbfe9c10114373036e1 (diff)
downloadberyl-premerge-1a85ffb3f4fb0121096813a67ac7a82c297dacc2.tar.gz
beryl-premerge-1a85ffb3f4fb0121096813a67ac7a82c297dacc2.tar.bz2
Fixed BCOP API usage.
-rw-r--r--src/wall.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wall.c b/src/wall.c
index b18532e..eabb156 100644
--- a/src/wall.c
+++ b/src/wall.c
@@ -1923,7 +1923,7 @@ static void wallPaintTransformedScreen(CompScreen * s,
if (wallGetRotate(s->display))
{
- if (wallGetExpoAnimation(s->display) == ExpoAnimationZoom)
+ if (wallGetExpoAnimationIndex(s->display) == ExpoAnimationZoom)
rotation = 10.0 * sigmoidProgress(ws->expoCam);
else
rotation = 10.0 * ws->expoCam;
@@ -1962,7 +1962,7 @@ static void wallPaintTransformedScreen(CompScreen * s,
// rotate
matrixRotate(&sTransform, rotation, 0.0f, 1.0f, 0.0f);
- if (wallGetExpoAnimation(s->display) != ExpoAnimationZoom)
+ if (wallGetExpoAnimationIndex(s->display) != ExpoAnimationZoom)
{
// scale that all viewports fit the screen
float aspect = wallGetAspectRatio(s->display);
@@ -2124,7 +2124,7 @@ wallPaintWindow(CompWindow * w,
if (ws->expoActive)
{
- if (wallGetExpoAnimation(w->screen->display) != ExpoAnimationZoom)
+ if (wallGetExpoAnimationIndex(w->screen->display) != ExpoAnimationZoom)
pA.opacity = attrib->opacity * ws->expoCam;
if (w == ws->stickyWindow)
@@ -2132,7 +2132,7 @@ wallPaintWindow(CompWindow * w,
if (w->wmType & CompWindowTypeDockMask)
{
- if (wallGetExpoAnimation(w->screen->display) == ExpoAnimationZoom &&
+ if (wallGetExpoAnimationIndex(w->screen->display) == ExpoAnimationZoom &&
((w->screen->x == ws->origVX &&
w->screen->y == ws->origVY) ||
(w->screen->x == ws->rorigx &&
@@ -2169,7 +2169,7 @@ wallPaintWindow(CompWindow * w,
{
if (!(w == ws->stickyWindow))
{
- if (wallGetExpoAnimation(w->screen->display) == ExpoAnimationZoom)
+ if (wallGetExpoAnimationIndex(w->screen->display) == ExpoAnimationZoom)
pA.brightness = 0;
else
pA.brightness = attrib->brightness * (1 - sigmoidProgress(ws->expoCam));