discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=45191ff294a117719bb2246bac9f0b29cd713ee7

commit 45191ff294a117719bb2246bac9f0b29cd713ee7
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Jan 17 17:33:57 2018 -0500

    efl-wl: send more mouse buttons to clients
    
    @fix
---
 src/lib/efl_wl/efl_wl.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c
index cbfc4cc94d..6606e990e4 100644
--- a/src/lib/efl_wl/efl_wl.c
+++ b/src/lib/efl_wl/efl_wl.c
@@ -2058,11 +2058,17 @@ comp_surface_mouse_button(Comp_Surface *cs, Comp_Seat 
*s, uint32_t timestamp, ui
         btn = BTN_RIGHT;
         break;
       case 4:
+        btn = BTN_SIDE;
+        break;
       case 5:
+        btn = BTN_EXTRA;
+        break;
       case 6:
+        btn = BTN_FORWARD;
+        break;
       case 7:
-        /* these are supposedly axis events */
-        return;
+        btn = BTN_BACK;
+        break;
       default:
         btn = button_id + BTN_SIDE - 8;
         break;

-- 


Reply via email to