discomfitor pushed a commit to branch enlightenment-0.19. http://git.enlightenment.org/core/enlightenment.git/commit/?id=9e5c227689511cb4ff909c57791067e17c7c2695
commit 9e5c227689511cb4ff909c57791067e17c7c2695 Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Mon Jun 29 16:00:43 2015 -0400 trigger fake mouse-out on clients when unsetting focus this will allow a more reasonable determination of pointer location when attempting to apply mouse-based focus policies --- src/bin/e_client.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/e_client.c b/src/bin/e_client.c index e8d62e8..b65ffce 100644 --- a/src/bin/e_client.c +++ b/src/bin/e_client.c @@ -3488,6 +3488,8 @@ e_client_focused_set(E_Client *ec) ec_unfocus->want_focus = ec_unfocus->focused = 0; if (!e_object_is_del(E_OBJECT(ec_unfocus))) e_focus_event_focus_out(ec_unfocus); + if (ec_unfocus->mouse.in) + e_client_mouse_out(ec_unfocus, ec_unfocus->x - 1, ec_unfocus->y - 1); E_FREE_FUNC(ec_unfocus->raise_timer, ecore_timer_del); --