openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msei...@apache.org
Subject svn commit: r1837608 - /openoffice/trunk/main/vcl/win/source/window/salframe.cxx
Date Tue, 07 Aug 2018 17:47:09 GMT
Author: mseidel
Date: Tue Aug  7 17:47:08 2018
New Revision: 1837608

URL: http://svn.apache.org/viewvc?rev=1837608&view=rev
Log:
i95390 - Fix for reversed scrolling

Patch by Bidouille

Modified:
    openoffice/trunk/main/vcl/win/source/window/salframe.cxx

Modified: openoffice/trunk/main/vcl/win/source/window/salframe.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/win/source/window/salframe.cxx?rev=1837608&r1=1837607&r2=1837608&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/win/source/window/salframe.cxx (original)
+++ openoffice/trunk/main/vcl/win/source/window/salframe.cxx Tue Aug  7 17:47:08 2018
@@ -3563,6 +3563,9 @@ static long ImplHandleWheelMsg( HWND hWn
         {
             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 )



Mime
View raw message