summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-04-18 08:30:41 +0200
committerDanny Baumann <dannybaumann@web.de>2007-04-18 08:30:41 +0200
commitd9b0e4aeef982b39d5f053aedffa7714a332ad93 (patch)
tree346cdb37ad613dd6ea272990f05a3751b2eb965a
parent830442bbe62f416b135760f0c0bf9e7ada6979c0 (diff)
downloadberyl-premerge-d9b0e4aeef982b39d5f053aedffa7714a332ad93.tar.gz
beryl-premerge-d9b0e4aeef982b39d5f053aedffa7714a332ad93.tar.bz2
warpPointer now takes a CompScreen* as parameter, not CompDisplay*
-rw-r--r--src/snap.c2
-rw-r--r--src/wall.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/snap.c b/src/snap.c
index ec72167..519854e 100644
--- a/src/snap.c
+++ b/src/snap.c
@@ -192,7 +192,7 @@ static void snapMoveWindow(CompWindow * w, int dx, int dy)
SNAP_WINDOW(w);
sw->skipNotify = TRUE;
moveWindow(w, dx, dy, TRUE, TRUE);
- warpPointer(w->screen->display, dx, dy);
+ warpPointer(w->screen, dx, dy);
sw->skipNotify = FALSE;
}
diff --git a/src/wall.c b/src/wall.c
index a147295..f31fdd2 100644
--- a/src/wall.c
+++ b/src/wall.c
@@ -1018,7 +1018,7 @@ static Bool wallInitiateFlip(CompScreen *s, Direction direction, Bool dnd)
warpY = lastPointerY;
}
- warpPointer(s->display, offsetX, offsetY);
+ warpPointer(s, offsetX, offsetY);
lastPointerX = warpX;
lastPointerY = warpY;
}