forked from enlightenment/enlightenment
fix infinite stacking loop when enforcing nocomp
This commit is contained in:
parent
b6032b1fbd
commit
45906bdf20
|
@ -475,7 +475,9 @@ nocomp:
|
||||||
{
|
{
|
||||||
if (c->nocomp && c->nocomp_ec)
|
if (c->nocomp && c->nocomp_ec)
|
||||||
{
|
{
|
||||||
E_CLIENT_REVERSE_FOREACH(c, ec)
|
E_Client *nec = NULL;
|
||||||
|
for (ec = e_client_top_get(c), nec = e_client_below_get(ec);
|
||||||
|
(ec && nec) && (ec != nec); ec = nec, nec = e_client_below_get(ec))
|
||||||
{
|
{
|
||||||
if (ec == c->nocomp_ec) break;
|
if (ec == c->nocomp_ec) break;
|
||||||
if (e_client_is_stacking(ec)) continue;
|
if (e_client_is_stacking(ec)) continue;
|
||||||
|
|
Loading…
Reference in New Issue