From 1fef7d04dc42b8bf9672bd6bad617d95a54444eb Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 31 May 2016 12:21:09 -0400 Subject: [PATCH] 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 24e305b59..7ad33adef 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -1083,6 +1083,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);