aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-08-04 16:17:53 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-08-04 16:17:33 -0400
commitfb153fc57a03b1e0235ee73cc179080994542559 (patch)
tree6db09b7d4159dc84733148845c2ab875d8f7227c
parentefl-wl: add handling for external protocol interfaces (diff)
downloadefl-fb153fc57a03b1e0235ee73cc179080994542559.tar.gz
efl-wl: no-op the re-setting of minmax/aspect handling
-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 a5004f06af..9a02d0a4e3 100644
--- 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);