Change-Id: Icc24c4747212f993bcaca5a0af747c115b037eef
case ONE_FINGER_HOVER:
if (nd->prepared) {
DEBUG("Prepare to move slider");
- _move_slider(nd, info);
- } else {
+ _move_slider(nd, info); // on recoverable failure sets nd->prepared to false to give a chance to focus widget
+ }
+ if (!nd->prepared) {
if (nd->last_hover_event_time < 0)
nd->last_hover_event_time = info->event_time;
//info->event_time and last_hover_event_time contain timestamp in ms.
to make highlight on keypad window. */
//break;
}
+ if (info->state == 2 && nd->prepared)
+ nd->prepared = false;
if (!nd->prepared)
_focus_widget(nd, info);
break;