e_desk_geometry_set(E_Desk *desk, int x, int y, int w, int h)
{
E_Client *ec;
+ E_Comp_Wl_Client_Data *cdata;
E_Maximize max;
Eina_List *l = NULL, *ll = NULL;
Evas_Object *m;
EINA_LIST_FOREACH(sd->clients, l, ec)
{
+ cdata = e_client_cdata_get(ec);
/* even if the desktop geometry is chagned, the system partial windows such as virtual
* keyboard and clipboard should be placed at the bottom of the desktop. */
/* QUICK FIX */
{
continue;
}
- else if ((ec->comp_data) && (ec->comp_data->sub.data))
+ else if (cdata && cdata->sub.data)
{
continue;
}
{
E_Desk *desk;
E_Client *ec;
+ E_Comp_Wl_Client_Data *cdata;
Eina_List *l;
int cx, cy;
double zoomx, zoomy;
EINA_LIST_FOREACH(sd->clients, l, ec)
{
+ cdata = e_client_cdata_get(ec);
if ((ec->visibility.obscured == E_VISIBILITY_UNOBSCURED) ||
- (ec->comp_data && ec->comp_data->sub.data))
+ (cdata && cdata->sub.data))
_e_desk_client_zoom(ec, zoomx, zoomy, cx, cy);
}