X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fshell.c;h=9e7693eb847d09ddebfccc001ba5010f5cc8f67e;hb=65361f9f797905679c6c58c58733036911d54f7e;hp=f059de6408a49ee092a9495c4b16a230d5496437;hpb=9c605257e22e0f28939c6b679324488b2719999d;p=src%2Fagl-compositor.git diff --git a/src/shell.c b/src/shell.c index f059de6..9e7693e 100644 --- a/src/shell.c +++ b/src/shell.c @@ -54,6 +54,7 @@ agl_shell_desktop_advertise_application_id(struct ivi_compositor *ivi, struct ivi_surface *surface) { struct desktop_client *dclient; + static bool display_adv = false; if (surface->advertised_on_launch) return; @@ -63,7 +64,10 @@ agl_shell_desktop_advertise_application_id(struct ivi_compositor *ivi, const char *app_id = weston_desktop_surface_get_app_id(surface->dsurface); if (app_id == NULL) { - weston_log("WARNING app_is is null, unable to advertise\n"); + if (!display_adv) { + weston_log("WARNING app_is is null, unable to advertise\n"); + display_adv = true; + } return; } agl_shell_desktop_send_application(dclient->resource, app_id); @@ -707,7 +711,7 @@ remove_black_surface(struct ivi_output *output) weston_layer_entry_remove(&view->layer_link); weston_view_update_transform(view); - weston_output_damage(output->output); + weston_view_damage_below(view); } void @@ -734,7 +738,7 @@ insert_black_surface(struct ivi_output *output) view->surface->is_mapped = true; weston_view_update_transform(view); - weston_output_damage(output->output); + weston_view_damage_below(view); } static void