forked from enlightenment/enlightenment
fix on hold events for selection by scrollframe in e if thumbscroll is
off. SVN revision: 78674
This commit is contained in:
parent
aa1da25166
commit
3eb7dfc04e
|
@ -657,6 +657,9 @@ _e_smart_event_mouse_move(void *data, Evas *e, Evas_Object *obj __UNUSED__, void
|
|||
(((x * x) + (y * y)) >
|
||||
(e_config->thumbscroll_threshhold *
|
||||
e_config->thumbscroll_threshhold)))
|
||||
{
|
||||
if ((e_config->thumbscroll_enable) ||
|
||||
(sd->thumbscroll.forced))
|
||||
{
|
||||
if (!sd->down.dragged)
|
||||
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
|
||||
_e_smart_event_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
|
||||
|
|
Loading…
Reference in New Issue