diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-08-11 18:43:15 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-08-11 18:43:13 -0400 |
commit | e40435a1b056ed811a9998d1ef5aa838e55182ea (patch) | |
tree | a9f295d21e0bda7ae441638a25d002b02a0d9c75 /src/lib/efl_wl/efl_wl.c | |
parent | 0303805ef75b521fbad5ff467e171088ced645dd (diff) |
efl-wl: max size of 0x0 from shell is -1x-1 in efl
Diffstat (limited to 'src/lib/efl_wl/efl_wl.c')
-rw-r--r-- | src/lib/efl_wl/efl_wl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c index 6a2795774b..d65ce85f15 100644 --- a/src/lib/efl_wl/efl_wl.c +++ b/src/lib/efl_wl/efl_wl.c | |||
@@ -1183,6 +1183,8 @@ shell_surface_minmax_update(Comp_Surface *cs) | |||
1183 | evas_object_size_hint_min_get(cs->obj, &w, &h); | 1183 | evas_object_size_hint_min_get(cs->obj, &w, &h); |
1184 | evas_object_size_hint_min_set(cs->c->obj, w, h); | 1184 | evas_object_size_hint_min_set(cs->c->obj, w, h); |
1185 | evas_object_size_hint_max_get(cs->obj, &w, &h); | 1185 | evas_object_size_hint_max_get(cs->obj, &w, &h); |
1186 | if (!w) w = -1; | ||
1187 | if (!h) h = -1; | ||
1186 | evas_object_size_hint_max_set(cs->c->obj, w, h); | 1188 | evas_object_size_hint_max_set(cs->c->obj, w, h); |
1187 | } | 1189 | } |
1188 | 1190 | ||