summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2017-12-20 17:22:59 +0900
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2017-12-25 07:36:32 +0000
commitee2b2fbb449f5a7fcf55b72f8936d27799a8eff8 (patch)
tree650b9758883ae782de6b2a5a2ffb0d097b5fdc30
parent881876d4908aaa4015e9d5f5d318c1b5fe1052dc (diff)
Visible/Invisibile event which is sent to application from window manager, becomes boardcasted in order that HomeScreen needs to know which application becomes visibile. Bug-AGL: SPEC-1214 Change-Id: Id168789f4eca9eea61fc8b671a9aeab2224694bf Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
-rw-r--r--src/libwindowmanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libwindowmanager.cpp b/src/libwindowmanager.cpp
index dfb8631..21f7645 100644
--- a/src/libwindowmanager.cpp
+++ b/src/libwindowmanager.cpp
@@ -690,6 +690,8 @@ void LibWindowmanager::Impl::event(char const *et, json_object *object) {
if (this->labels.find(label) != this->labels.end()) {
i->second(object);
+ }else if (i->first == Event_Visible || i->first == Event_Invisible){
+ i->second(object);
}
}
}