Enlightenment CVS committal Author : englebass Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_x Modified Files: Ecore_X.h ecore_x_events.c Log Message: Revert change, premature. =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_x/Ecore_X.h,v retrieving revision 1.179 retrieving revision 1.180 diff -u -3 -r1.179 -r1.180 --- Ecore_X.h 19 Dec 2006 06:40:30 -0000 1.179 +++ Ecore_X.h 19 Dec 2006 06:51:51 -0000 1.180 @@ -543,7 +543,7 @@ Ecore_X_Window requestor; Ecore_X_Time time; Ecore_X_Atom selection; - char *target; + Ecore_X_Atom target; Ecore_X_Atom property; }; =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_x/ecore_x_events.c,v retrieving revision 1.92 retrieving revision 1.93 diff -u -3 -r1.92 -r1.93 --- ecore_x_events.c 19 Dec 2006 06:40:30 -0000 1.92 +++ ecore_x_events.c 19 Dec 2006 06:51:51 -0000 1.93 @@ -167,15 +167,6 @@ } static void -_ecore_x_event_free_selection_request(void *data __UNUSED__, void *ev) -{ - Ecore_X_Event_Selection_Request *e; - - XFree(e->target); - free(e); -} - -static void _ecore_x_event_free_selection_notify(void *data __UNUSED__, void *ev) { Ecore_X_Event_Selection_Notify *e; @@ -1129,9 +1120,9 @@ e->requestor = xevent->xselectionrequest.requestor; e->time = xevent->xselectionrequest.time; e->selection = xevent->xselectionrequest.selection; - e->target = XGetAtomName(_ecore_x_disp, xevent->xselectionrequest.target); + e->target = xevent->xselectionrequest.target; e->property = xevent->xselectionrequest.property; - ecore_event_add(ECORE_X_EVENT_SELECTION_REQUEST, e, _ecore_x_event_free_selection_request, NULL); + ecore_event_add(ECORE_X_EVENT_SELECTION_REQUEST, e, NULL, NULL); if ((sd = _ecore_x_selection_get(xevent->xselectionrequest.selection)) && (sd->win == xevent->xselectionrequest.owner)) ------------------------------------------------------------------------- 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