ilmControl: added display_flush to layer "screenshot"
authorMarcus Fritzsch <marcus.fritzsch@xse.de>
Tue, 29 Jul 2014 13:07:42 +0000 (15:07 +0200)
committerNobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Tue, 12 Aug 2014 13:15:13 +0000 (22:15 +0900)
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c

index 9bdfa2b..c04458a 100644 (file)
@@ -2547,6 +2547,7 @@ wayland_takeLayerScreenshot(t_ilm_const_string filename, t_ilm_layer layerid)
     if (ctx_layer != NULL) {
         ivi_controller_layer_screenshot(ctx_layer->controller,
                                         filename);
+        wl_display_flush(ctx->main_ctx.display);
         returnValue = ILM_SUCCESS;
     }