desktop-shell: Remove useless setting of shell_fade output

weston_view_move_to_layer() recalculates the output, so this can do no
good.

This output is only ever used to test against NULL anyway, so we don't
need to try to set it "properly".

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
Derek Foreman 2023-08-18 13:36:26 -05:00 committed by Marius Vlad
parent d79fc78152
commit d215dc8319
1 changed files with 0 additions and 1 deletions

View File

@ -3929,7 +3929,6 @@ shell_fade_create_view_for_output(struct desktop_shell *shell,
curtain = weston_shell_utils_curtain_create(compositor, &curtain_params);
assert(curtain);
weston_view_set_output(curtain->view, output);
weston_view_move_to_layer(curtain->view, &compositor->fade_layer.view_list);
return curtain;