forked from enlightenment/efl
efl-wl: max size of 0x0 from shell is -1x-1 in efl
This commit is contained in:
parent
0303805ef7
commit
e40435a1b0
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue