From: Enlightenment S. <no-...@en...> - 2009-06-23 09:56:58
|
Log: * ecore_evas: Fix ecore_evas_gl_x11_new usage. Author: cedric Date: 2009-06-23 02:55:47 -0700 (Tue, 23 Jun 2009) New Revision: 41167 Modified: trunk/ecore/src/lib/ecore_evas/ecore_evas_x.c Modified: trunk/ecore/src/lib/ecore_evas/ecore_evas_x.c =================================================================== --- trunk/ecore/src/lib/ecore_evas/ecore_evas_x.c 2009-06-23 09:12:45 UTC (rev 41166) +++ trunk/ecore/src/lib/ecore_evas/ecore_evas_x.c 2009-06-23 09:55:47 UTC (rev 41167) @@ -2571,7 +2571,6 @@ # ifdef HAVE_ECORE_X_XCB Ecore_Evas *ee = NULL; # else - Evas_Engine_Info_GL_X11 *einfo; Ecore_Evas *ee; int rmethod; @@ -2613,12 +2612,9 @@ if (parent == 0) parent = DefaultRootWindow(ecore_x_display_get()); ee->engine.x.win_root = parent; - einfo = (Evas_Engine_Info_GL_X11 *)evas_engine_info_get(ee->evas); - if (einfo) - { - ee->prop.window = _ecore_evas_x_gl_window_new(ee, ee->engine.x.win_root, x, y, w, h, 0); - evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo); - } + + ee->prop.window = _ecore_evas_x_gl_window_new(ee, ee->engine.x.win_root, x, y, w, h, 0); + if (getenv("DESKTOP_STARTUP_ID")) { ecore_x_netwm_startup_id_set(ee->prop.window, |