summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-10-07 18:40:10 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-10-07 18:40:10 +0200
commiteff717eb260e7bcac7ff4283942a239d0a4aa3f8 (patch)
tree5e03b68a54aac9a8b7ab5b599ebd047f33b5e16c /src/lib/elementary
parentb3cd430b0265c1ba7d46fea3f9211b5fc1490aa1 (diff)
efl_ui/win: fix max size hint eval
Summary: win objects should never permit the max size on any axis to be 0, otherwise the window will be clamped to 1px on the given axis fixes T8304 @fix Depends on D10272 Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8304 Differential Revision: https://phab.enlightenment.org/D10296
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/efl_ui_win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 2461e1e..8ce3e59 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -3715,9 +3715,9 @@ _elm_win_resize_objects_eval(Evas_Object *obj, Eina_Bool force_resize)
3715 wx = wy = 1; 3715 wx = wy = 1;
3716 3716
3717 if (!wx) maxw = minw; 3717 if (!wx) maxw = minw;
3718 else if (maxw < 1) maxw = 32767; 3718 if (maxw < 1) maxw = 32767;
3719 if (!wy) maxh = minh; 3719 if (!wy) maxh = minh;
3720 else if (maxh < 1) maxh = 32767; 3720 if (maxh < 1) maxh = 32767;
3721 if (maxw < minw) maxw = minw; 3721 if (maxw < minw) maxw = minw;
3722 if (maxh < minh) maxh = minh; 3722 if (maxh < minh) maxh = minh;
3723 if (maxw > 32767) maxw = 32767; 3723 if (maxw > 32767) maxw = 32767;