From d21de3da0be206f4ff0bc8543d4168e745f369b4 Mon Sep 17 00:00:00 2001 From: wang_zhiqiang Date: Wed, 12 Dec 2018 13:38:04 +0800 Subject: 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 --- src/aglextras/hmi/aglwmclient.cpp | 6 +++--- 1 file 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(); } ); -- cgit