aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/aglextras/hmi/aglwmclient.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/aglextras/hmi/aglwmclient.cpp b/src/aglextras/hmi/aglwmclient.cpp
index 3baf6c7..3789c51 100644
--- a/src/aglextras/hmi/aglwmclient.cpp
+++ b/src/aglextras/hmi/aglwmclient.cpp
@@ -158,14 +158,8 @@ AGLWmClient::AGLWmClient (const QString&, int port, QString)
h_ptr->set_event_handler (
LibHomeScreen::Event_TapShortcut,
[this](json_object* object) {
- json_object *jo_app_name = nullptr;
- if(json_object_object_get_ex(object, "application_name", &jo_app_name)) {
- QString name(QLatin1String(json_object_get_string(jo_app_name)));
- if(d_ptr->layout == name) {
- qDebug("Surface %s got tapShortcut\n", qPrintable(name));
- activate_window();
- }
- }
+ qDebug("Surface got tapShortcut!\n");
+ activate_window();
}
);
#endif // USE_AGL_HMI_LOWLEVEL_API