From 6adb64ee4760b33cf212f03d3190100d37556a9a Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Mon, 23 Oct 2017 17:28:13 +0900 Subject: Change the sequence how signals are emitted According to https://wiki.automotivelinux.org/_media/agl-hmi-fw_windowmanager_spec_v0.1.0.pdf, the visible event is emitted first Bug-AGL : SPEC-987 Change-Id: I5b5fa669b31b9a5283ccc91702064207a85d838c Signed-off-by: Kazumasa Mitsunari --- src/app.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/app.cpp') diff --git a/src/app.cpp b/src/app.cpp index 75df8d7..8aa7547 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -639,8 +639,8 @@ void App::activate(int id) { this->controller->surfaces[id]->set_visibility(1); char const *label = this->lookup_name(id).value_or("unknown-name").c_str(); - this->emit_activated(label); this->emit_visible(label); + this->emit_activated(label); } } -- cgit 1.2.3-korg