summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-01-21 16:28:25 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-02-02 13:36:20 -0500
commit97b65584445cd190d4b020111cc9e1ce580ce259 (patch)
tree50526e8b4c83030f664ae4173d4b0dd2d5223773
parent9af96a4c23dedb74e191fc1caaa325250f424d24 (diff)
handle more mouse buttons in wayland
according to the "reference" compositor this is how it works
-rw-r--r--src/bin/e_comp_wl.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 9e9c1adbc..cd4a0c58f 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
3100 case 3: 3100 case 3:
3101 btn = BTN_RIGHT; 3101 btn = BTN_RIGHT;
3102 break; 3102 break;
3103 case 4:
3104 case 5:
3105 case 6:
3106 case 7:
3107 /* these are supposedly axis events */
3108 return EINA_FALSE;
3103 default: 3109 default:
3104 btn = button_id; 3110 btn = button_id + BTN_SIDE - 8;
3105 break; 3111 break;
3106 } 3112 }
3107 3113