summaryrefslogtreecommitdiff
path: root/vcl/aqua/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-11-10 14:33:01 +0200
committerTor Lillqvist <tml@collabora.com>2013-11-10 14:41:40 +0200
commit07032e5a6ef2fa42229e8bbf5219935beefa2447 (patch)
treec2e6458015b2fb865d771c8a168a24dadbc4146b /vcl/aqua/source
parentaec7399ccb54f83f7d6d414c153e4b1a3d3ad00c (diff)
fdo#71321: We should not actually use the delta-is-pixels concept on OS X
Despite the comment in salwtype.hxx, and despite it being set, before 4e7495ac2cb6b015ad492def45fd24f4ba0f54f8 the mbDeltaIsPixel flag had not been used for anything on OS X (or other desktop OSes). So when the code was modified for the sake of touch devices to do take mbDeltaIsPixel into consideration, that code path was incorrectly taken also on OS X leading to incorrect scrolling. Change-Id: I7cbca4656037eefce963e976f6acf8fbb32d5269
Diffstat (limited to 'vcl/aqua/source')
-rw-r--r--vcl/aqua/source/window/salframeview.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/aqua/source/window/salframeview.mm b/vcl/aqua/source/window/salframeview.mm
index 2931aaf3dcce..31b87e2fd52f 100644
--- a/vcl/aqua/source/window/salframeview.mm
+++ b/vcl/aqua/source/window/salframeview.mm
@@ -880,7 +880,7 @@ private:
aEvent.mnX = static_cast<long>(aPt.x) - mpFrame->maGeometry.nX;
aEvent.mnY = static_cast<long>(aPt.y) - mpFrame->maGeometry.nY;
aEvent.mnCode = ImplGetModifierMask( mpFrame->mnLastModifierFlags );
- aEvent.mbDeltaIsPixel = TRUE;
+ aEvent.mbDeltaIsPixel = FALSE;
// --- RTL --- (mirror mouse pos)
if( Application::GetSettings().GetLayoutRTL() )