{
E_Client_Pending_Geometry *geo;
- if (!ec) goto err;
- if (e_object_is_del(E_OBJECT(ec))) goto err;
+ if (!ec) goto ret;
+ if (e_object_is_del(E_OBJECT(ec))) goto ret;
if (ec->new_client || ec->fullscreen || ec->maximized) goto err;
if (mode == E_GEOMETRY_NONE) goto err;
err:
ELOGF("POSSIZE", "Could not add geometry(new:%d full:%d max:%d)", ec->pixmap, ec, ec->new_client, ec->fullscreen, ec->maximized);
+
+ret:
return EINA_FALSE;
}
E_Client *ec;
ec = wl_resource_get_user_data(surface);
- if (!ec) goto err;
+ if (!ec) return;
if (!e_comp_wl_commit_sync_client_geometry_add(ec, E_GEOMETRY_POS | E_GEOMETRY_SIZE, serial, x, y, w, h)) goto err;
return;