From 93a5d6fef6e1ed01ed722d1110ad362369335f17 Mon Sep 17 00:00:00 2001 From: wang_zhiqiang Date: Wed, 12 Dec 2018 11:03:36 +0800 Subject: [PATCH] Use Event_ShowWindow instead of Event_TapShortcut The interface of homescreen service will be changed then, use Event_ShowWindow instead of Event_TapShortcut. Related changes: agl-service-homescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17929/ libhomescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17931/ libqthomescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17933/ BUG-AGL: SPEC-1931 Change-Id: I962217c0cd7101ab7f02c56e12658dd1f43c4272 Signed-off-by: wang_zhiqiang --- src/runxdg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runxdg.cpp b/src/runxdg.cpp index 1b9c08c..30a11e4 100644 --- a/src/runxdg.cpp +++ b/src/runxdg.cpp @@ -328,7 +328,7 @@ int RunXDG::init_hs (void) AGL_DEBUG("Activesurface %s ", this->m_role.c_str()); this->m_wm->activateWindow(this->m_role.c_str(), AREA_NORMAL_FULL); }; - m_hs->set_event_handler(LibHomeScreen::Event_TapShortcut, handler); + m_hs->set_event_handler(LibHomeScreen::Event_ShowWindow, handler); std::function< void(json_object*) > h_default= [](json_object* object) { const char *j_str = json_object_to_json_string(object); -- 2.16.6