From: Christophe CURIS <[email protected]>
---
src/moveres.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/moveres.c b/src/moveres.c
index 89fce68..6754be2 100644
--- a/src/moveres.c
+++ b/src/moveres.c
@@ -649,7 +649,7 @@ static int compareWBottom(const void *a, const void *b)
return 0;
}
-static void updateResistance(WWindow * wwin, MoveData * data, int newX, int
newY)
+static void updateResistance(MoveData *data, int newX, int newY)
{
int i;
int newX2 = newX + data->winWidth;
@@ -1177,7 +1177,7 @@ updateWindowPosition(WWindow * wwin, MoveData * data,
Bool doResistance,
/* recalc relative window position */
if (doResistance && (data->realX != newX || data->realY != newY)) {
- updateResistance(wwin, data, newX, newY);
+ updateResistance(data, newX, newY);
}
data->realX = newX;
--
1.8.4.rc3
--
To unsubscribe, send mail to [email protected].