if(ev == NULL) {
_E("Invalid argument: event is NULL\n");
- _exit_cb(ad);
+ ad->exit_timer = ecore_timer_add(0.3, _exit_cb, ad);
return ECORE_CALLBACK_CANCEL;
}
}
if (ev->message_type == a_deact) {
- _exit_cb(ad);
+ ad->exit_timer = ecore_timer_add(0.3, _exit_cb, ad);
return ECORE_CALLBACK_CANCEL;
} else {
_D("messagre is act\n");
return lock == VCONFKEY_IDLE_LOCK ? IDLELOCK_ON : IDLELOCK_OFF;
}
-void _exit_cb(void *data)
+Eina_Bool _exit_cb(void *data)
{
int lock = IDLELOCK_ON;
lock = _get_vconf_idlelock();
}
else{
_D("IDLELOCK is set, taskmnager doesn't exit\n");
+ return ECORE_CALLBACK_CANCEL;
}
+ return ECORE_CALLBACK_CANCEL;
}
void _key_grab(struct appdata *ad)
int _unset_notification_level(Evas_Object *win);
int _set_notification_level(Evas_Object *win, Utilx_Notification_Level level);
void _key_grab(struct appdata *ad);
-void _exit_cb(void *data);
+Eina_Bool _exit_cb(void *data);
#endif
/* __TASKMANAGER_H___ */