static Eina_Bool
_event_filter(void *data, void *loop_data, int type, void *event)
{
+ Eina_Bool ret = EINA_TRUE;
if (!is_screen_reader_support)
{
DEBUG("screen reader is not supported");
- return EINA_TRUE;
+ return ret;
}
if (type == ECORE_EVENT_MOUSE_BUTTON_DOWN)
{
- return _mouse_button_down(type, event);
+ ret = _mouse_button_down(type, event);
}
else if (type == ECORE_EVENT_MOUSE_BUTTON_UP)
{
- return _mouse_button_up(type, event);
+ ret = _mouse_button_up(type, event);
}
else if (type == ECORE_EVENT_MOUSE_MOVE)
{
- return _mouse_move(type, event);
+ ret = _mouse_move(type, event);
}
- return EINA_TRUE;
+ /* Update e_screensaver before consumeing touch event */
+ if (!ret) e_screensaver_notidle();
+
+ return ret;
}
static void