diff options
-rw-r--r-- | src/desktop.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/desktop.c b/src/desktop.c index c5981a7..36fe6f2 100644 --- a/src/desktop.c +++ b/src/desktop.c @@ -324,10 +324,8 @@ 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, - IVI_SURFACE_ROLE_REMOTE) || - desktop_surface_check_last_remote_surfaces(output->ivi, - IVI_SURFACE_ROLE_DESKTOP)) && output->type == OUTPUT_REMOTE) + 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)) if (!output->background) insert_black_surface(output); |