Code Review
/
src
/
agl-compositor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
main: Add activate_by_default ini option
[src/agl-compositor.git]
/
src
/
layout.c
diff --git
a/src/layout.c
b/src/layout.c
index
0363af7
..
b1d8b3d
100644
(file)
--- a/
src/layout.c
+++ b/
src/layout.c
@@
-328,6
+328,12
@@
ivi_layout_desktop_committed(struct ivi_surface *surf)
return;
}
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) {
/* use the output of the bg to activate the app on start-up by
* default */
if (surf->view && r_output) {