desktop-shell: Remove unused params from internal map() function

We don't use these.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
Derek Foreman 2022-02-08 11:37:47 -06:00 committed by Pekka Paalanen
parent 64c618e47e
commit e5e9980391
1 changed files with 2 additions and 3 deletions

View File

@ -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) {