summaryrefslogtreecommitdiff
path: root/corking.h
AgeCommit message (Collapse)AuthorFilesLines
2013-06-04corking: use bool instead of intDaniel Borkmann1-2/+4
We have a boolen condition, so use bool instead of doing stupid things with ints. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
2013-06-04corking: break out udp/tcp cork functionsDaniel Borkmann1-0/+11
No, it's not about whine bottles ... move udp and tcp cork functions out of xutils.c, so that we can further let it shrink. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
0e31bd1043bb18fd5765c9f86928491'>patch) tree70369e3713cd7b5f2235e16c605566e6a083a91e /drivers/hid parentdbfebb44b7c650dd134a8be07f9afd5862150987 (diff)
HID: lenovo: Hide middle-button press until release
Don't relay a middle button press to userspace until release, and then only if there was no scroll events inbetween. This is closer to what Xorg's wheel emulation does, and avoids spurious middle-click pastes. Signed-off-by: Jamie Lentin <jm@lentin.co.uk> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')