ecore-x: add property member to Ecore_X_Event_Selection_Notify

@feature
This commit is contained in:
Mike Blumenkrantz 2015-08-12 17:57:30 -04:00
parent 40fc5a9282
commit 0efc83d64d
3 changed files with 3 additions and 0 deletions

View File

@ -742,6 +742,7 @@ struct _Ecore_X_Event_Selection_Notify
Ecore_X_Atom atom;
char *target;
void *data;
Ecore_X_Atom property; /**< @since 1.16 */
};
struct _Ecore_X_Selection_Data

View File

@ -1367,6 +1367,7 @@ _ecore_xcb_event_handle_selection_notify(xcb_generic_event_t *event)
e->win = ev->requestor;
e->time = ev->time;
e->atom = selection;
e->property = ev->property;
e->target = _ecore_xcb_selection_target_get(ev->target);
if (selection == ECORE_X_ATOM_SELECTION_PRIMARY)

View File

@ -1510,6 +1510,7 @@ _ecore_x_event_handle_selection_notify(XEvent *xevent)
e->win = xevent->xselection.requestor;
e->time = xevent->xselection.time;
e->atom = selection;
e->property = xevent->xselection.property;
e->target = _ecore_x_selection_target_get(xevent->xselection.target);
if (selection == ECORE_X_ATOM_SELECTION_PRIMARY)