---
src/placement.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/placement.c b/src/placement.c
index 32bdf7e..0569b4c 100644
--- a/src/placement.c
+++ b/src/placement.c
@@ -496,8 +496,7 @@ cascadeWindow(WScreen *scr, WWindow *wwin, int *x_ret, int
*y_ret,
}
}
-static void
-randomPlaceWindow(WScreen *scr, WWindow *wwin, int *x_ret, int *y_ret,
+static void randomPlaceWindow(WWindow *wwin, int *x_ret, int *y_ret,
unsigned int width, unsigned int height, WArea usableArea)
{
int w, h;
@@ -552,7 +551,7 @@ void PlaceWindow(WWindow *wwin, int *x_ret, int *y_ret,
unsigned width, unsigned
break;
case WPM_RANDOM:
- randomPlaceWindow(scr, wwin, x_ret, y_ret, width, height,
usableArea);
+ randomPlaceWindow(wwin, x_ret, y_ret, width, height,
usableArea);
break;
#ifdef DEBUG
--
1.6.6.rc0.61.g41d5b
--
To unsubscribe, send mail to [email protected].