1
0
Fork 0

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:
Peter Hutterer 2024-01-23 15:16:47 +10:00 committed by Marge Bot
parent 381048cf90
commit d92c89ca23

View file

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