From 008a0658ece26e4d7320d74a403e99e2701bdb26 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 15 Jul 2015 14:27:19 -0400 Subject: [PATCH] only trigger client mouse-in from x11 mouse move event if client+desk are visible ref T2566 --- src/bin/e_comp_x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index d42af81..5a60da8 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -2241,7 +2241,7 @@ _e_comp_x_mouse_move(void *d EINA_UNUSED, int t EINA_UNUSED, Ecore_Event_Mouse_M if ((!ec) && (ev->window != ev->event_window)) ec = _e_comp_x_client_find_by_window(ev->event_window); if ((!ec) || e_client_util_ignored_get(ec)) return ECORE_CALLBACK_RENEW; - if (!ec->mouse.in) + if ((!ec->mouse.in) && (!ec->hidden) && e_client_util_desk_visible(ec, e_desk_current_get(ec->zone))) e_client_mouse_in(ec, e_comp_canvas_x_root_adjust(ev->root.x), e_comp_canvas_x_root_adjust(ev->root.y)); return ECORE_CALLBACK_RENEW; } -- 2.7.4