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:
parent
d79fc78152
commit
d215dc8319
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue