diff options
-rw-r--r-- | launcher/src/main.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/launcher/src/main.cpp b/launcher/src/main.cpp index 937e909..615453a 100644 --- a/launcher/src/main.cpp +++ b/launcher/src/main.cpp @@ -153,16 +153,7 @@ int main(int argc, char *argv[]) homescreenHandler->init(port, token.toStdString().c_str()); homescreenHandler->set_event_handler(QLibHomeScreen::Event_TapShortcut, [layoutHandler, myname](json_object *object){ - json_object *appnameJ = nullptr; - if(json_object_object_get_ex(object, "application_name", &appnameJ)) - { - const char *appname = json_object_get_string(appnameJ); - if(myname == appname) - { - qDebug("Surface %s got tapShortcut\n", appname); - layoutHandler->activateSurface(myname); - } - } + layoutHandler->activateSurface(myname); }); return a.exec(); |