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:
parent
61a7b21d08
commit
b3fd815bed
@ -121,8 +121,6 @@ static void
|
|||||||
find_next_cascade (MetaWindow *window,
|
find_next_cascade (MetaWindow *window,
|
||||||
/* visible windows on relevant workspaces */
|
/* visible windows on relevant workspaces */
|
||||||
GList *windows,
|
GList *windows,
|
||||||
int x,
|
|
||||||
int y,
|
|
||||||
int *new_x,
|
int *new_x,
|
||||||
int *new_y)
|
int *new_y)
|
||||||
{
|
{
|
||||||
@ -974,7 +972,7 @@ meta_window_place (MetaWindow *window,
|
|||||||
goto done_check_denied_focus;
|
goto done_check_denied_focus;
|
||||||
|
|
||||||
/* No good fit? Fall back to cascading... */
|
/* 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:
|
done_check_denied_focus:
|
||||||
/* If the window is being denied focus and isn't a transient of the
|
/* If the window is being denied focus and isn't a transient of the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user