summaryrefslogtreecommitdiffstats
path: root/src
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-20 11:21:43 +0000
commit026af4256b9b69ffd52972d6da0cb394dff2b0e6 (patch)
tree527d475948bd6eb673e89fd5307388e97e4080a5 /src
parent06f1e490056dd7df7948a031c64e9ccf87d9a231 (diff)
Change Visible and InVisible event to broadcastflounder_5.99.1flounder/5.99.15.99.1
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>
Diffstat (limited to 'src')
-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);
}
}
}