summaryrefslogtreecommitdiffstats
path: root/src/app.cpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2017-10-23 17:28:13 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2017-10-26 20:49:14 +0900
commit6adb64ee4760b33cf212f03d3190100d37556a9a (patch)
treed9bbdb5316f900017f0e3a0c7237418b2a4e8e78 /src/app.cpp
parentf9d65c2529e32230a10ca2f96a44a981c490a312 (diff)
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 <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/app.cpp')
-rw-r--r--src/app.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
}