mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-03 04:14:20 +01:00
Remove unused function argument from randomPlaceWindow()
This commit is contained in:
@@ -496,8 +496,7 @@ cascadeWindow(WScreen *scr, WWindow *wwin, int *x_ret, int *y_ret,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void randomPlaceWindow(WWindow *wwin, int *x_ret, int *y_ret,
|
||||||
randomPlaceWindow(WScreen *scr, WWindow *wwin, int *x_ret, int *y_ret,
|
|
||||||
unsigned int width, unsigned int height, WArea usableArea)
|
unsigned int width, unsigned int height, WArea usableArea)
|
||||||
{
|
{
|
||||||
int w, h;
|
int w, h;
|
||||||
@@ -552,7 +551,7 @@ void PlaceWindow(WWindow *wwin, int *x_ret, int *y_ret, unsigned width, unsigned
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case WPM_RANDOM:
|
case WPM_RANDOM:
|
||||||
randomPlaceWindow(scr, wwin, x_ret, y_ret, width, height, usableArea);
|
randomPlaceWindow(wwin, x_ret, y_ret, width, height, usableArea);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
|||||||
Reference in New Issue
Block a user