discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=98dbaa909077ed2de05500dedf82feaaf0279206

commit 98dbaa909077ed2de05500dedf82feaaf0279206
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Sep 14 15:02:40 2017 -0400

    fix clickable edge binding activation with other mouse buttons
    
    check for the button specified in the binding, not whether the event
    contains a click
    
    fix T4510
---
 src/bin/e_bindings.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_bindings.c b/src/bin/e_bindings.c
index e068b4b19..dcfcba1ba 100644
--- a/src/bin/e_bindings.c
+++ b/src/bin/e_bindings.c
@@ -869,7 +869,7 @@ e_bindings_edge_event_find(E_Binding_Context ctxt, 
E_Event_Zone_Edge *ev, Eina_B
    EINA_LIST_FOREACH(edge_bindings, l, binding)
      /* A value of <= -1.0 for the delay indicates it as a mouse-click binding 
on that edge */
      if (((binding->edge == ev->edge)) &&
-         ((click && EINA_FLT_EQ(binding->delay, -1.0 * click)) || (!click && 
(binding->delay >= 0.0))) &&
+         ((click && EINA_FLT_EQ(binding->delay, -1.0 * ev->button)) || (!click 
&& (binding->delay >= 0.0))) &&
          ((binding->drag_only == ev->drag) || ev->drag) &&
          ((binding->any_mod) || (binding->mod == mod)))
        {

-- 


Reply via email to