forked from enlightenment/enlightenment
do not reapply focus on canvas object ungrab/close for pointer-focus enthusiasts
This commit is contained in:
parent
8e6d512076
commit
9dee41f1a3
|
@ -1587,6 +1587,7 @@ 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;
|
||||
if (e_config->focus_policy != E_FOCUS_MOUSE)
|
||||
e_client_refocus();
|
||||
}
|
||||
|
||||
|
|
|
@ -3696,6 +3696,7 @@ _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;
|
||||
if (e_config->focus_policy != E_FOCUS_MOUSE)
|
||||
e_client_refocus();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue