vcl/win/source/window/salframe.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 4c6ed2d2ad08362586624b4b5747fec20175c281
Author:     Matthias Seidel <msei...@apache.org>
AuthorDate: Tue Aug 7 17:47:08 2018 +0000
Commit:     Matthias Seidel <msei...@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 )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to