- AGL_DEBUG("Activesurface %s ", this->m_role.c_str());
- this->m_wm->activateWindow(this->m_role.c_str(), AREA_NORMAL_FULL);
+ json_object *val;
+
+ if (json_object_object_get_ex(object, "application_name", &val)) {
+ const char *name = json_object_get_string(val);
+
+ AGL_DEBUG("Event_TapShortcut <%s>", name);
+
+ json_object *para, *area;
+ json_object_object_get_ex(object, "parameter", ¶);
+ json_object_object_get_ex(para, "area", &area);
+ const char *displayArea = json_object_get_string(area);
+ AGL_DEBUG("display area=%s",displayArea);
+
+ json_object *obj = json_object_new_object();
+ json_object_object_add(obj, this->m_wm->kKeyDrawingName,
+ json_object_new_string(this->m_role.c_str()));
+ json_object_object_add(obj, this->m_wm->kKeyDrawingArea,
+ json_object_new_string(displayArea));
+ this->m_wm->activateWindow(obj);
+
+ }