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:
|
case 3:
|
||||||
btn = BTN_RIGHT;
|
btn = BTN_RIGHT;
|
||||||
break;
|
break;
|
||||||
|
case 4:
|
||||||
|
case 5:
|
||||||
|
case 6:
|
||||||
|
case 7:
|
||||||
|
/* these are supposedly axis events */
|
||||||
|
return EINA_FALSE;
|
||||||
default:
|
default:
|
||||||
btn = button_id;
|
btn = button_id + BTN_SIDE - 8;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue