From b3fd815bedf46541ba3a6274c729acaca7b17c3c Mon Sep 17 00:00:00 2001 From: Mattia Formichetti Date: Sat, 25 Jan 2025 23:11:51 +0100 Subject: [PATCH] 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: --- src/core/place.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/core/place.c b/src/core/place.c index 0cd192ac7..47e2dde08 100644 --- a/src/core/place.c +++ b/src/core/place.c @@ -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