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,7 +1587,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_out(c->evas, 0, NULL);
|
||||||
evas_event_feed_mouse_in(c->evas, 0, NULL);
|
evas_event_feed_mouse_in(c->evas, 0, NULL);
|
||||||
if (e_client_focused_get()) return;
|
if (e_client_focused_get()) return;
|
||||||
e_client_refocus();
|
if (e_config->focus_policy != E_FOCUS_MOUSE)
|
||||||
|
e_client_refocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
|
|
|
@ -3696,7 +3696,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);
|
evas_object_event_callback_del(obj, EVAS_CALLBACK_SHOW, _e_comp_object_autoclose_show);
|
||||||
_e_comp_object_autoclose_cleanup(data, 1);
|
_e_comp_object_autoclose_cleanup(data, 1);
|
||||||
if (e_client_focused_get()) return;
|
if (e_client_focused_get()) return;
|
||||||
e_client_refocus();
|
if (e_config->focus_policy != E_FOCUS_MOUSE)
|
||||||
|
e_client_refocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
|
|
Loading…
Reference in New Issue