discomfitor pushed a commit to branch enlightenment-0.20.

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

commit a4011ee2d6e226f2a60184ecdc7211d9141cfae9
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue May 31 12:21:09 2016 -0400

    delete x11 mouse-in job when hiding the job's client
    
    spurious x11 mouse events will be received when activating a mouse binding 
which
    flips the active desk
    
    fix T3716
---
 src/bin/e_comp_x.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 28ddea2..0b96c87 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -989,6 +989,12 @@ _e_comp_x_evas_hide_cb(void *data, Evas *e EINA_UNUSED, 
Evas_Object *obj EINA_UN
    E_Client *ec = data, *tmp;
    Eina_List *l;
 
+   if (ec == mouse_client)
+     {
+        mouse_client = NULL;
+        E_FREE_FUNC(mouse_in_job, ecore_job_del);
+     }
+
    if (!_e_comp_x_client_data_get(ec)) return; // already deleted, happens 
with internal wins
    _e_comp_x_client_hide(ec);
 

-- 


Reply via email to