mirror of
https://github.com/brl/mutter.git
synced 2025-01-24 10:28:58 +00:00
bce4c87232
An array is used to translate the button to its mask. Clutter defines the masks for button 1 to 5 but we report BTN_LEFT..BTN_TASK ie 0x110..0x117. We need to pad the array for the translation not to access random data for buttons between 0x115 and 0x117.