forked from enlightenment/enlightenment
handle more mouse buttons in wayland
according to the "reference" compositor this is how it works
This commit is contained in:
parent
fabf2de023
commit
9245b1ec27
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue