Enlightenment CVS committal Author : rbdpngn Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_misc.c Log Message: Fix engine parameter. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_misc.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -3 -r1.14 -r1.15 --- ewl_misc.c 5 Sep 2005 14:12:15 -0000 1.14 +++ ewl_misc.c 2 Oct 2005 03:11:55 -0000 1.15 @@ -137,6 +137,30 @@ DRETURN_INT(_ewl_init_count, DLEVEL_STABLE); } +#ifdef HAVE_EVAS_ENGINE_SOFTWARE_X11_H + if (use_engine == EWL_ENGINE_SOFTWARE_X11) { + IF_FREE(ewl_config.evas.render_method); + ewl_config.evas.render_method = strdup("software_x11"); + } + else +#endif +#ifdef HAVE_EVAS_ENGINE_GL_X11_H + if (use_engine == EWL_ENGINE_GL_X11) { + IF_FREE(ewl_config.evas.render_method); + ewl_config.evas.render_method = strdup("gl_x11"); + } + else +#endif +#ifdef HAVE_EVAS_ENGINE_FB_H + if (use_engine == EWL_ENGINE_FB) { + IF_FREE(ewl_config.evas.render_method); + ewl_config.evas.render_method = strdup("fb"); + } + else +#endif + if (!ewl_config.evas.render_method) + ewl_config.evas.render_method = strdup("software_x11"); + if (print_theme_keys) ewl_config.theme.print_keys = print_theme_keys; ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs