summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-08-04 11:57:02 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-08-04 11:57:02 -0400
commitb31c916be4cb051ccf56887ed9a3194aea75ce90 (patch)
treebdbc28ec42fc844c1d18adb4680aa8bf56e83cd1
parente6e407522da91fd2a6e6c3526af6077bf1c4286d (diff)
downloadefl-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.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 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);