core/place: Drop unused arguments in find_next_cascade

We drop the x and y arguments from find_next_cascade
since they're unused.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4202>
This commit is contained in:
Mattia Formichetti 2025-01-25 23:11:51 +01:00 committed by Marge Bot
parent 61a7b21d08
commit b3fd815bed

View File

@ -121,8 +121,6 @@ static void
find_next_cascade (MetaWindow *window,
/* visible windows on relevant workspaces */
GList *windows,
int x,
int y,
int *new_x,
int *new_y)
{
@ -974,7 +972,7 @@ meta_window_place (MetaWindow *window,
goto done_check_denied_focus;
/* No good fit? Fall back to cascading... */
find_next_cascade (window, windows, x, y, &x, &y);
find_next_cascade (window, windows, &x, &y);
done_check_denied_focus:
/* If the window is being denied focus and isn't a transient of the