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

New commits:
commit 3bb21c55b1badb35e286c0960cb982b61249dd30
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Fri Mar 15 05:06:37 2024 +0100
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Fri Mar 15 07:26:02 2024 +0100

    Re-enable Alt key handling
    
    Regression after commit 772da0f1aa6891a0b31d45d99a5978c65ed24e34
    (tdf#156443, tdf#159079, tdf#158112: support Windows Alt codes
    >=256, 2024-01-10). In master, it was later fixed in commit
    a2dd71feb75d93adf0f0daac899e7476f961ec34 (tdf#54169: implement
    auto-accelerator feature on Windows, 2024-02-10).
    
    This is a selective fix for 24.2.
    
    Change-Id: Ic203b78de561ca9afaf589e242ff95c0481ffc15
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164824
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <m.wegh...@posteo.de>

diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx
index 1eed596e6c3d..bd93ad6bf432 100644
--- a/vcl/win/window/salframe.cxx
+++ b/vcl/win/window/salframe.cxx
@@ -3589,7 +3589,7 @@ static bool HandleAltNumPadCode(HWND hWnd, UINT nMsg, 
WPARAM wParam, LPARAM lPar
                 if (!(keyFlags & KF_REPEAT))
                     state.clear();
                 state.started = true;
-                return true;
+                return false; // This must be processed further - e.g., to 
show accelerators
             }
 
             if (!state.started)

Reply via email to