summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Versini <Arnaud.Versini@libreoffice.org>2017-03-26 15:48:49 +0200
committerCaolán McNamara <caolanm@redhat.com>2017-03-26 20:09:33 +0000
commit80c18d5dd33d0681c58816d7536fe3e7d1297b9e (patch)
tree7465cc0bdac36c0a83705722fa432766c3ce01b8
parent12c6caa84a61f23df996a0396432fa4b8d5c4785 (diff)
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@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/unx/gtk3/gtk3gtkframe.cxx4
1 files changed, 4 insertions, 0 deletions
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