From: Mike Blumenkrantz Date: Mon, 29 Apr 2013 08:43:46 +0000 (+0100) Subject: remove unnecessary comp checks for init win X-Git-Tag: submit/efl/20131021.015651~729 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=85d192238e60f9bacd18591b1ac46a2ccb3f477f;p=platform%2Fupstream%2Fenlightenment.git remove unnecessary comp checks for init win --- diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c index cde8c6c..32d8210 100644 --- a/src/bin/e_comp.c +++ b/src/bin/e_comp.c @@ -4035,22 +4035,7 @@ _e_comp_populate(E_Comp *c) { E_Comp_Win *cw; int x, y, w, h, border; - char *wname = NULL, *wclass = NULL; - ecore_x_icccm_name_class_get(wins[i], &wname, &wclass); - if ((c->man->initwin == wins[i]) || - ((wname) && (wclass) && (!strcmp(wname, "E")) && - (!strcmp(wclass, "Init_Window")))) - { - free(wname); - free(wclass); - ecore_x_window_reparent(wins[i], c->win, 0, 0); - ecore_x_sync(); - continue; - } - free(wname); - free(wclass); - wname = wclass = NULL; if (e_comp_win_find(wins[i]) || e_comp_win_find_client_win(wins[i]) || e_border_find_by_client_window(wins[i])) continue;