forked from enlightenment/efl
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:
parent
807006385d
commit
2b3c8d7f3f
|
@ -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_move(cs->img, x + buffer->x, y + buffer->y);
|
||||||
evas_object_resize(cs->obj, buffer->w, buffer->h);
|
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)
|
else if (cs->shell.new)
|
||||||
shell_surface_init(cs);
|
shell_surface_init(cs);
|
||||||
|
|
Loading…
Reference in New Issue