[Libreoffice-commits] core.git: vcl/unx
Maxim Monastirsky
momonasmon at gmail.com
Sun Oct 22 19:51:44 UTC 2017
vcl/unx/gtk/gtksalframe.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit d76c4e5c9aaf8bd27ec97679bcaeba5b18aca493
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date: Sun Oct 22 19:47:25 2017 +0300
tdf#113353 gtk2: No decoration for floating toolbars
Some window managers need this explicit setting.
Change-Id: I007f066e29002d8988132f72ef55fbe3b679fa8c
Reviewed-on: https://gerrit.libreoffice.org/43697
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/unx/gtk/gtksalframe.cxx b/vcl/unx/gtk/gtksalframe.cxx
index 59e2b21ad31b..e48b3bb336a6 100644
--- a/vcl/unx/gtk/gtksalframe.cxx
+++ b/vcl/unx/gtk/gtksalframe.cxx
@@ -1216,6 +1216,7 @@ void GtkSalFrame::Init( SalFrame* pParent, SalFrameStyleFlags nStyle )
{
eType = GDK_WINDOW_TYPE_HINT_TOOLBAR;
lcl_set_accept_focus( GTK_WINDOW(m_pWindow), false, true );
+ gtk_window_set_decorated( GTK_WINDOW(m_pWindow), false );
}
if( (nStyle & SalFrameStyleFlags::PARTIAL_FULLSCREEN )
&& getDisplay()->getWMAdaptor()->isLegacyPartialFullscreen() )
More information about the Libreoffice-commits
mailing list