projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed30f41
)
efl_wl: do not propagate hints to main widget for child surfaces
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Thu, 19 Oct 2017 18:25:46 +0000
(14:25 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Wed, 25 Oct 2017 14:44:16 +0000
(10:44 -0400)
the top-most parent should be the surface from which hints are obtained
@fix
src/lib/efl_wl/efl_wl.c
patch
|
blob
|
history
diff --git
a/src/lib/efl_wl/efl_wl.c
b/src/lib/efl_wl/efl_wl.c
index
de86613
..
b5548c7
100644
(file)
--- 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)
if (!cs) return;
if (!cs->c->minmax) return;
if (cs->extracted) return;
+ if (cs->parent) return;
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);
@@
-1198,6
+1199,7
@@
shell_surface_aspect_update(Comp_Surface *cs)
if (!cs) return;
if (!cs->c->aspect) return;
if (cs->extracted) return;
+ if (cs->parent) return;
evas_object_size_hint_aspect_get(cs->obj, &aspect, &w, &h);
evas_object_size_hint_aspect_set(cs->c->obj, aspect, w, h);
}