summaryrefslogtreecommitdiff
path: root/vcl/inc/salwtype.hxx
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/inc/salwtype.hxx
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/inc/salwtype.hxx')
-rw-r--r--vcl/inc/salwtype.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/salwtype.hxx b/vcl/inc/salwtype.hxx
index 135cd5da39fb..de9e2a4c38ab 100644
--- a/vcl/inc/salwtype.hxx
+++ b/vcl/inc/salwtype.hxx
@@ -156,7 +156,7 @@ struct SalWheelMouseEvent
sal_uLong mnScrollLines; // Actual number of lines to scroll
sal_uInt16 mnCode; // SV-Modifiercode (KEY_SHIFT|KEY_MOD1|KEY_MOD2|MOUSE_LEFT|MOUSE_MIDDLE|MOUSE_RIGHT)
sal_Bool mbHorz; // Horizontal
- sal_Bool mbDeltaIsPixel; // delta value is a pixel value (on mac)
+ sal_Bool mbDeltaIsPixel; // delta value is a pixel value (on touch devices)
SalWheelMouseEvent()
: mnTime( 0 ), mnX( 0 ), mnY( 0 ), mnDelta( 0 ), mnNotchDelta( 0 ), mnScrollLines( 0 ), mnCode( 0 ), mbHorz( sal_False ), mbDeltaIsPixel( sal_False )