From 85d192238e60f9bacd18591b1ac46a2ccb3f477f Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 29 Apr 2013 09:43:46 +0100 Subject: [PATCH] remove unnecessary comp checks for init win --- src/bin/e_comp.c | 15 --------------- 1 file changed, 15 deletions(-) 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; -- 2.7.4