Enlightenment CVS committal Author : rephorm Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_x Modified Files: Ecore_X.h ecore_x_events.c ecore_x_selection.c Log Message: send proper timestamp to along with selection notify (fixes pasting into xterm) =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_x/Ecore_X.h,v retrieving revision 1.177 retrieving revision 1.178 diff -u -3 -r1.177 -r1.178 --- Ecore_X.h 11 Dec 2006 23:05:48 -0000 1.177 +++ Ecore_X.h 13 Dec 2006 19:47:17 -0000 1.178 @@ -990,7 +990,7 @@ EAPI void ecore_x_event_mask_set(Ecore_X_Window w, Ecore_X_Event_Mask mask); EAPI void ecore_x_event_mask_unset(Ecore_X_Window w, Ecore_X_Event_Mask mask); -EAPI int ecore_x_selection_notify_send(Ecore_X_Window requestor, Ecore_X_Atom selection, Ecore_X_Atom target, Ecore_X_Atom property); +EAPI int ecore_x_selection_notify_send(Ecore_X_Window requestor, Ecore_X_Atom selection, Ecore_X_Atom target, Ecore_X_Atom property, Ecore_X_Time time); EAPI int ecore_x_selection_primary_set(Ecore_X_Window w, const void *data, int size); EAPI int ecore_x_selection_primary_clear(void); EAPI int ecore_x_selection_secondary_set(Ecore_X_Window w, const void *data, int size); =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_x/ecore_x_events.c,v retrieving revision 1.90 retrieving revision 1.91 diff -u -3 -r1.90 -r1.91 --- ecore_x_events.c 11 Dec 2006 23:05:48 -0000 1.90 +++ ecore_x_events.c 13 Dec 2006 19:47:17 -0000 1.91 @@ -1155,7 +1155,8 @@ ecore_x_selection_notify_send(xevent->xselectionrequest.requestor, xevent->xselectionrequest.selection, xevent->xselectionrequest.target, - property); + property, + xevent->xselectionrequest.time); } } return; =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_x/ecore_x_selection.c,v retrieving revision 1.32 retrieving revision 1.33 diff -u -3 -r1.32 -r1.33 --- ecore_x_selection.c 11 Dec 2006 23:05:48 -0000 1.32 +++ ecore_x_selection.c 13 Dec 2006 19:47:17 -0000 1.33 @@ -426,7 +426,7 @@ } EAPI int -ecore_x_selection_notify_send(Ecore_X_Window requestor, Ecore_X_Atom selection, Ecore_X_Atom target, Ecore_X_Atom property) +ecore_x_selection_notify_send(Ecore_X_Window requestor, Ecore_X_Atom selection, Ecore_X_Atom target, Ecore_X_Atom property, Ecore_X_Time time) { XEvent xev; XSelectionEvent xnotify; @@ -437,7 +437,7 @@ xnotify.selection = selection; xnotify.target = target; xnotify.property = property; - xnotify.time = CurrentTime; + xnotify.time = time; xnotify.send_event = True; xnotify.serial = 0; ------------------------------------------------------------------------- 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