discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=3b785403b6a70496a1a993da3f66c5fcdb7265f7

commit 3b785403b6a70496a1a993da3f66c5fcdb7265f7
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Aug 12 17:59:16 2015 -0400

    reject xwl selection notify events which do not match our xwl property atom
---
 src/modules/xwayland/dnd.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/modules/xwayland/dnd.c b/src/modules/xwayland/dnd.c
index 0705d22..4a022f8 100644
--- a/src/modules/xwayland/dnd.c
+++ b/src/modules/xwayland/dnd.c
@@ -285,8 +285,9 @@ _xwl_selection_notify(void *d EINA_UNUSED, int t 
EINA_UNUSED, Ecore_X_Event_Sele
              return ECORE_CALLBACK_RENEW;
           }
      }
-   /* FIXME: ecore-x events are fucked */
-   //if (ecore_x_atom_get(ev->target) != xwl_dnd_atom) return 
ECORE_CALLBACK_RENEW;
+#if (EFL_VERSION_MAJOR > 1) || (EFL_VERSION_MINOR >= 16)
+   if (ev->property != xwl_dnd_atom) return ECORE_CALLBACK_RENEW;
+#endif
    sd = ev->data;
 
    do

-- 


Reply via email to