discomfitor pushed a commit to branch master.

commit 85d192238e60f9bacd18591b1ac46a2ccb3f477f
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Apr 29 09:43:46 2013 +0100

    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;

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr

Reply via email to