summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wall.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wall.cpp b/src/wall.cpp
index fb2f66c..4c14821 100644
--- a/src/wall.cpp
+++ b/src/wall.cpp
@@ -417,6 +417,8 @@ WallScreen::moveViewport (int x,
int y,
Window moveWin)
{
+ CompOption::Vector o(0);
+
if (!x && !y)
return false;
@@ -458,6 +460,8 @@ WallScreen::moveViewport (int x,
determineMovementAngle ();
+ screen->handleCompizEvent ("wall", "start_viewport_switch", o);
+
if (!grabIndex)
grabIndex = screen->pushGrab (screen->invisibleCursor (), "wall");
@@ -1249,6 +1253,7 @@ WallScreen::preparePaint (int msSinceLastPaint)
if (moving && curPosX == gotoX && curPosY == gotoY)
{
+ CompOption::Vector o (0);
moving = false;
timer = 0;
@@ -1260,6 +1265,8 @@ WallScreen::preparePaint (int msSinceLastPaint)
if (!screen->grabExist ("switcher"))
screen->focusDefaultWindow ();
}
+
+ screen->handleCompizEvent ("wall", "end_viewport_switch", o);
}
cScreen->preparePaint (msSinceLastPaint);