From: wang_zhiqiang Date: Wed, 12 Dec 2018 03:03:36 +0000 (+0800) Subject: Use Event_ShowWindow instead of Event_TapShortcut X-Git-Tag: 6.99.3^2 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=staging%2Fxdg-launcher.git;a=commitdiff_plain;h=93a5d6fef6e1ed01ed722d1110ad362369335f17;hp=f0432213c7c40d70fef06f9ceb665463d23b32e6 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 --- 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);