Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/engines/x11 Modified Files: ewl_engine_x11.c Log Message: Don't fetch the shape for user defined cursors. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/engines/x11/ewl_engine_x11.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -3 -r1.21 -r1.22 --- ewl_engine_x11.c 13 Oct 2006 02:10:15 -0000 1.21 +++ ewl_engine_x11.c 23 Oct 2006 18:26:46 -0000 1.22 @@ -746,12 +746,17 @@ static void ee_pointer_set(Ewl_Embed *embed, int pointer) { + Ecore_X_Cursor cur; + DENTER_FUNCTION(DLEVEL_STABLE); DCHECK_PARAM_PTR("embed", embed); DCHECK_TYPE("embed", embed, EWL_EMBED_TYPE); - ecore_x_window_cursor_set((Ecore_X_Window)embed->evas_window, - ecore_x_cursor_shape_get(pointer)); + if (pointer >= EWL_MOUSE_CURSOR_MAX) + cur = pointer; + else + cur = ecore_x_cursor_shape_get(pointer); + ecore_x_window_cursor_set((Ecore_X_Window)embed->evas_window, cur); DLEAVE_FUNCTION(DLEVEL_STABLE); } ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs