summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-03-19 19:17:06 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-03-19 19:37:17 +0900
commit5d05965a888976ee4b8cf65e25c01bbff8769b3c (patch)
treeada21327a07eae22d9470fa17253b9af96dc214d /src
parentc146ba77b6546ac6703b41072a7f0b1a72803d63 (diff)
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 <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src')
-rw-r--r--src/app.cpp2
1 files changed, 1 insertions, 1 deletions
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);