avoid performing client rescales during shutdown

This commit is contained in:
Mike Blumenkrantz 2017-11-06 13:58:16 -05:00
parent 59fa0e418d
commit e7cfd06675
3 changed files with 5 additions and 1 deletions

View File

@ -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);

View File

@ -1813,6 +1813,7 @@ e_comp_clients_rescale(void)
{
int i;
if (stopping) return;
for (i = 0; i < 11; i++)
{
Eina_List *tmp = NULL;

View File

@ -1312,6 +1312,7 @@ 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);
if (!stopping)
e_comp_clients_rescale();
}