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;