[Libreoffice-commits] core.git: vcl/source

Caolán McNamara caolanm at redhat.com
Fri Jul 29 11:21:19 UTC 2016


 vcl/source/window/window.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9a40590d0ca45a587717b3931a5eed8c2c2c6f1b
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jul 29 12:20:25 2016 +0100

    this 0x4000 means KEY_MOD2
    
    Change-Id: Id260c776241cfa5af35c51ccee7ba6942a353f8d

diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index f6d460d..1df5038 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -1801,7 +1801,7 @@ void Window::KeyInput( const KeyEvent& rKEvt )
     if (cod.GetCode () >= 0x200 && cod.GetCode () <= 0x219)
     {
         if (!accel) return;
-        if (autoacc && cod.GetModifier () != 0x4000) return;
+        if (autoacc && cod.GetModifier () != KEY_MOD2) return;
     }
 
     NotifyEvent aNEvt( MouseNotifyEvent::KEYINPUT, this, &rKEvt );


More information about the Libreoffice-commits mailing list