summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wall.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/wall.cpp b/src/wall.cpp
index 430c6d6..4c14821 100644
--- a/src/wall.cpp
+++ b/src/wall.cpp
@@ -596,7 +596,6 @@ WallScreen::positionUpdate (const CompPoint &pos)
poller.stop ();
toggleEdges (true);
}
-
}
void
@@ -632,7 +631,7 @@ WallWindow::grabNotify (int x,
unsigned int width,
unsigned int height)
{
- //WallScreen::get (screen)->toggleEdges (true);
+ WallScreen::get (screen)->toggleEdges (true);
WallScreen::get (screen)->edgeDrag = true;
window->grabNotify (x, y, width, height);
@@ -811,7 +810,7 @@ WallScreen::initiateFlip (Direction direction,
}
else if (!optionGetEdgeflipPointer ())
{
- //toggleEdges (false);
+ toggleEdges (false);
poller.start ();
return false;
}
@@ -1524,7 +1523,7 @@ WallScreen::toggleEdges (bool enabled)
{
WALL_SCREEN (screen);
- if (false)
+ if (!enabled)
{
screen->removeAction (&ws->optionGetFlipLeftEdge ());
screen->removeAction (&ws->optionGetFlipUpEdge ());