discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=9245b1ec2746696801ecc3a322a6f4d528d03c0f

commit 9245b1ec2746696801ecc3a322a6f4d528d03c0f
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Jan 21 16:28:25 2016 -0500

    handle more mouse buttons in wayland
    
    according to the "reference" compositor this is how it works
---
 src/bin/e_comp_wl.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index bb49c07..00fe697 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -3100,8 +3100,14 @@ e_comp_wl_evas_handle_mouse_button(E_Client *ec, 
uint32_t timestamp, uint32_t bu
       case 3:
         btn = BTN_RIGHT;
         break;
+      case 4:
+      case 5:
+      case 6:
+      case 7:
+        /* these are supposedly axis events */
+        return EINA_FALSE;
       default:
-        btn = button_id;
+        btn = button_id + BTN_SIDE - 8;
         break;
      }
 

-- 


Reply via email to