forked from enlightenment/enlightenment
fix frame size calc check to account for themes with 0 height
This commit is contained in:
parent
3f2efbc548
commit
b9e6a624ef
|
@ -1261,7 +1261,7 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
evas_object_move(cw->smart_obj, cw->ec->x, cw->ec->y);
|
evas_object_move(cw->smart_obj, cw->ec->x, cw->ec->y);
|
||||||
if (cw->frame_object && (cw->ec->h == cw->ec->client.h))
|
if (cw->frame_object && (cw->ec->h == cw->ec->client.h) && (cw->ec->w == cw->ec->client.w))
|
||||||
CRI("ACK!");
|
CRI("ACK!");
|
||||||
evas_object_resize(cw->smart_obj, cw->ec->w, cw->ec->h);
|
evas_object_resize(cw->smart_obj, cw->ec->w, cw->ec->h);
|
||||||
if ((cw->w < 1) || (cw->h < 1))
|
if ((cw->w < 1) || (cw->h < 1))
|
||||||
|
|
Loading…
Reference in New Issue