diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2020-10-21 21:51:09 +0300 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2020-11-05 10:41:32 +0200 |
commit | ea7a72cbc284e5877756629abb4d376aecb47f24 (patch) | |
tree | e6202c3d53d34fc0360ea5464dcad6d9aaad74b8 | |
parent | 3d32d6d6daf5d703a29083b08d79449fd06ed0b3 (diff) |
desktop: Insert a black surface only when the output is a remote type
And the output is not a waltham version.
Bug-AGL: SPEC-3601, SPEC-3611
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I9ce3354fe59ad5f4de691823627e3603fc4cb226
-rw-r--r-- | src/desktop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/desktop.c b/src/desktop.c index 504ad47..4caba48 100644 --- a/src/desktop.c +++ b/src/desktop.c @@ -195,10 +195,10 @@ desktop_surface_removed(struct weston_desktop_surface *dsurface, void *userdata) /* check if there's a last 'remote' surface and insert a black * surface view if there's no background set for that output */ - if (desktop_surface_check_last_remote_surfaces(output->ivi, + if ((desktop_surface_check_last_remote_surfaces(output->ivi, IVI_SURFACE_ROLE_REMOTE) || desktop_surface_check_last_remote_surfaces(output->ivi, - IVI_SURFACE_ROLE_DESKTOP)) + IVI_SURFACE_ROLE_DESKTOP)) && output->type == OUTPUT_REMOTE) if (!output->background) insert_black_surface(output); |