From: SooChan Lim Date: Tue, 3 Nov 2020 02:22:51 +0000 (+0900) Subject: Revert "e_client: fix the dereferenced data" X-Git-Tag: submit/tizen/20201103.033023~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=56782b0998164fa59fb1fb55f5d534b5dbab9782;p=platform%2Fupstream%2Fenlightenment.git Revert "e_client: fix the dereferenced data" This reverts commit b40e2c03385173a36e20563e39e900c10b5fc08c. Change-Id: Ie726329b3c346114f6d84ba4a2865e0611c08073 --- diff --git a/src/bin/e_client.c b/src/bin/e_client.c index e13143f45d..b5f4b77388 100644 --- a/src/bin/e_client.c +++ b/src/bin/e_client.c @@ -7672,13 +7672,14 @@ e_client_base_output_resolution_update(E_Client *ec) if (!e_config->configured_output_resolution.use) return EINA_TRUE; if (ec->base_output_resolution.use) return EINA_TRUE; + cdata = e_client_cdata_get(ec); + /* Check whether it's subsurface or not * The resolution of subsurface will follow the resolution of its toplevel surface. * Transform for subsurface will be applied when toplevel surface does by * implementation of e_client_transform_core. */ - cdata = e_client_cdata_get(ec); - if (cdata && cdata->sub.data) return EINA_FALSE; + if (cdata->sub.data) return EINA_FALSE; configured_width = e_config->configured_output_resolution.w; configured_height = e_config->configured_output_resolution.h;