do not reapply focus on canvas object ungrab/close for pointer-focus enthusiasts
This commit is contained in:
parent
c15e0848b5
commit
800ec5eaa3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue