always grab input when showing a gadget wizard

This commit is contained in:
Mike Blumenkrantz 2017-06-23 17:41:39 -04:00
parent be0015a283
commit 9fa3fdfc78
1 changed files with 2 additions and 0 deletions

View File

@ -353,6 +353,7 @@ _gadget_wizard_end(void *data, int id)
zgc->id = id;
evas_object_smart_callback_call(zgc->site->layout, "gadget_site_unlocked", NULL);
e_comp_ungrab_input(1, 1);
if (id)
{
_gadget_object_finalize(zgc);
@ -391,6 +392,7 @@ _gadget_object_create(E_Gadget_Config *zgc)
if (zgc->site->editor) evas_object_show(zgc->site->editor);
return EINA_FALSE;
}
e_comp_grab_input(1, 1);
evas_object_event_callback_add(zgc->cfg_object, EVAS_CALLBACK_DEL, _gadget_wizard_del, zgc);
evas_object_smart_callback_call(zgc->site->layout, "gadget_site_locked", NULL);
return EINA_TRUE;