X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Flayout.c;fp=src%2Flayout.c;h=c98ae762ff626547bbfa9a0e27179fb7664efe7d;hb=b13e185e7214218ca00025a480695392aa5cdee2;hp=a8f0956ec63fd17e70a977b30986b91d6d672edc;hpb=7ecc8c2ee8a776bb1d57df22cb74493633c6f6e1;p=src%2Fagl-compositor.git diff --git a/src/layout.c b/src/layout.c index a8f0956..c98ae76 100644 --- a/src/layout.c +++ b/src/layout.c @@ -203,6 +203,7 @@ ivi_layout_activate_complete(struct ivi_output *output, woutput->y + output->area.y); view->is_mapped = true; + surf->mapped = true; view->surface->is_mapped = true; if (output->active) { @@ -340,7 +341,6 @@ ivi_layout_desktop_committed(struct ivi_surface *surf) weston_desktop_surface_get_app_id(surf->dsurface), ivi_layout_get_surface_role_name(surf)); ivi_layout_activate(r_output, app_id); - surf->mapped = true; } else if (!app_id) { /* * applications not setting an app_id, or @@ -352,7 +352,6 @@ ivi_layout_desktop_committed(struct ivi_surface *surf) weston_log("Surface no app_id, role %s activating by default\n", ivi_layout_get_surface_role_name(surf)); ivi_layout_activate_by_surf(r_output, surf); - surf->mapped = true; } } @@ -377,7 +376,6 @@ ivi_layout_desktop_committed(struct ivi_surface *surf) weston_desktop_surface_get_app_id(surf->dsurface), ivi_layout_get_surface_role_name(surf)); ivi_layout_activate(output, app_id); - surf->mapped = true; } return; }