diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-08-04 11:57:02 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-08-04 11:57:02 -0400 |
commit | b31c916be4cb051ccf56887ed9a3194aea75ce90 (patch) | |
tree | bdbc28ec42fc844c1d18adb4680aa8bf56e83cd1 | |
parent | e6e407522da91fd2a6e6c3526af6077bf1c4286d (diff) | |
download | efl-devs/discomfitor/experimental.tar.gz |
efl-wl: no-op the re-setting of minmax/aspect handlingdevs/discomfitor/experimental
-rw-r--r-- | src/lib/efl_wl/efl_wl.c | 2 |
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 2c8bf6179a..3c19db04a9 100644 --- a/src/lib/efl_wl/efl_wl.c +++ b/src/lib/efl_wl/efl_wl.c @@ -5389,6 +5389,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); @@ -5403,6 +5404,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); |