[Libreoffice-commits] core.git: vcl/source
Caolán McNamara
caolanm at redhat.com
Fri Jun 27 05:32:24 PDT 2014
vcl/source/window/winproc.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2b9ad2ef6bf904a8c2ec94e58644e8a7f7a36ae3
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Jun 27 13:31:45 2014 +0100
do what I mean, not what I say
Change-Id: I1c86ff5713401771d6002de0a26bad4430d271fd
diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx
index e98f7dd..c8094c4 100644
--- a/vcl/source/window/winproc.cxx
+++ b/vcl/source/window/winproc.cxx
@@ -1431,7 +1431,7 @@ static bool ImplHandleWheelEvent( Window* pWindow, const SalWheelMouseEvent& rEv
pMouseWindow = pMouseWindow->GetParent();
}
- if (acceptableWheelScrollTarget(pMouseWindow) && !pMouseWindow->IsInModalMode())
+ if (acceptableWheelScrollTarget(pMouseWindow) && pMouseWindow->IsEnabled())
{
// transform coordinates to float window frame coordinates
Point aRelMousePos( pMouseWindow->OutputToScreenPixel(
More information about the Libreoffice-commits
mailing list