summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2011-03-15 00:01:18 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2011-03-15 00:01:18 +0800
commit9bf34ec73982e2d8b6fa7deedb3c5b9a375a04b5 (patch)
treec7c26b938eed73cf108ccb01b36b6126dbd99d81
parentcb30be3b3ebd5dece4230311c231e58857bf99c3 (diff)
downloadwall-9bf34ec73982e2d8b6fa7deedb3c5b9a375a04b5.tar.gz
wall-9bf34ec73982e2d8b6fa7deedb3c5b9a375a04b5.tar.bz2
Update for new core API
-rw-r--r--src/wall.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/wall.cpp b/src/wall.cpp
index 4c14821..430c6d6 100644
--- a/src/wall.cpp
+++ b/src/wall.cpp
@@ -596,6 +596,7 @@ WallScreen::positionUpdate (const CompPoint &pos)
poller.stop ();
toggleEdges (true);
}
+
}
void
@@ -631,7 +632,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);
@@ -810,7 +811,7 @@ WallScreen::initiateFlip (Direction direction,
}
else if (!optionGetEdgeflipPointer ())
{
- toggleEdges (false);
+ //toggleEdges (false);
poller.start ();
return false;
}
@@ -1523,7 +1524,7 @@ WallScreen::toggleEdges (bool enabled)
{
WALL_SCREEN (screen);
- if (!enabled)
+ if (false)
{
screen->removeAction (&ws->optionGetFlipLeftEdge ());
screen->removeAction (&ws->optionGetFlipUpEdge ());