summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xweston-ivi-shell/src/ivi-controller.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/weston-ivi-shell/src/ivi-controller.c b/weston-ivi-shell/src/ivi-controller.c
index 004453e..59765cc 100755
--- a/weston-ivi-shell/src/ivi-controller.c
+++ b/weston-ivi-shell/src/ivi-controller.c
@@ -425,6 +425,9 @@ send_surface_add_event(struct ivisurface *ivisurf,
if (id_layout_layer != ctrllayer->id_layer) {
continue;
}
+ if (resource != ctrllayer->resource) {
+ continue;
+ }
ivi_controller_surface_send_layer(resource, ctrllayer->resource);
}
}