fix on hold events for selection by scrollframe in e if thumbscroll is

off.



SVN revision: 78674
This commit is contained in:
Carsten Haitzler 2012-10-30 16:12:20 +00:00
parent aa1da25166
commit 3eb7dfc04e
1 changed files with 18 additions and 14 deletions

View File

@ -657,6 +657,9 @@ _e_smart_event_mouse_move(void *data, Evas *e, Evas_Object *obj __UNUSED__, void
(((x * x) + (y * y)) > (((x * x) + (y * y)) >
(e_config->thumbscroll_threshhold * (e_config->thumbscroll_threshhold *
e_config->thumbscroll_threshhold))) e_config->thumbscroll_threshhold)))
{
if ((e_config->thumbscroll_enable) ||
(sd->thumbscroll.forced))
{ {
if (!sd->down.dragged) if (!sd->down.dragged)
evas_event_feed_hold(e, 1, ev->timestamp, ev->data); evas_event_feed_hold(e, 1, ev->timestamp, ev->data);
@ -680,6 +683,7 @@ _e_smart_event_mouse_move(void *data, Evas *e, Evas_Object *obj __UNUSED__, void
} }
} }
} }
}
static void static void
_e_smart_event_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info) _e_smart_event_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)