]> git.sesse.net Git - vlc/commit
skins2(Linux): fix scrolling twice faster than expected
authorErwan Tulou <erwan10@videolan.org>
Mon, 24 Jan 2011 13:40:58 +0000 (14:40 +0100)
committerErwan Tulou <erwan10@videolan.org>
Mon, 24 Jan 2011 22:16:46 +0000 (23:16 +0100)
commit28c4972c0563ec657f01b4e8a38a4358d8e209e1
tree7ee2b629f7126bc01367891ce7c2691c6bde7de6
parent5d2dcf67aee468907e34e243fa7b7e2ff201851b
skins2(Linux): fix scrolling twice faster than expected

On Linux, two scrolling events were generated for each wheel step
(one on ButtonPress, one on ButtonRelease). This led to scrolling being
twice faster on Linux than it is on Windows.

This patch ensures that only one scroll event is issued for one step at the
mouse wheel.
modules/gui/skins2/x11/x11_loop.cpp