From b821be5749061b0b73d777cb2fc74204cbf78278 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Thu, 29 Feb 2024 13:31:00 +0100 Subject: input-device: unconfuse tablet naming WLR_INPUT_DEVICE_TABLET_TOOL is renamed to WLR_INPUT_DEVICE_TABLET The input device corresponds to wlr_tablet, not wlr_tablet_tool. --- examples/tablet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/tablet.c') diff --git a/examples/tablet.c b/examples/tablet.c index 7e9116a8..8f0754df 100644 --- a/examples/tablet.c +++ b/examples/tablet.c @@ -351,7 +351,7 @@ static void new_input_notify(struct wl_listener *listener, void *data) { wl_signal_add(&pstate->wlr_tablet_pad->events.ring, &pstate->ring); wl_list_insert(&sample->tablet_pads, &pstate->link); break; - case WLR_INPUT_DEVICE_TABLET_TOOL:; + case WLR_INPUT_DEVICE_TABLET:; struct wlr_tablet *tablet = wlr_tablet_from_input_device(device); sample->width_mm = tablet->width_mm == 0 ? 20 : tablet->width_mm; -- cgit v1.2.3