Synthetic change, to group them together. Makes reading the code a bit
more clearer.
Bug-AGL: SPEC-3601
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Id1f5ad9a408591a010678a53eff0f3cad2d269d9
* surface view if there's no background set for that output
*/
if (desktop_surface_check_last_remote_surfaces(output->ivi,
* surface view if there's no background set for that output
*/
if (desktop_surface_check_last_remote_surfaces(output->ivi,
- IVI_SURFACE_ROLE_REMOTE))
+ IVI_SURFACE_ROLE_REMOTE) ||
+ desktop_surface_check_last_remote_surfaces(output->ivi,
+ IVI_SURFACE_ROLE_DESKTOP))
if (!output->background)
insert_black_surface(output);
if (!output->background)
insert_black_surface(output);
- if (desktop_surface_check_last_remote_surfaces(output->ivi,
- IVI_SURFACE_ROLE_DESKTOP))
- if (!output->background)
- insert_black_surface(output);
if (weston_surface_is_mapped(wsurface)) {
weston_desktop_surface_unlink_view(surface->view);
if (weston_surface_is_mapped(wsurface)) {
weston_desktop_surface_unlink_view(surface->view);