summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/wall.c
diff options
context:
space:
mode:
Diffstat (limited to 'beryl-plugins/src/wall.c')
-rw-r--r--beryl-plugins/src/wall.c8
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