diff options
author | Derek Foreman <derek.foreman@collabora.com> | 2022-02-08 11:37:47 -0600 |
---|---|---|
committer | Pekka Paalanen <pq@iki.fi> | 2022-09-23 11:57:57 +0000 |
commit | e5e998039182b11a94b46ef2bdff5e4f13feb92a (patch) | |
tree | 4da0a48aaff28dc857334c6e7da7e4259a41e8ea /desktop-shell | |
parent | 64c618e47e92cbb847afdd97fa0d83f70d4e02ee (diff) | |
download | weston-e5e998039182b11a94b46ef2bdff5e4f13feb92a.tar.gz |
desktop-shell: Remove unused params from internal map() function
We don't use these.
Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
Diffstat (limited to 'desktop-shell')
-rw-r--r-- | desktop-shell/shell.c | 5 |
1 files changed, 2 insertions, 3 deletions
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) { |