summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-05-11 18:29:38 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-05-11 18:29:38 -0400
commitada13539bf87394976cb771462fa86244fff820f (patch)
treeef24db05e3de38bed30f25b68e8806746c6c0687
parentd3ba524a62713ff58c1537524030c155d0713ca2 (diff)
avoid infinitely looping when applying x11 window grouping
#ThatTimeKainXFoundABug
-rw-r--r--src/bin/e_comp_x.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index f7a8a1d8a..ff80e0294 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -4394,9 +4394,9 @@ _e_comp_x_hook_client_fetch(void *d EINA_UNUSED, E_Client *ec)
4394 ecl = ec->leader; 4394 ecl = ec->leader;
4395 if (!ecl) 4395 if (!ecl)
4396 { 4396 {
4397 E_Client *child = e_client_bottom_get(); 4397 E_Client *child;
4398 4398
4399 do 4399 E_CLIENT_FOREACH(child)
4400 { 4400 {
4401 if (child == ec) continue; 4401 if (child == ec) continue;
4402 if (e_object_is_del(E_OBJECT(child))) continue; 4402 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)
4407 ecl = child; 4407 ecl = child;
4408 break; 4408 break;
4409 } 4409 }
4410 child = e_client_above_get(child); 4410 }
4411 } while (child);
4412 } 4411 }
4413 if (ecl) 4412 if (ecl)
4414 { 4413 {