From: Mike Blumenkrantz Date: Wed, 15 Jul 2015 18:27:19 +0000 (-0400) Subject: only trigger client mouse-in from x11 mouse move event if client+desk are visible X-Git-Tag: upstream/0.20.0~566 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=008a0658ece26e4d7320d74a403e99e2701bdb26;p=platform%2Fupstream%2Fenlightenment.git only trigger client mouse-in from x11 mouse move event if client+desk are visible ref T2566 --- 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; }