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

Arnaud Versini Arnaud.Versini at libreoffice.org
Sun Mar 26 20:09:58 UTC 2017


 vcl/unx/gtk3/gtk3gtkframe.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 80c18d5dd33d0681c58816d7536fe3e7d1297b9e
Author: Arnaud Versini <Arnaud.Versini at libreoffice.org>
Date:   Sun Mar 26 15:48:49 2017 +0200

    Fixes tdf#106772 show the window in X11 in VCL gtk3 plugin.
    
    The window is shown only in Wayland.
    Thanks to Jean-Baptiste Faure for the bisect.
    
    Change-Id: Ibeffc5ae62d4c341e30b15021eb695859fc1025a
    Reviewed-on: https://gerrit.libreoffice.org/35720
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
index 847675f082c9..67d79c1e0c51 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -1461,6 +1461,10 @@ void GtkSalFrame::Show( bool bVisible, bool /*bNoActivate*/ )
                 gtk_widget_show(m_pWindow);
                 g_set_prgname(sOrigName.getStr());
             }
+            else
+            {
+                gtk_widget_show(m_pWindow);
+            }
 #else
             gtk_widget_show(m_pWindow);
 #endif


More information about the Libreoffice-commits mailing list