diff options
author | racarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3> | 2007-02-16 14:53:48 +0000 |
---|---|---|
committer | racarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3> | 2007-02-16 14:53:48 +0000 |
commit | 07d88bc9efd7eacad5d3fa90b389d0be2f105187 (patch) | |
tree | a0eb36ff49a76ca5d404a004e9c101e8601ae70d | |
parent | 014d57ce8c3aed3bf42dd6c0e964685c98c255d5 (diff) | |
download | marex-dev-07d88bc9efd7eacad5d3fa90b389d0be2f105187.tar.gz marex-dev-07d88bc9efd7eacad5d3fa90b389d0be2f105187.tar.bz2 |
Animate border expansion when transitioning to expo mode so the borders do not just appear
git-svn-id: file:///beryl/trunk@4102 d7aaf104-2d23-0410-ae22-9d23157bf5a3
-rw-r--r-- | beryl-plugins/src/wall.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/beryl-plugins/src/wall.c b/beryl-plugins/src/wall.c index 3d520f2..a942f44 100644 --- a/beryl-plugins/src/wall.c +++ b/beryl-plugins/src/wall.c @@ -321,10 +321,6 @@ static void wallMoveViewport(CompScreen * s, int x, int y, Window moveWindow) newDestX = x; newDestY = y; } - else - { - return; - } if (wallCheckDestination(s, newDestX, newDestY)) { @@ -1393,8 +1389,8 @@ static void wallPaintTransformedScreen(CompScreen * s, int origVX = s->x; int origVY = s->y; - const float gapy = 0.01f; // amount of gap between viewports - const float gapx = 0.01f * s->height / s->width; + const float gapy = 0.01f * ws->expoCam; // amount of gap between viewports + const float gapx = 0.01f * s->height / s->width * ws->expoCam; // Zoom animation stuff |