do not show wireless gadget popups if desklock is active

this gadget may be allowed on lockscreen, but configuration should be disabled
This commit is contained in:
Mike Blumenkrantz 2016-09-28 10:43:00 -04:00
parent ab56bc4662
commit 9d63a1db3e
1 changed files with 1 additions and 0 deletions

View File

@ -896,6 +896,7 @@ _wireless_gadget_mouse_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, v
};
if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
if (e_desklock_state_get()) return;
if (auth_popup) return;
for (type = 0; type < WIRELESS_SERVICE_TYPE_LAST; type++)
if (obj == inst->icon[type])