efl-wl: don't randomly set min/max size hints on popup surface objects

this is misleading since popups don't have min/max size hints
This commit is contained in:
Mike Blumenkrantz 2017-10-20 16:02:38 -04:00
parent 807006385d
commit 2b3c8d7f3f
1 changed files with 0 additions and 5 deletions

View File

@ -1413,11 +1413,6 @@ comp_surface_commit_state(Comp_Surface *cs, Comp_Buffer_State *state)
{
evas_object_move(cs->img, x + buffer->x, y + buffer->y);
evas_object_resize(cs->obj, buffer->w, buffer->h);
if (cs->shell.popup)
{
evas_object_size_hint_min_set(cs->obj, buffer->w, buffer->h);
evas_object_size_hint_max_set(cs->obj, buffer->w, buffer->h);
}
}
else if (cs->shell.new)
shell_surface_init(cs);