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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 8 20:06:19 UTC 2020


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

New commits:
commit 94f4bdb910a9db49016ea23cd0086f70a1468363
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jul 8 19:30:32 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Jul 8 22:05:32 2020 +0200

    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 at redhat.com>

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)
     {


More information about the Libreoffice-commits mailing list