aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2018-12-12 13:38:04 +0800
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2018-12-20 10:28:26 +0000
commitd21de3da0be206f4ff0bc8543d4168e745f369b4 (patch)
treed22632dcacf2b397fbda3bf3298c16628874323f
parent462a0cae26a82da76004b0176aa5f2ff02b3bba0 (diff)
Use new event for activating window
The new event 'Event_ShowWindow' is introduced as HomeScreen service API instead of 'Event_TapShortcut'. This API is available from GG RC3. BUG-AGL: SPEC-1931 Change-Id: Ia0fd47a368094ed9284c57c44d5bc7fe1bd77768 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
-rw-r--r--src/aglextras/hmi/aglwmclient.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/aglextras/hmi/aglwmclient.cpp b/src/aglextras/hmi/aglwmclient.cpp
index 5c79832..a754763 100644
--- a/src/aglextras/hmi/aglwmclient.cpp
+++ b/src/aglextras/hmi/aglwmclient.cpp
@@ -154,11 +154,11 @@ AGLWmClient::AGLWmClient (const QString&, int port, QString)
}
);
- // Set the event handler for Event_TapShortcut which will activate the surface for windowmanager
+ // Set the event handler for Event_ShowWindow which will activate the surface for windowmanager
h_ptr->set_event_handler (
- LibHomeScreen::Event_TapShortcut,
+ LibHomeScreen::Event_ShowWindow,
[this](json_object* object) {
- qDebug("Surface got tapShortcut\n");
+ qDebug("Surface got showWindow\n");
activate_window();
}
);