forked from enlightenment/enlightenment
avoid infinitely looping when applying x11 window grouping
#ThatTimeKainXFoundABug
This commit is contained in:
parent
d3ba524a62
commit
ada13539bf
|
@ -4394,9 +4394,9 @@ _e_comp_x_hook_client_fetch(void *d EINA_UNUSED, E_Client *ec)
|
||||||
ecl = ec->leader;
|
ecl = ec->leader;
|
||||||
if (!ecl)
|
if (!ecl)
|
||||||
{
|
{
|
||||||
E_Client *child = e_client_bottom_get();
|
E_Client *child;
|
||||||
|
|
||||||
do
|
E_CLIENT_FOREACH(child)
|
||||||
{
|
{
|
||||||
if (child == ec) continue;
|
if (child == ec) continue;
|
||||||
if (e_object_is_del(E_OBJECT(child))) continue;
|
if (e_object_is_del(E_OBJECT(child))) continue;
|
||||||
|
@ -4407,8 +4407,7 @@ _e_comp_x_hook_client_fetch(void *d EINA_UNUSED, E_Client *ec)
|
||||||
ecl = child;
|
ecl = child;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
child = e_client_above_get(child);
|
}
|
||||||
} while (child);
|
|
||||||
}
|
}
|
||||||
if (ecl)
|
if (ecl)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue