account for state in xwl property change handler

we only care about events where the property was deleted here
This commit is contained in:
Mike Blumenkrantz 2015-08-10 13:20:35 -04:00
parent c61320ce72
commit 1ca8c9eb36
1 changed files with 3 additions and 0 deletions

View File

@ -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???? */