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
layout: Remove black surface when trying to use migrate views to other
[src/agl-compositor.git]
/
src
/
layout.c
diff --git
a/src/layout.c
b/src/layout.c
index
57992ca
..
079325e
100644
(file)
--- a/
src/layout.c
+++ b/
src/layout.c
@@
-324,6
+324,13
@@
ivi_layout_desktop_committed(struct ivi_surface *surf)
/* check first if there aren't any outputs being set */
r_output = ivi_layout_find_app_id(app_id, surf->ivi);
/* check first if there aren't any outputs being set */
r_output = ivi_layout_find_app_id(app_id, surf->ivi);
+ if (r_output) {
+ struct weston_view *view = r_output->fullscreen_view.fs->view;
+ if (view->is_mapped || view->surface->is_mapped)
+ remove_black_surface(r_output);
+ }
+
+
/* try finding an output with a background and use that */
if (!r_output)
r_output = ivi_layout_find_bg_output(surf->ivi);
/* try finding an output with a background and use that */
if (!r_output)
r_output = ivi_layout_find_bg_output(surf->ivi);