summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>2014-06-06 05:27:17 -0700
committerNobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>2014-06-17 10:15:30 +0900
commit974553ff1e779239055a97a646491fdf6245482b (patch)
tree1a43de6c3f4ea064eddf66a16bb7e8c646bd267c
parent05e3e0bea3871aa97e33c4dd1b0faa8073675d9a (diff)
downloadwayland-ivi-extension-974553ff1e779239055a97a646491fdf6245482b.tar.gz
weston-ivi-shell: Fix using wrong resource of layer
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
-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);
}
}