mirror of
https://github.com/NickHu/sway
synced 2024-12-27 21:58:11 +01:00
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
1 changed files with 1 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue