diff options
Diffstat (limited to 'examples/tablet.c')
-rw-r--r-- | examples/tablet.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |