X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Flayout.c;fp=src%2Flayout.c;h=325f7124da75685b02c964b6e01286e551b97d9c;hb=168261297ce8d6e17ca69eb1de4d0e98de52eedc;hp=0b8858d9dcd6679fa96f3d328ac9af89f6801da6;hpb=81be1de53fd49b7a31e5fea217e88c038e22c3f9;p=src%2Fagl-compositor.git diff --git a/src/layout.c b/src/layout.c index 0b8858d..325f712 100644 --- a/src/layout.c +++ b/src/layout.c @@ -236,8 +236,8 @@ ivi_layout_activate_complete(struct ivi_output *output, ivi_layout_get_surface_role_name(surf), output->name); } -static struct ivi_output * -ivi_layout_find_app_id(const char *app_id, struct ivi_compositor *ivi) +struct ivi_output * +ivi_layout_find_with_app_id(const char *app_id, struct ivi_compositor *ivi) { struct ivi_output *out; @@ -303,7 +303,7 @@ ivi_layout_desktop_committed(struct ivi_surface *surf) return; /* check first if there aren't any outputs being set */ - r_output = ivi_layout_find_app_id(app_id, surf->ivi); + r_output = ivi_layout_find_with_app_id(app_id, surf->ivi); if (r_output) { struct weston_view *view = r_output->fullscreen_view.fs->view;