summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-08-07 11:05:58 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-08-07 11:05:58 -0400
commita827f418d9b44fffb0fe6f4e9cfa34ae8c2cbecc (patch)
tree17e0bc322f6067b0f9a00a5d84193e253f04423f /src/modules/ecore_evas
parentbc28c4b579d4154178f3d40a35e7da30d08e2ba3 (diff)
ecore-evas wayland: clamp max size hints to 0
Diffstat (limited to 'src/modules/ecore_evas')
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index b204956..5bd978e 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -1462,6 +1462,8 @@ _ecore_evas_wl_common_size_max_set(Ecore_Evas *ee, int w, int h)
1462 LOGFN(__FILE__, __LINE__, __FUNCTION__); 1462 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1463 1463
1464 if (!ee) return; 1464 if (!ee) return;
1465 if (w < 0) w = 0;
1466 if (h < 0) h = 0;
1465 if ((ee->prop.max.w == w) && (ee->prop.max.h == h)) return; 1467 if ((ee->prop.max.w == w) && (ee->prop.max.h == h)) return;
1466 ee->prop.max.w = w; 1468 ee->prop.max.w = w;
1467 ee->prop.max.h = h; 1469 ee->prop.max.h = h;