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>
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;
}
}
}
// <<< FOR CES DEMO
+ this->layout_commit();
this->emit_visible(label);
this->emit_activated(label);