From 5d05965a888976ee4b8cf65e25c01bbff8769b3c Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Mon, 19 Mar 2018 19:17:06 +0900 Subject: Send visible event after commit change Visible event was emitted before commit change of ivi-controller. This patch changes the event emitted after commit change. Bug-AGL: SPEC-1332 Change-Id: Ib8a6d3a513c1fe4a28111b2ad256122289fc5cc0 Signed-off-by: Kazumasa Mitsunari --- src/app.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/app.cpp b/src/app.cpp index 846684b..1a82eef 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -586,7 +586,6 @@ char const *App::api_enddraw(char const *drawing_name) { std::swap(this->pending_end_draw[i], this->pending_end_draw[iend - 1]); this->pending_end_draw.resize(iend - 1); this->activate(this->pending_end_draw[i]); - this->layout_commit(); this->emit_flushdraw(drawing_name); return nullptr; } @@ -859,6 +858,7 @@ void App::activate(int id) { } } // <<< FOR CES DEMO + this->layout_commit(); this->emit_visible(label); this->emit_activated(label); -- cgit 1.2.3-korg