remove check for desklock in comp object autoclose handler

This commit is contained in:
Mike Blumenkrantz 2017-05-12 12:09:18 -04:00
parent 203507fa22
commit effbb81722
1 changed files with 0 additions and 1 deletions

View File

@ -4410,7 +4410,6 @@ _e_comp_object_autoclose_key_down_cb(void *data EINA_UNUSED, int type EINA_UNUSE
Ecore_Event_Key *ev = event;
Eina_Bool del = EINA_TRUE;
if (e_desklock_state_get()) return ECORE_CALLBACK_RENEW;
/* returning false in key_cb means delete the object */
if (e_comp->autoclose.key_cb)
del = !e_comp->autoclose.key_cb(e_comp->autoclose.data, ev);