X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=app%2Fmain.cpp;fp=app%2Fmain.cpp;h=6fdc1cec5819b76e82eb0a494b17fc48d6edf712;hb=938e339554d6f7f47c6054768bba2bb92a9b8d17;hp=255b39d833e76149e42a9f57e76d213ff7bdc13d;hpb=d32d36b936cb031ba1b11c67c0d9c6afbdc280b3;p=apps%2Fmixer.git diff --git a/app/main.cpp b/app/main.cpp index 255b39d..6fdc1ce 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -98,9 +98,9 @@ int main(int argc, char *argv[]) // HomeScreen std::string token = secret.toStdString(); 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); }); #else