input/cursor: remove erroneous cast for tablet tool button

The type expected by wlroots is uint32_t, which `event->button`
already is.
This commit is contained in:
Tudor Brindus 2020-05-02 13:25:27 -04:00 committed by Simon Ser
parent e262f93d0a
commit 52bd6aecf2
1 changed files with 1 additions and 2 deletions

View File

@ -739,8 +739,7 @@ static void handle_tool_button(struct wl_listener *listener, void *data) {
}
wlr_tablet_v2_tablet_tool_notify_button(sway_tool->tablet_v2_tool,
(enum zwp_tablet_pad_v2_button_state)event->button,
(enum zwp_tablet_pad_v2_button_state)event->state);
event->button, (enum zwp_tablet_pad_v2_button_state)event->state);
}
static void check_constraint_region(struct sway_cursor *cursor) {