ecore-x: add property member to Ecore_X_Event_Selection_Notify
authorMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 12 Aug 2015 21:57:30 +0000 (17:57 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 12 Aug 2015 21:58:58 +0000 (17:58 -0400)
@feature

src/lib/ecore_x/Ecore_X.h
src/lib/ecore_x/xcb/ecore_xcb_events.c
src/lib/ecore_x/xlib/ecore_x_events.c

index f5c2da4..7337ae2 100644 (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
index 1d837d8..9f1e2fc 100644 (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)
index c8cd012..48af12d 100644 (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)