summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/shell.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shell.c b/src/shell.c
index e1aac8d..6944f8a 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -606,7 +606,8 @@ shell_ready(struct wl_client *client, struct wl_resource *shell_res)
ivi->shell_client.ready = true;
wl_list_for_each(output, &ivi->outputs, link) {
- remove_black_surface(output);
+ if (output->background)
+ remove_black_surface(output);
ivi_layout_init(ivi, output);
}