Skip to content

Commit

Permalink
fixes scrolling with trackpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
toniz4 committed Sep 25, 2020
1 parent e9d1b24 commit 3a1af72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static void x_cb(EV_P_ ev_io *w, int revents) {
}

static bool is_button_ignored(const XIRawEvent *data) {
if (config.ignore_scrolling && (data->detail == 4 || data->detail == 5)) {
if (config.ignore_scrolling && (data->detail == 4 || data->detail == 5 || data->detail == 6)) {
return true;
}

Expand Down

0 comments on commit 3a1af72

Please sign in to comment.