Enlightenment CVS committal Author : doursse Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/engines/x11 Modified Files: ewl_engine_x11.c Log Message: * wrong assigment for the height * use directly ecore_x_window_geometry_get as ecore_x_drawable_geometry_get already checks for the validity of the pointers. question : why is that function called ee_window_geometry_set and not ee_window_geometry_get ? =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/engines/x11/ewl_engine_x11.c,v retrieving revision 1.53 retrieving revision 1.54 diff -u -3 -r1.53 -r1.54 --- ewl_engine_x11.c 5 Sep 2007 18:33:25 -0000 1.53 +++ ewl_engine_x11.c 2 Oct 2007 08:16:16 -0000 1.54 @@ -857,14 +857,10 @@ static void ee_window_geometry_set(Ewl_Window *win, int *width, int *height) { - int w, h; - DENTER_FUNCTION(DLEVEL_STABLE); ecore_x_window_geometry_get((win ? (Ecore_X_Window)win->window : (Ecore_X_Window)0), - NULL, NULL, &w, &h); - if (width) *width = w; - if (height) *height = w; + NULL, NULL, width, height); DLEAVE_FUNCTION(DLEVEL_STABLE); } ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs