aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-11-06 13:58:16 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-11-08 09:56:41 -0500
commit2a1c23ed4bff11135a539bc4ffa863811efba295 (patch)
treef6a7806ff4bf05a5cb059c869a17c415bbb03a76
parentrequeue client for render if show animation completes and damages exist (diff)
downloadenlightenment-2a1c23ed4bff11135a539bc4ffa863811efba295.tar.gz
avoid performing client rescales during shutdown
-rw-r--r--src/bin/e_client.c2
-rw-r--r--src/bin/e_comp.c1
-rw-r--r--src/bin/e_zone.c3
3 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 7c68bc407..6ea96054c 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -3331,6 +3331,8 @@ e_client_rescale(E_Client *ec)
{
Eina_Bool shaded;
int shade_dir;
+
+ if (stopping) return;
E_OBJECT_CHECK(ec);
E_OBJECT_TYPE_CHECK(ec, E_CLIENT_TYPE);
diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 650e4a978..42a47736c 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -1813,6 +1813,7 @@ e_comp_clients_rescale(void)
{
int i;
+ if (stopping) return;
for (i = 0; i < 11; i++)
{
Eina_List *tmp = NULL;
diff --git a/src/bin/e_zone.c b/src/bin/e_zone.c
index 4a24ed540..0d769b876 100644
--- a/src/bin/e_zone.c
+++ b/src/bin/e_zone.c
@@ -1312,7 +1312,8 @@ e_zone_useful_geometry_dirty(E_Zone *zone)
e_object_ref(E_OBJECT(ev->zone));
ecore_event_add(E_EVENT_ZONE_USEFUL_GEOMETRY_CHANGED, ev, _e_zone_event_generic_free, NULL);
- e_comp_clients_rescale();
+ if (!stopping)
+ e_comp_clients_rescale();
}
E_API E_Zone_Obstacle *