From 1ca8c9eb36b58bc3f9eb9934f44ebbb596d4f7fb Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 10 Aug 2015 13:20:35 -0400 Subject: [PATCH] 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???? */ -- 2.7.4