weston/desktop-shell
Marius Vlad ea40d6dbfc desktop-shell: Correctly migrate views to other outputs when output is disabled/disconnected
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>
2018-02-09 15:45:46 +00:00
..
exposay.c libweston: Use struct timespec for key events 2017-11-27 11:42:07 +02:00
input-panel.c libweston: introduce weston_output_from_resource() 2017-07-25 16:08:48 +03:00
shell.c desktop-shell: Correctly migrate views to other outputs when output is disabled/disconnected 2018-02-09 15:45:46 +00:00
shell.h libweston: Use struct timespec for compositor time 2017-11-27 11:42:07 +02:00