Commits

Anonymous committed 68b037d

vcl115: #i113809# do not set an empty max size (thanks cmc!)

Comments (0)

Files changed (1)

vcl/unx/gtk/window/gtkframe.cxx

                 aHints |= GDK_HINT_MAX_SIZE;
             }
         }
-        if( m_bFullscreen )
+        if( m_bFullscreen && m_aMaxSize.Width() && m_aMaxSize.Height() )
         {
             aGeo.max_width = m_aMaxSize.Width();
             aGeo.max_height = m_aMaxSize.Height();