vcl/unx/gtk3/gtk3gtkframe.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 02c5a61944a212ecc4573001a2fb853339448b03 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Tue Feb 4 09:53:02 2020 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Feb 4 12:50:59 2020 +0100 tdf#129634 ignore floating toolbars Change-Id: Id51f14f75e6547532d9742ef3420e10d06974a17 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87957 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx index 6096dbd09ba0..ce2ed4f3ab47 100644 --- a/vcl/unx/gtk3/gtk3gtkframe.cxx +++ b/vcl/unx/gtk3/gtk3gtkframe.cxx @@ -3058,6 +3058,10 @@ void GtkSalFrame::signalSetFocus(GtkWindow*, GtkWidget* pWidget, gpointer frame) return; // change of focus between native widgets within the toplevel GtkSalFrame* pThis = static_cast<GtkSalFrame*>(frame); + // tdf#129634 ignore floating toolbars + if (pThis->m_nStyle & SalFrameStyleFlags::OWNERDRAWDECORATION) + return; + // tdf#129634 interpret losing focus as focus passing explicitly to another widget bool bLoseFocus = pWidget && pWidget != GTK_WIDGET(pThis->m_pFixedContainer); pThis->CallCallbackExc(bLoseFocus ? SalEvent::LoseFocus : SalEvent::GetFocus, nullptr); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits