From: Junseok, Kim Date: Tue, 10 Mar 2020 04:57:57 +0000 (+0900) Subject: e_policy_wl: send configured output resolution when failed to read base_output_resolution X-Git-Tag: submit/tizen_5.5/20200313.013809~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=172f302e89825e273568e49bccd9835826bde1cd;p=platform%2Fupstream%2Fenlightenment.git e_policy_wl: send configured output resolution when failed to read base_output_resolution Change-Id: I1f580f3bb7324c2a8d68b88a7986021353cd41d3 --- diff --git a/src/bin/e_policy_wl.c b/src/bin/e_policy_wl.c index 25d8efbbaf..832aaf8d66 100644 --- a/src/bin/e_policy_wl.c +++ b/src/bin/e_policy_wl.c @@ -6823,10 +6823,9 @@ _tzlaunch_appinfo_iface_cb_get_base_output_resolution(struct wl_client *client, return; err: - if (!e_comp_wl_pid_output_configured_resolution_get(pid, &width, &height)) - ELOGF("TZ_APPINFO", "ERROR failed to get Output base_output_resolution send size(%d, %d) : pid(%u)", NULL, width, height, pid); - else - ELOGF("TZ_APPINFO", "send Output base_output_resolution size(%d, %d) : pid(%u)", NULL, width, height, pid); + width = e_config->configured_output_resolution.w; + height = e_config->configured_output_resolution.h; + ELOGF("TZ_APPINFO", "send Output base_output_resolution size(%d, %d) : pid(%u)", NULL, width, height, pid); tizen_launch_appinfo_send_base_output_resolution_done(res_tzlaunch_appinfo, pid, width, height); return;