diff options
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index c45f39f..9893fc6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -474,7 +474,6 @@ void windowmanager_set_render_order(afb_req req) noexcept afb_req_fail(req, "failed", "Binding not initialized, did the compositor die?"); return; } - char* appid = afb_req_get_application_id(req); if(appid) { @@ -484,6 +483,7 @@ void windowmanager_set_render_order(afb_req req) noexcept { int size = json_object_array_length(j_ro); std::vector<std::string> ro(size); + HMI_INFO("render order : %s", json_object_get_string(j_ro)); for(int i = 0; i < size; i++) { ro[i] = json_object_get_string(json_object_array_get_idx(j_ro, i)); @@ -492,7 +492,7 @@ void windowmanager_set_render_order(afb_req req) noexcept auto ret = g_afb_instance->wmgr.api_client_set_render_order(appid, ro); if (!ret) { - afb_req_fail(req, "failed", nullptr); + afb_req_fail(req, "failed", "failed to set render order"); } else { |