X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwindow_manager.cpp;h=4fcab5f746101b1a9a552e70aea3dcf7e09703dc;hb=refs%2Fchanges%2F65%2F20265%2F5;hp=22f1e22f772441e38eb40ead63234794c62a940d;hpb=ceb1049ca57b0fd0ce41e9eca631557ffa46993a;p=apps%2Fagl-service-windowmanager.git diff --git a/src/window_manager.cpp b/src/window_manager.cpp index 22f1e22..4fcab5f 100644 --- a/src/window_manager.cpp +++ b/src/window_manager.cpp @@ -172,7 +172,7 @@ result WindowManager::api_request_surface(char const *appid, char const *dr { // register drawing_name as fallback and make it displayed. lid = this->lc->getNewLayerID(string("fallback")); - HMI_DEBUG("%s is not registered in layers.json, then fallback as normal app", role); + HMI_DEBUG("%s is not registered in layers.json, then fallback as normal app", role.c_str()); if (lid == 0) { return Err("Designated role does not match any role, fallback is disabled"); @@ -229,7 +229,7 @@ char const *WindowManager::api_request_surface(char const *appid, char const *dr { // register drawing_name as fallback and make it displayed. l_id = this->lc->getNewLayerID("fallback"); - HMI_DEBUG("%s is not registered in layers.json, then fallback as normal app", role); + HMI_DEBUG("%s is not registered in layers.json, then fallback as normal app", role.c_str()); if (l_id == 0) { return "Designated role does not match any role, fallback is disabled"; @@ -486,7 +486,7 @@ bool WindowManager::api_subscribe(afb_req_t req, EventType event_id) HMI_ERROR("not defined in Window Manager", event_id); return ret; } - HMI_INFO("%s subscribe %s : %d", appid, kListEventName[event_id], event_id); + HMI_INFO("%s subscribe %s : %d", appid, kListEventName[event_id].c_str(), event_id); if(event_id == Event_ScreenUpdated) { // Event_ScreenUpdated should be emitted to subscriber @@ -804,7 +804,6 @@ WMError WindowManager::startTransition(unsigned req_num) for (const auto &x : actions) { this->lc->visibilityChange(x); - x.client->emitActive(false); x.client->emitVisible(false); } this->lc->renderLayers(); @@ -841,8 +840,6 @@ WMError WindowManager::doEndDraw(unsigned req_num) return ret; } ret = this->lc->visibilityChange(act); - - act.client->emitActive((act.visible == VISIBLE)); act.client->emitVisible((act.visible == VISIBLE)); if (ret != WMError::SUCCESS)