summaryrefslogtreecommitdiff
path: root/src/lib/efl_wl
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-10-19 14:25:46 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-10-25 10:44:16 -0400
commit42c56cc33bea10eeeb48a650a96cb8520e445ac2 (patch)
tree90b2b7c5e625e366394c9879c8cc6046d4a824ad /src/lib/efl_wl
parented30f41de82515d130f0d861e922f9e3f45a7aaf (diff)
efl_wl: do not propagate hints to main widget for child surfaces
the top-most parent should be the surface from which hints are obtained @fix
Diffstat (limited to 'src/lib/efl_wl')
-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 de86613a9f..b5548c7f93 100644
--- a/src/lib/efl_wl/efl_wl.c
+++ b/src/lib/efl_wl/efl_wl.c
@@ -1181,6 +1181,7 @@ shell_surface_minmax_update(Comp_Surface *cs)
1181 if (!cs) return; 1181 if (!cs) return;
1182 if (!cs->c->minmax) return; 1182 if (!cs->c->minmax) return;
1183 if (cs->extracted) return; 1183 if (cs->extracted) return;
1184 if (cs->parent) return;
1184 evas_object_size_hint_min_get(cs->obj, &w, &h); 1185 evas_object_size_hint_min_get(cs->obj, &w, &h);
1185 evas_object_size_hint_min_set(cs->c->obj, w, h); 1186 evas_object_size_hint_min_set(cs->c->obj, w, h);
1186 evas_object_size_hint_max_get(cs->obj, &w, &h); 1187 evas_object_size_hint_max_get(cs->obj, &w, &h);
@@ -1198,6 +1199,7 @@ shell_surface_aspect_update(Comp_Surface *cs)
1198 if (!cs) return; 1199 if (!cs) return;
1199 if (!cs->c->aspect) return; 1200 if (!cs->c->aspect) return;
1200 if (cs->extracted) return; 1201 if (cs->extracted) return;
1202 if (cs->parent) return;
1201 evas_object_size_hint_aspect_get(cs->obj, &aspect, &w, &h); 1203 evas_object_size_hint_aspect_get(cs->obj, &aspect, &w, &h);
1202 evas_object_size_hint_aspect_set(cs->c->obj, aspect, w, h); 1204 evas_object_size_hint_aspect_set(cs->c->obj, aspect, w, h);
1203} 1205}