discomfitor pushed a commit to branch enlightenment-0.20.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=97b65584445cd190d4b020111cc9e1ce580ce259

commit 97b65584445cd190d4b020111cc9e1ce580ce259
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 9e9c1ad..cd4a0c5 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