efl-wl: max size of 0x0 from shell is -1x-1 in efl

This commit is contained in:
Mike Blumenkrantz 2017-08-11 18:43:15 -04:00
parent 0303805ef7
commit e40435a1b0
1 changed files with 2 additions and 0 deletions

View File

@ -1183,6 +1183,8 @@ shell_surface_minmax_update(Comp_Surface *cs)
evas_object_size_hint_min_get(cs->obj, &w, &h);
evas_object_size_hint_min_set(cs->c->obj, w, h);
evas_object_size_hint_max_get(cs->obj, &w, &h);
if (!w) w = -1;
if (!h) h = -1;
evas_object_size_hint_max_set(cs->c->obj, w, h);
}