X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=app%2Fmain.cpp;fp=app%2Fmain.cpp;h=7bc4e2f97332b2a8823d812ee5eb57fbb27ade56;hb=a605a430cce1253f17f943f2c0c7441e059eafea;hp=53ce4d554a88b8ad775bafc82f1791930915fcbb;hpb=288364b4644ae41be94b0b38b9a508d1b494a1d7;p=apps%2Fmediaplayer.git diff --git a/app/main.cpp b/app/main.cpp index 53ce4d5..7bc4e2f 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -84,9 +84,9 @@ int main(int argc, char *argv[]) // HomeScreen hs->init(port, token.c_str()); - // Set the event handler for Event_TapShortcut which will activate the surface for windowmanager - hs->set_event_handler(LibHomeScreen::Event_TapShortcut, [qwm, &graphic_role](json_object *object){ - qDebug("Surface %s got tapShortcut\n", graphic_role.toStdString().c_str()); + // Set the event handler for Event_ShowWindow which will activate the surface for windowmanager + hs->set_event_handler(LibHomeScreen::Event_ShowWindow, [qwm, &graphic_role](json_object *object){ + qDebug("Surface %s got showWindow\n", graphic_role.toStdString().c_str()); qwm->activateWindow(graphic_role); });