handle more mouse buttons in wayland

according to the "reference" compositor this is how it works
This commit is contained in:
Mike Blumenkrantz 2016-01-21 16:28:25 -05:00
parent fabf2de023
commit 9245b1ec27
1 changed files with 7 additions and 1 deletions

View File

@ -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;
}