Enlightenment CVS committal Author : codewarrior Project : e17 Module : proto
Dir : e17/proto/etk/src/lib Modified Files: etk_window.c Log Message: fix center =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/etk/src/lib/etk_window.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -3 -r1.15 -r1.16 --- etk_window.c 6 Mar 2006 00:04:43 -0000 1.15 +++ etk_window.c 6 Mar 2006 19:37:12 -0000 1.16 @@ -220,8 +220,8 @@ /* TODO: will it work with multiscreen? */ ecore_x_window_geometry_get(ecore_x_window_root_first_get(), &x, &y, &w, &h); - ecore_evas_geometry_get(window->ecore_evas, NULL, NULL, &cw, &ch); - ecore_evas_move(window->ecore_evas, x + (w - cw) / 2, y + (h - ch) / 2); + ecore_evas_geometry_get(window_to_center->ecore_evas, NULL, NULL, &cw, &ch); + ecore_evas_move(window_to_center->ecore_evas, x + (w - cw) / 2, y + (h - ch) / 2); } } ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs