1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 05:48:01 +01:00

Removed parameter to function 'updateResistance' that was not used

This commit is contained in:
Christophe CURIS
2013-10-13 15:41:54 +02:00
committed by Carlos R. Mafra
parent 0717a0f07e
commit 3cf4ba91aa

View File

@@ -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;