From 9245b1ec2746696801ecc3a322a6f4d528d03c0f Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 21 Jan 2016 16:28:25 -0500 Subject: [PATCH] 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 bb49c0739..00fe69716 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; }