evas_object_smart_callback_call(ec->frame, "maximize", NULL);
e_client_resize_limit(ec, &w, &h);
- if (e_comp_object_frame_allowed(ec->frame))
- {
- e_comp_object_frame_xy_unadjust(ec->frame, ec->x, ec->y, &ecx, &ecy);
- e_comp_object_frame_wh_unadjust(ec->frame, ec->w, ec->h, &ecw, &ech);
- }
- else
- ecx = ec->x, ecy = ec->y, ecw = ec->w, ech = ec->h;
+ e_comp_object_frame_xy_unadjust(ec->frame, ec->x, ec->y, &ecx, &ecy);
+ e_comp_object_frame_wh_unadjust(ec->frame, ec->w, ec->h, &ecw, &ech);
if (ecw < zw)
w = ecw;
{
/* Horizontal hasn't been set */
ec->saved.x = ec->client.x - ec->zone->x;
- if ((!e_comp_object_frame_allowed(ec->frame)) && (!e_pixmap_is_x(ec->pixmap)))
- ec->saved.w = ec->w;
- else
- ec->saved.w = ec->client.w;
+ ec->saved.w = ec->client.w;
}
if (!(ec->maximized & E_MAXIMIZE_VERTICAL))
{
/* Vertical hasn't been set */
ec->saved.y = ec->client.y - ec->zone->y;
- if ((!e_comp_object_frame_allowed(ec->frame)) && (!e_pixmap_is_x(ec->pixmap)))
- ec->saved.h = ec->h;
- else
- ec->saved.h = ec->client.h;
+ ec->saved.h = ec->client.h;
}
ec->saved.zone = ec->zone->num;