aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-08-11 18:43:15 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-08-11 18:43:13 -0400
commite40435a1b056ed811a9998d1ef5aa838e55182ea (patch)
treea9f295d21e0bda7ae441638a25d002b02a0d9c75
parentefl-wl: initialize seat keymap fd to -1 (diff)
downloadefl-e40435a1b056ed811a9998d1ef5aa838e55182ea.tar.gz
efl-wl: max size of 0x0 from shell is -1x-1 in efl
-rw-r--r--src/lib/efl_wl/efl_wl.c2
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)
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);
}