[Libreoffice-commits] core.git: sfx2/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Nov 10 13:00:09 UTC 2020
sfx2/source/dialog/backingwindow.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 8db6290fbf80c4da993dd1138d6a848b4c9ea8db
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Nov 10 11:22:46 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Nov 10 13:59:25 2020 +0100
explicitly set backing window XFrame as ActiveFrame
instead of relying on implicit toplevel GetFocus to do it, so
having the focus in native widgets doesn't matter
Change-Id: I6e659a09fad187967e4c14024577e562a57441e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105518
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx
index 99c3990de072..9185458f62af 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -421,6 +421,10 @@ void BackingWindow::setOwningFrame( const css::uno::Reference< css::frame::XFram
mxDropTarget->addDropTargetListener(mxDropTargetListener);
mxDropTarget->setActive(true);
}
+
+ css::uno::Reference<XFramesSupplier> xFramesSupplier(mxDesktopDispatchProvider, UNO_QUERY);
+ if (xFramesSupplier)
+ xFramesSupplier->setActiveFrame(mxFrame);
}
IMPL_LINK(BackingWindow, ExtLinkClickHdl, weld::Button&, rButton, void)
More information about the Libreoffice-commits
mailing list