do not reapply focus on canvas object ungrab/close for pointer-focus enthusiasts

This commit is contained in:
Mike Blumenkrantz 2015-02-20 09:55:20 -05:00
parent c15e0848b5
commit 800ec5eaa3
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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