diff options
author | Andy Nichols <andy.nichols@digia.com> | 2013-01-28 17:12:46 +0100 |
---|---|---|
committer | Andy Nichols <andy.nichols@digia.com> | 2013-01-31 12:02:06 +0100 |
commit | 5d188139d3f9d8aeaca10a941c7fb177c709a0c0 (patch) | |
tree | 9b0656062613be010bce0f90821229f16654fe92 /qtwayland.pro | |
parent | 744f8ce55c04d8cac73c8283ab7552456a8ee15d (diff) |
Fix scroll wheel behavior for Wayland clients
There are inconsistencies between how we represent mouse wheel deltas
and how the Weston compositor does. For better compatibility with
Weston we need to change our mouse axis events too look like
Up: positive Y (+10)
Down: negative Y (-10)
Left: positive X (+10)
Right: negative X (-10)
Our synthesised mouse wheel deltas are (+ or -)120 with both axes
inversed.
With this change Qt Clients should behave the same way on both Weston
and QtCompositors.
Change-Id: I37b4fd8cbb93e5a1a135a60ae8c3547c823aeba2
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Diffstat (limited to 'qtwayland.pro')
0 files changed, 0 insertions, 0 deletions