avoid performing client rescales during shutdown

devs/bu5hm4n/sandbox_fix
Mike Blumenkrantz 5 years ago
parent 59fa0e418d
commit e7cfd06675
  1. 2
      src/bin/e_client.c
  2. 1
      src/bin/e_comp.c
  3. 3
      src/bin/e_zone.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);

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

@ -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 *

Loading…
Cancel
Save