discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=1ca8c9eb36b58bc3f9eb9934f44ebbb596d4f7fb

commit 1ca8c9eb36b58bc3f9eb9934f44ebbb596d4f7fb
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Aug 10 13:20:35 2015 -0400

    account for state in xwl property change handler
    
    we only care about events where the property was deleted here
---
 src/modules/xwayland/dnd.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/modules/xwayland/dnd.c b/src/modules/xwayland/dnd.c
index 6256e96..269bbc4 100644
--- a/src/modules/xwayland/dnd.c
+++ b/src/modules/xwayland/dnd.c
@@ -343,6 +343,9 @@ _xwl_property(void *d EINA_UNUSED, int t EINA_UNUSED, 
Ecore_X_Event_Window_Prope
 {
    Pipe *p;
 
+#if (EFL_VERSION_MAJOR > 1) || (EFL_VERSION_MINOR >= 16)
+   if (!ev->state) return ECORE_CALLBACK_RENEW;
+#endif
    p = eina_hash_find(pipes, &ev->win);
    if (!p) return ECORE_CALLBACK_RENEW;
    /* FIXME: WHO FORGOT THE FUCKING STATE FLAG???? */

-- 


Reply via email to