X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Flayout.c;h=b1d8b3d41f888d59e27784f728a21d963fe5b558;hb=refs%2Fchanges%2F67%2F25867%2F1;hp=0363af7df960159d70d7804d9079e60e3f86c500;hpb=bdd8dd718496dc8e4330209c46c196442bcf7d3e;p=src%2Fagl-compositor.git diff --git a/src/layout.c b/src/layout.c index 0363af7..b1d8b3d 100644 --- a/src/layout.c +++ b/src/layout.c @@ -328,6 +328,12 @@ ivi_layout_desktop_committed(struct ivi_surface *surf) return; } + if (!surf->ivi->activate_by_default) { + weston_log("Refusing to activate surface role %d, app_id %s\n", + surf->role, app_id); + return; + } + /* use the output of the bg to activate the app on start-up by * default */ if (surf->view && r_output) {