diff options
Diffstat (limited to 'src/layout.c')
-rw-r--r-- | src/layout.c | 6 |
1 files changed, 6 insertions, 0 deletions
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) { |