Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_fileman_smart.c Log Message: dude! serious wrongness there! =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_fileman_smart.c,v retrieving revision 1.85 retrieving revision 1.86 diff -u -3 -r1.85 -r1.86 --- e_fileman_smart.c 5 Nov 2005 01:31:05 -0000 1.85 +++ e_fileman_smart.c 5 Nov 2005 01:51:20 -0000 1.86 @@ -2130,9 +2130,15 @@ ev = event; sd = data; + /* FIXME: use evas callbacks here - not ecore_x events. ONLY use the + * ecore_x events ONCE you GRAB the mouse TO some other window to track + * its motion all over the desktop and then use an ecore_x mouse up + * event to get the mouse up on THAT GRABBEd WINDOW + */ + return 1; /* this shouldnt be here if we clean up properly */ - if(!ev->win || !ev->event_win || !sd) - return 0; + if (!ev->win || !ev->event_win || !sd) + return 1; /* TODO - rethink this code */ @@ -2203,6 +2209,8 @@ double t; const char *name; + /* FIXME: DONT use ecore_x events for this. use evas callbacks! */ + return 1; ev = event; icon = data; @@ -2524,7 +2532,11 @@ ev = event; sd = data; - + + /* FIXME: do NOT use ecore_x key events. NOT! use evas key callbacks on + * a focused onject!!!! + */ + return 1; // make this call generic if (!sd->win) return 1; if (ev->win != sd->win->evas_sub_win) return 1; ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs