diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-07-08 19:30:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-07-08 22:05:32 +0200 |
commit | 94f4bdb910a9db49016ea23cd0086f70a1468363 (patch) | |
tree | 029b024019b9e975cb999eaaa2e5af48e737cbf7 /vcl | |
parent | 7e66a473fa147546e5fb96c95a86ae5ec6f45fa5 (diff) |
expand to cover subwidgets
Change-Id: Ib0765e6a38c6dc6cdb32eefc013b432f3cf36db2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98386
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/app/salvtables.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index 4121165b37a5..893a7f4f0b49 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -596,7 +596,7 @@ void SalInstanceWidget::HandleMouseEventListener(VclSimpleEvent& rEvent) bool SalInstanceWidget::HandleKeyEventListener(VclWindowEvent& rEvent) { // we get all key events here, ignore them unless we have focus - if (!has_focus()) + if (!m_xWidget->HasChildPathFocus()) return false; if (rEvent.GetId() == VclEventId::WindowKeyInput) { |