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:
29b99a8
)
efl-wl: no-op the re-setting of minmax/aspect handling
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 4 Aug 2017 20:17:53 +0000
(16:17 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 4 Aug 2017 20:17:33 +0000
(16:17 -0400)
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
a5004f0
..
9a02d0a
100644
(file)
--- a/
src/lib/efl_wl/efl_wl.c
+++ b/
src/lib/efl_wl/efl_wl.c
@@
-5397,6
+5397,7
@@
efl_wl_aspect_set(Evas_Object *obj, Eina_Bool set)
if (!eina_streq(evas_object_type_get(obj), "comp")) abort();
c = evas_object_smart_data_get(obj);
+ if (c->aspect == (!!set)) return;
c->aspect = !!set;
if (c->aspect)
shell_surface_aspect_update(c->active_surface);
@@
-5411,6
+5412,7
@@
efl_wl_minmax_set(Evas_Object *obj, Eina_Bool set)
if (!eina_streq(evas_object_type_get(obj), "comp")) abort();
c = evas_object_smart_data_get(obj);
+ if (c->minmax == (!!set)) return;
c->minmax = !!set;
if (c->minmax)
shell_surface_minmax_update(c->active_surface);