winex11.drv: Interpret mouse 6/7 as horiz scroll.
commit893080e4df5a45929320ebb88b8668eea316476c
authorMurray Colpman <muzer@tim32.org>
Mon, 11 May 2020 23:39:02 +0000 (12 00:39 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 14 May 2020 21:12:31 +0000 (14 23:12 +0200)
tree1dccceb410a3cbaae4cffbe2530523098d66525b
parent526522caae103a27cd36740d6eca59387a189d02
winex11.drv: Interpret mouse 6/7 as horiz scroll.

X11 Mouse buttons 6 and 7 were set to translate into browser
back/forward button events. However, this is based on an old convention
where buttons 6 and 7 could either mean horizontal scroll or browser
back/forward. Nowadays, 6 and 7 solely mean horizontal scroll, 8 and 9
being used for back/forward. In addition, the wide adoption of
two-finger two-dimensional scrolling on laptop trackpads since this code
was written has meant that back/forward events may be generated
unintentionally, which can be very disruptive when using tools such as
web browsers.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49142
Signed-off-by: Murray Colpman <muzer@tim32.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/winex11.drv/mouse.c