E_Text_Input *text_input = wl_resource_get_user_data(resource);
E_Input_Method *input_method = NULL;
Eina_Bool _context_created = EINA_FALSE;
+ E_Zone *zone = NULL;
+ double timeout;
if (!text_input)
{
ecore_timer_del(g_timer_will_hide);
g_timer_will_hide = NULL;
}
- g_timer_will_hide = ecore_timer_add(WILL_HIDE_TIMER_INTERVAL, _will_hide_timer_handler, NULL);
+
+ zone = e_zone_current_get();
+ if (zone && (zone->display_state == E_ZONE_DISPLAY_STATE_OFF))
+ timeout = 0.0f;
+ else
+ timeout = WILL_HIDE_TIMER_INTERVAL;
+ g_timer_will_hide = ecore_timer_add(timeout, _will_hide_timer_handler, NULL);
}
if (g_input_method && g_input_method->resource)