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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Jan 29 12:45:58 UTC 2019


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

New commits:
commit bdf40cca40ddbea8c5c903f2695d6f958c87bb3b
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jan 29 11:28:35 2019 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jan 29 13:45:34 2019 +0100

    tdf#117713 set a tiny default size-request for the fixed container
    
    otherwise we get a default one if SetMinClientSize is never called, which
    is the case for these spawned-from-basic dialogs
    
    Change-Id: I4f0389de6abcb1e99b32798969dca49bf8f0f760
    Reviewed-on: https://gerrit.libreoffice.org/67063
    Tested-by: Jenkins
    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 7f74dae76270..d437497227d4 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -1009,6 +1009,7 @@ void GtkSalFrame::InitCommon()
     // add the fixed container child,
     // fixed is needed since we have to position plugin windows
     m_pFixedContainer = GTK_FIXED(g_object_new( ooo_fixed_get_type(), nullptr ));
+    gtk_widget_set_size_request(GTK_WIDGET(m_pFixedContainer), 1, 1);
     gtk_container_add( GTK_CONTAINER(m_pEventBox), GTK_WIDGET(m_pFixedContainer) );
 
     GtkWidget *pEventWidget = getMouseEventWidget();


More information about the Libreoffice-commits mailing list