diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-10-14 08:30:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-14 08:30:02 -0400 |
commit | 2b09105bde84ef52ed8f683782dbf2091dcccb08 (patch) | |
tree | bc0f81b0798c7670b79bf20879843ad1a588eeef /backend/libinput | |
parent | 1df9b0bc1374a517e81fa679f277da417dd14fda (diff) | |
parent | 7cdc19d57f39127e8460e34b89f8d765cf4d5374 (diff) |
Merge pull request #271 from thejan2009/issue/double-scrollwheel
Fix duplicated pointer axis events
Diffstat (limited to 'backend/libinput')
-rw-r--r-- | backend/libinput/pointer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/libinput/pointer.c b/backend/libinput/pointer.c index 005c9516..ad9b8f02 100644 --- a/backend/libinput/pointer.c +++ b/backend/libinput/pointer.c @@ -128,7 +128,7 @@ void handle_pointer_axis(struct libinput_event *event, } wlr_event.delta = libinput_event_pointer_get_axis_value( pevent, axies[i]); + wl_signal_emit(&wlr_dev->pointer->events.axis, &wlr_event); } - wl_signal_emit(&wlr_dev->pointer->events.axis, &wlr_event); } } |