discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=33740ca30642a644d465e7a3c58a12a344fbd09d
commit 33740ca30642a644d465e7a3c58a12a344fbd09d Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Thu Nov 3 11:44:23 2016 -0400 return correct values from bryce post event callbacks I referenced elm scrollable for this when writing it. past me was a moron for using reference code instead of reading the underlying implementation. fixes scrolling --- src/bin/e_bryce.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/bin/e_bryce.c b/src/bin/e_bryce.c index d224435..d4641ae 100644 --- a/src/bin/e_bryce.c +++ b/src/bin/e_bryce.c @@ -567,13 +567,13 @@ _bryce_mouse_down_post(void *data, Evas *e EINA_UNUSED) ev = b->event_info; b->event_info = NULL; - 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 (e_bindings_mouse_down_evas_event_handle(E_BINDING_CONTEXT_ANY, b->e_obj_inherit, ev)) - return EINA_TRUE; - if (ev->button != 3) return EINA_FALSE; + return EINA_FALSE; + if (ev->button != 3) return EINA_TRUE; b->last_timestamp = ev->timestamp; _bryce_act_menu_job(b); - return EINA_TRUE; + return EINA_FALSE; } static void @@ -593,8 +593,8 @@ _bryce_mouse_up_post(void *data, Evas *e EINA_UNUSED) ev = b->event_info; b->event_info = NULL; - if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE; - return !!e_bindings_mouse_up_evas_event_handle(E_BINDING_CONTEXT_ANY, b->e_obj_inherit, ev); + if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_TRUE; + return !e_bindings_mouse_up_evas_event_handle(E_BINDING_CONTEXT_ANY, b->e_obj_inherit, ev); } static void @@ -614,8 +614,8 @@ _bryce_mouse_wheel_post(void *data, Evas *e EINA_UNUSED) ev = b->event_info; b->event_info = NULL; - if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE; - return !!e_bindings_wheel_evas_event_handle(E_BINDING_CONTEXT_ANY, b->e_obj_inherit, ev); + if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_TRUE; + return !e_bindings_wheel_evas_event_handle(E_BINDING_CONTEXT_ANY, b->e_obj_inherit, ev); } static void --