Kaydet (Commit) 65d69d95 authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: tdf#113562 desired window didn't get the input

Change-Id: I4a2089a715dc67783bfd18d2ee0e55193c4ed741
Reviewed-on: https://gerrit.libreoffice.org/44500Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 9cb29621
......@@ -2063,10 +2063,11 @@ static void ImplHandleSalKeyMod( vcl::Window* pWindow, SalKeyModEvent const * pE
// #105224# send commandevent to allow special treatment of Ctrl-LeftShift/Ctrl-RightShift etc.
// + auto-accelerator feature, tdf#92630
// find window
// try to find a key input window...
vcl::Window* pChild = ImplGetKeyInputWindow( pWindow );
if ( !pChild )
return;
//...otherwise fail safe...
if (!pChild)
pChild = pWindow;
CommandModKeyData data( pEvent->mnModKeyCode, pEvent->mbDown );
ImplCallCommand( pChild, CommandEventId::ModKeyChange, &data );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment