diff options
author | 2020-02-10 14:35:08 +0000 | |
---|---|---|
committer | 2020-02-10 14:35:08 +0000 | |
commit | 8945acc287c32d5270939c2b49dfd9022ee4fdd4 (patch) | |
tree | 16f1983fa69db7f5cd48d7871d3e0993a9b0df50 /usr.bin/tmux/window-buffer.c | |
parent | For compatibility with the man(1) implementations of the man-1.6 (diff) | |
download | wireguard-openbsd-8945acc287c32d5270939c2b49dfd9022ee4fdd4.tar.xz wireguard-openbsd-8945acc287c32d5270939c2b49dfd9022ee4fdd4.zip |
When walking the HID descriptor, even though we filter for hid_input
we will get hid_collection and hid_endcollection items. Since hid_
endcollection apparently returns the usage of the previous item, it
was possible that we "see" two items for the same usage. Make sure
that we only accept hid_input items. Both hidms and hidkbd do some-
thing similar, fixes the Pinebook Pro's trackpad.
ok kettenis@
Diffstat (limited to 'usr.bin/tmux/window-buffer.c')
0 files changed, 0 insertions, 0 deletions