diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-06-21 16:54:12 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-06-22 13:37:23 +0000 |
commit | d2c0ba3f3073322ca6c8390394c3ecf5f7593775 (patch) | |
tree | d9bc1cd989619de3819e12f63895b2fd9f14076e /src/plugins/platforms/xcb/qxcbwindow.h | |
parent | 4fa8dfee5dd31433d22fdb449c1783e256931c8f (diff) |
Do not update scroll coordinates on ignorable enter events
This greatly reduces how often we reset the scroll evaluators,
especially with non-focused windows in KWin which sends an enter for
every wheel events in that case.
The update of the evaluators also has race conditions with the normal
events, and thus reducing them fixes odd scrolling behavior with rapid
firing mouse wheels.
Task-number: QTBUG-42415
Task-number: QTBUG-68734
Change-Id: I1c14ca3352bf9c6e57e47ad3aaee1712fe6ba30b
Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbwindow.h')
0 files changed, 0 insertions, 0 deletions