[Libreoffice-commits] core.git: Branch 'libreoffice-5-4' - vcl/unx
Maxim Monastirsky
momonasmon at gmail.com
Tue Oct 31 14:27:05 UTC 2017
vcl/unx/gtk/gtksalframe.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 6b51d804949b6860ffac4480c27e540558cb44d3
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>
(cherry picked from commit d76c4e5c9aaf8bd27ec97679bcaeba5b18aca493)
Reviewed-on: https://gerrit.libreoffice.org/43716
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
diff --git a/vcl/unx/gtk/gtksalframe.cxx b/vcl/unx/gtk/gtksalframe.cxx
index 6f97912171fe..5a06b220adad 100644
--- a/vcl/unx/gtk/gtksalframe.cxx
+++ b/vcl/unx/gtk/gtksalframe.cxx
@@ -1223,6 +1223,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