Our case is when the view is the same as output being disabled/disconnected. There's not need to check the views' output with the output being disabled because weston_view_assign_output() already changes the output of the view when the output has been disabled/disconnected hence the check is not needed at all. The views' output will always be different than the output being disabled. By the time shell_output_destroy_move_layer() gets called the views' output has already changed to a "free" output. Tested this by unplugging/disabling the output on purpose. Signed-off-by: Marius Vlad <marius-cristian.vlad@nxp.com> Reviewed-by: Daniel Stone <daniels@collabora.com>dev
parent
f461414501
commit
ea40d6dbfc
Loading…
Reference in new issue