avoid performing client rescales during shutdown
This commit is contained in:
parent
59fa0e418d
commit
e7cfd06675
|
@ -3331,6 +3331,8 @@ e_client_rescale(E_Client *ec)
|
||||||
{
|
{
|
||||||
Eina_Bool shaded;
|
Eina_Bool shaded;
|
||||||
int shade_dir;
|
int shade_dir;
|
||||||
|
|
||||||
|
if (stopping) return;
|
||||||
E_OBJECT_CHECK(ec);
|
E_OBJECT_CHECK(ec);
|
||||||
E_OBJECT_TYPE_CHECK(ec, E_CLIENT_TYPE);
|
E_OBJECT_TYPE_CHECK(ec, E_CLIENT_TYPE);
|
||||||
|
|
||||||
|
|
|
@ -1813,6 +1813,7 @@ e_comp_clients_rescale(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
if (stopping) return;
|
||||||
for (i = 0; i < 11; i++)
|
for (i = 0; i < 11; i++)
|
||||||
{
|
{
|
||||||
Eina_List *tmp = NULL;
|
Eina_List *tmp = NULL;
|
||||||
|
|
|
@ -1312,7 +1312,8 @@ e_zone_useful_geometry_dirty(E_Zone *zone)
|
||||||
e_object_ref(E_OBJECT(ev->zone));
|
e_object_ref(E_OBJECT(ev->zone));
|
||||||
ecore_event_add(E_EVENT_ZONE_USEFUL_GEOMETRY_CHANGED, ev, _e_zone_event_generic_free, NULL);
|
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 *
|
E_API E_Zone_Obstacle *
|
||||||
|
|
Loading…
Reference in New Issue