summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2017-10-22 19:47:25 +0300
committerCaolán McNamara <caolanm@redhat.com>2017-10-22 21:51:23 +0200
commitd76c4e5c9aaf8bd27ec97679bcaeba5b18aca493 (patch)
treea3f777da170f90c28bce0edfd3a03a7b30c2a80b /vcl/unx/gtk
parent600039bc7bd5a4b9b0bdec4f2ce7c83f6d7445d8 (diff)
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@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx/gtk')
-rw-r--r--vcl/unx/gtk/gtksalframe.cxx1
1 files changed, 1 insertions, 0 deletions
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() )