From a9f141d714746ce769dade82a620a79fcea745d4 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Mon, 16 Jul 2018 10:54:12 +0900 Subject: Output log on surface_properties Change-Id: If921d58c5d046b45c81db221de78630b7664455f Signed-off-by: Kazumasa Mitsunari --- src/window_manager.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/window_manager.cpp b/src/window_manager.cpp index a57f021..8b2cfbc 100644 --- a/src/window_manager.cpp +++ b/src/window_manager.cpp @@ -711,6 +711,14 @@ void WindowManager::surface_properties(unsigned surface_id, unsigned pid) // pick up appid from pid from application manager std::string appid; + if(response == nullptr) + { + HMI_ERROR("wm", "No runners"); + } + else + { + HMI_INFO("wm", "Runners:%s", json_object_get_string(response)); + } // check appid then add it to the client g_app_list.addFloatingSurface(appid, surface_id, pid); -- cgit 1.2.3-korg