Enlightenment CVS committal Author : moom Project : e17 Module : proto
Dir : e17/proto/etk/src/engines/ecore_evas_x11 Modified Files: ecore_evas_x11.c Log Message: Lib: ---- * [Etk_Fixed] A new container that allows you to position widgets at fixed coords (see the test app of the scrolled view in etk_test for an example) * [Etk_Tree2] More work on Etk_Tree2: deletion and selection has been implemented Misc: ----- * [Theme] The sliders now look like those of e17 * [Theme] The theme of the rows have been improved (better colors imho) * [Autofoo] make dist is fixed =================================================================== RCS file: /cvs/e/e17/proto/etk/src/engines/ecore_evas_x11/ecore_evas_x11.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -3 -r1.20 -r1.21 --- ecore_evas_x11.c 8 Oct 2006 10:04:53 -0000 1.20 +++ ecore_evas_x11.c 9 Dec 2006 09:56:32 -0000 1.21 @@ -398,10 +398,12 @@ static void _window_pointer_set(Etk_Window *window, Etk_Pointer_Type pointer_type) { int x_pointer_type = ECORE_X_CURSOR_LEFT_PTR; + Ecore_Evas *ecore_evas; Ecore_X_Cursor cursor; Etk_Engine_Window_Data *engine_data; engine_data = window->engine_data; + ecore_evas = ETK_ENGINE_ECORE_EVAS_WINDOW_DATA(engine_data)->ecore_evas; switch (pointer_type) { @@ -453,8 +455,10 @@ break; } - if ((cursor = ecore_x_cursor_shape_get(x_pointer_type))) - ecore_x_window_cursor_set(ecore_evas_software_x11_window_get(ETK_ENGINE_ECORE_EVAS_WINDOW_DATA(engine_data)->ecore_evas), cursor); + if (pointer_type == ETK_POINTER_NONE) + ecore_x_window_cursor_set(ecore_evas_software_x11_window_get(ecore_evas), 0); + else if ((cursor = ecore_x_cursor_shape_get(x_pointer_type))) + ecore_x_window_cursor_set(ecore_evas_software_x11_window_get(ecore_evas), cursor); else ETK_WARNING("Unable to find the X cursor \"%d\"", pointer_type); } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs