aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-rw-r--r--sway/input/cursor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index 90ed3b5c..0b11c924 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -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) {