discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=f1163107574a150cda7d1ef5e34f005e58b9680d
commit f1163107574a150cda7d1ef5e34f005e58b9680d Author: Mike Blumenkrantz <[email protected]> Date: Thu Nov 3 11:42:26 2016 -0400 elm scrollable: return correct values from post event callbacks post event callbacks must return 0 to stop processing when an event is consumed, and 1 when processing should continue. this is the only place in all of efl which used this functionality, and it did so incorrectly. @fix ref 248b6beeee1e2387176e3abec7176e916175f12a ref D2393 --- src/lib/elementary/elm_interface_scrollable.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/elementary/elm_interface_scrollable.c b/src/lib/elementary/elm_interface_scrollable.c index 38501b0..8465a04 100644 --- a/src/lib/elementary/elm_interface_scrollable.c +++ b/src/lib/elementary/elm_interface_scrollable.c @@ -1897,7 +1897,7 @@ _scroll_wheel_post_event_cb(void *data, Evas *e EINA_UNUSED) pwx = sid->wx; pwy = sid->wy; - if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE; + if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_TRUE; if (evas_key_modifier_is_set(ev->modifiers, "Shift")) direction = !direction; @@ -2025,7 +2025,7 @@ _scroll_wheel_post_event_cb(void *data, Evas *e EINA_UNUSED) sid->down.last_time_y_wheel = t; } - return EINA_TRUE; + return EINA_FALSE; } static void @@ -2076,7 +2076,7 @@ _elm_scroll_post_event_up(void *data, elm_widget_drag_lock_y_set(sid->obj, EINA_FALSE); } } - return EINA_TRUE; + return EINA_FALSE; } static Eina_Bool @@ -2931,7 +2931,7 @@ _elm_scroll_post_event_move(void *data, } if (start) _elm_scroll_drag_start(sid); - return EINA_TRUE; + return EINA_FALSE; } static void --
