projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
466ceca
)
reject xwl selection notify events which do not match our xwl property atom
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Wed, 12 Aug 2015 21:59:16 +0000
(17:59 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Wed, 12 Aug 2015 21:59:16 +0000
(17:59 -0400)
src/modules/xwayland/dnd.c
patch
|
blob
|
history
diff --git
a/src/modules/xwayland/dnd.c
b/src/modules/xwayland/dnd.c
index 0705d22232bc349060902f67cb7581c0f93fcc6e..4a022f894ef86efd0c2d7547757b780d2ebc25c6 100644
(file)
--- 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