vcl/unx/gtk3/gtkframe.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 149f5e398c77b17c23941042c859264e322fbc2a Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Jun 24 11:33:07 2021 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Jun 24 21:44:30 2021 +0200 gtk4: start with initial window state of all unset bits Change-Id: I36fd31253a61308b2cf84d48d3e963af6c49118f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117783 Tested-by: Caolán McNamara <caol...@redhat.com> Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/unx/gtk3/gtkframe.cxx b/vcl/unx/gtk3/gtkframe.cxx index 89e3a3f59a83..519837c75a4e 100644 --- a/vcl/unx/gtk3/gtkframe.cxx +++ b/vcl/unx/gtk3/gtkframe.cxx @@ -1074,7 +1074,7 @@ void GtkSalFrame::InitCommon() m_bFullscreen = false; m_bSpanMonitorsWhenFullscreen = false; #if GTK_CHECK_VERSION(4,0,0) - m_nState = GDK_TOPLEVEL_STATE_MAXIMIZED; + m_nState = static_cast<GdkToplevelState>(0); #else m_nState = GDK_WINDOW_STATE_WITHDRAWN; #endif _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits