discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=0efc83d64d195d6fc3869058b6e7146cd8149ce1

commit 0efc83d64d195d6fc3869058b6e7146cd8149ce1
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Aug 12 17:57:30 2015 -0400

    ecore-x: add property member to Ecore_X_Event_Selection_Notify
    
    @feature
---
 src/lib/ecore_x/Ecore_X.h              | 1 +
 src/lib/ecore_x/xcb/ecore_xcb_events.c | 1 +
 src/lib/ecore_x/xlib/ecore_x_events.c  | 1 +
 3 files changed, 3 insertions(+)

diff --git a/src/lib/ecore_x/Ecore_X.h b/src/lib/ecore_x/Ecore_X.h
index f5c2da4..7337ae2 100644
--- a/src/lib/ecore_x/Ecore_X.h
+++ b/src/lib/ecore_x/Ecore_X.h
@@ -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
diff --git a/src/lib/ecore_x/xcb/ecore_xcb_events.c 
b/src/lib/ecore_x/xcb/ecore_xcb_events.c
index 1d837d8..9f1e2fc 100644
--- a/src/lib/ecore_x/xcb/ecore_xcb_events.c
+++ b/src/lib/ecore_x/xcb/ecore_xcb_events.c
@@ -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)
diff --git a/src/lib/ecore_x/xlib/ecore_x_events.c 
b/src/lib/ecore_x/xlib/ecore_x_events.c
index c8cd012..48af12d 100644
--- a/src/lib/ecore_x/xlib/ecore_x_events.c
+++ b/src/lib/ecore_x/xlib/ecore_x_events.c
@@ -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)

-- 


Reply via email to