summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-05-31 12:21:09 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-05-31 12:21:09 -0400
commit1fef7d04dc42b8bf9672bd6bad617d95a54444eb (patch)
treebfdcebd1879b092b58228aa87773cc02a563779c
parentb3561d764123bd842e55c7c362b7c82c84bb5139 (diff)
downloadenlightenment-1fef7d04dc42b8bf9672bd6bad617d95a54444eb.tar.gz
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
-rw-r--r--src/bin/e_comp_x.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 24e305b59e..7ad33adef9 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);