backends/native: Use the define for BTN_STYLUS3
We #define it if at the top of the file if it's not available. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3541>
This commit is contained in:
parent
381048cf90
commit
d92c89ca23
1 changed files with 1 additions and 1 deletions
|
@ -832,7 +832,7 @@ meta_seat_impl_notify_button_in_impl (MetaSeatImpl *seat_impl,
|
|||
button_nr = CLUTTER_BUTTON_MIDDLE;
|
||||
break;
|
||||
|
||||
case 0x149: /* BTN_STYLUS3 */
|
||||
case BTN_STYLUS3:
|
||||
button_nr = 8;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue