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:
parent
e262f93d0a
commit
52bd6aecf2
|
@ -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,
|
wlr_tablet_v2_tablet_tool_notify_button(sway_tool->tablet_v2_tool,
|
||||||
(enum zwp_tablet_pad_v2_button_state)event->button,
|
event->button, (enum zwp_tablet_pad_v2_button_state)event->state);
|
||||||
(enum zwp_tablet_pad_v2_button_state)event->state);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void check_constraint_region(struct sway_cursor *cursor) {
|
static void check_constraint_region(struct sway_cursor *cursor) {
|
||||||
|
|
Loading…
Reference in a new issue