}
auto client = g_app_list.lookUpClient(id);
- unsigned srfc = client->surfaceID(role);
- if(srfc == 0)
- {
- HMI_ERROR("role sould be set with surface");
- reply("role sould be set with surface");
- return;
- }
- g_app_list.removeFloatingSurface(client->surfaceID());
+ // unsigned srfc = client->surfaceID(role);
+ // unsigned layer = client->layerID();
+
+ // g_app_list.removeFloatingSurface(client->surfaceID());
+ // g_app_list.removeFloatingSurface(client);
Task task = Task::TASK_ALLOCATE;
unsigned req_num = 0;
if(!g_app_list.contains(act.appid)){
ret = WMError::NOT_REGISTERED;
}
- ret = this->layoutChange(act);
+ ret = this->lc->layoutChange(act);
if(ret != WMError::SUCCESS)
{
HMI_SEQ_WARNING(req_num,
"Failed to manipulate surfaces while state change : %s", errorDescription(ret));
return ret;
}
- ret = this->visibilityChange(act);
+ ret = this->lc->visibilityChange(act);
if (ret != WMError::SUCCESS)
{
HMI_SEQ_WARNING(req_num,
//this->lc_enddraw(act.role.c_str());
}
}
- this->layout_commit();
+ this->lc->commitChange();
HMI_SEQ_INFO(req_num, "emit flushDraw");