summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/layout.c2
-rw-r--r--src/shell.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/layout.c b/src/layout.c
index 0ab7e7c..95d3e54 100644
--- a/src/layout.c
+++ b/src/layout.c
@@ -1050,7 +1050,7 @@ ivi_layout_reset_split_surfaces(struct ivi_compositor *ivi)
return;
output = ivisurf->current_completed_output;
- if (output->previous_active) {
+ if (output->previous_active && output->background != output->previous_active) {
struct weston_view *ev = output->previous_active->view;
struct weston_output *woutput = output->output;
diff --git a/src/shell.c b/src/shell.c
index cce4dec..a44dddf 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -1921,7 +1921,7 @@ void shell_set_app_split(struct wl_client *client, struct wl_resource *res,
return;
}
- if (output->previous_active) {
+ if (output->previous_active && output->background != output->previous_active) {
struct weston_view *ev = output->previous_active->view;
if (!weston_view_is_mapped(ev))