discomfitor pushed a commit to branch enlightenment-0.19. http://git.enlightenment.org/core/enlightenment.git/commit/?id=800ec5eaa3b988ff9a37501de46831c578a23a22
commit 800ec5eaa3b988ff9a37501de46831c578a23a22 Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Fri Feb 20 09:55:20 2015 -0500 do not reapply focus on canvas object ungrab/close for pointer-focus enthusiasts --- src/bin/e_comp.c | 3 ++- src/bin/e_comp_object.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c index db44bfc..4a9eae4 100644 --- a/src/bin/e_comp.c +++ b/src/bin/e_comp.c @@ -1721,7 +1721,8 @@ e_comp_ungrab_input(E_Comp *c, Eina_Bool mouse, Eina_Bool kbd) evas_event_feed_mouse_out(c->evas, 0, NULL); evas_event_feed_mouse_in(c->evas, 0, NULL); if (e_client_focused_get()) return; - e_client_refocus(); + if (e_config->focus_policy != E_FOCUS_MOUSE) + e_client_refocus(); } EAPI void diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index 230edfb..bd5a15b 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -3704,7 +3704,8 @@ _e_comp_object_autoclose_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, evas_object_event_callback_del(obj, EVAS_CALLBACK_SHOW, _e_comp_object_autoclose_show); _e_comp_object_autoclose_cleanup(data, 1); if (e_client_focused_get()) return; - e_client_refocus(); + if (e_config->focus_policy != E_FOCUS_MOUSE) + e_client_refocus(); } EAPI void --