[Libreoffice-commits] core.git: Branch 'aoo/trunk' - vcl/win
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Aug 7 18:09:13 UTC 2018
vcl/win/source/window/salframe.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 4c6ed2d2ad08362586624b4b5747fec20175c281
Author: Matthias Seidel <mseidel at apache.org>
AuthorDate: Tue Aug 7 17:47:08 2018 +0000
Commit: Matthias Seidel <mseidel at apache.org>
CommitDate: Tue Aug 7 17:47:08 2018 +0000
i95390 - Fix for reversed scrolling
Patch by Bidouille
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx
index 5eef35c1f2a5..bbcedd3215a0 100644
--- a/vcl/win/source/window/salframe.cxx
+++ b/vcl/win/source/window/salframe.cxx
@@ -3563,6 +3563,9 @@ static long ImplHandleWheelMsg( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lPar
{
aWheelEvt.mnScrollLines = aSalShlData.mnWheelScrollChars;
aWheelEvt.mbHorz = TRUE;
+ // BZ 95390 - seems horiz scrolling has swapped direction
+ aWheelEvt.mnDelta *= -1;
+ aWheelEvt.mnNotchDelta *= -1;
}
if ( nWinModCode & MK_SHIFT )
More information about the Libreoffice-commits
mailing list