From e5e998039182b11a94b46ef2bdff5e4f13feb92a Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Tue, 8 Feb 2022 11:37:47 -0600 Subject: desktop-shell: Remove unused params from internal map() function We don't use these. Signed-off-by: Derek Foreman --- desktop-shell/shell.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'desktop-shell') diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 40f3b8c3..48005831 100644 --- a/desktop-shell/shell.c +++ b/desktop-shell/shell.c @@ -1989,8 +1989,7 @@ set_position_from_xwayland(struct shell_surface *shsurf) } static void -map(struct desktop_shell *shell, struct shell_surface *shsurf, - int32_t sx, int32_t sy) +map(struct desktop_shell *shell, struct shell_surface *shsurf) { struct weston_surface *surface = weston_desktop_surface_get_surface(shsurf->desktop_surface); @@ -2067,7 +2066,7 @@ desktop_surface_committed(struct weston_desktop_surface *desktop_surface, weston_desktop_surface_get_maximized(desktop_surface); if (!weston_surface_is_mapped(surface)) { - map(shell, shsurf, sx, sy); + map(shell, shsurf); /* as we need to survive the weston_surface destruction we'll * need to take another reference */ if (shsurf->shell->win_close_animation_type == ANIMATION_FADE) { -- cgit v1.2.1