From d92c89ca232bf7713d1a4c58b4d3f58dceb66c02 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 23 Jan 2024 15:16:47 +1000 Subject: [PATCH] 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: --- src/backends/native/meta-seat-impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/native/meta-seat-impl.c b/src/backends/native/meta-seat-impl.c index 835c5a47d..f1607f275 100644 --- a/src/backends/native/meta-seat-impl.c +++ b/src/backends/native/meta-seat-impl.c @@ -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;