From: Mike Blumenkrantz Date: Thu, 7 Feb 2013 13:19:45 +0000 (+0000) Subject: remove container comp check hack X-Git-Tag: submit/efl/20131021.015651~1302 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9fd79a599427a5c252f6d7fcb8ae0431452f26cb;p=platform%2Fupstream%2Fenlightenment.git remove container comp check hack SVN revision: 83744 --- diff --git a/src/bin/e_container.c b/src/bin/e_container.c index caa7f2f..9192439 100644 --- a/src/bin/e_container.c +++ b/src/bin/e_container.c @@ -83,30 +83,7 @@ e_container_new(E_Manager *man) con->bg_evas = ecore_evas_get(con->bg_ecore_evas); ecore_evas_name_class_set(con->bg_ecore_evas, "E", "Background_Window"); ecore_evas_title_set(con->bg_ecore_evas, "Enlightenment Background"); - if (!getenv("EVAS_RENDER_MODE")) - { - int have_comp = 0; - Eina_List *ll; - E_Config_Module *em; - // FIXME: major hack. checking in advance for comp. eventully comp - // will be rolled into e17 core and this won't be needed - EINA_LIST_FOREACH(e_config->modules, ll, em) - { - if (!strcmp(em->name, "comp")) - { - have_comp = 1; - break; - } - } - if (!have_comp) - { - if (getenv("REDRAW_DEBUG")) - ecore_evas_avoid_damage_set(con->bg_ecore_evas, !atoi(getenv("REDRAW_DEBUG"))); - else - ecore_evas_avoid_damage_set(con->bg_ecore_evas, ECORE_EVAS_AVOID_DAMAGE_BUILT_IN); - } - } ecore_x_window_lower(con->bg_win); o = evas_object_rectangle_add(con->bg_evas);