[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Sep 27 16:03:52 UTC 2021
vcl/unx/gtk3/gtkframe.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c918afc1555149ee2e1f8e1f560f1eac3fabaa04
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Sep 27 15:04:35 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Sep 27 18:03:17 2021 +0200
gtk3: fix fullscreen mode
Change-Id: I7cfa039dfa246b5384f259a4002d30684026550c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122714
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/unx/gtk3/gtkframe.cxx b/vcl/unx/gtk3/gtkframe.cxx
index acf70ea9fbfe..9f305bf2dcc0 100644
--- a/vcl/unx/gtk3/gtkframe.cxx
+++ b/vcl/unx/gtk3/gtkframe.cxx
@@ -2122,7 +2122,7 @@ void GtkSalFrame::SetScreen( unsigned int nNewScreen, SetType eType, tools::Rect
GdkFullscreenMode eMode =
bSpanMonitorsWhenFullscreen ? GDK_FULLSCREEN_ON_ALL_MONITORS : GDK_FULLSCREEN_ON_CURRENT_MONITOR;
- g_object_set(widget_get_surface(m_pWindow), "fullscreen-mode", eMode, nullptr);
+ gdk_window_set_fullscreen_mode(widget_get_surface(m_pWindow), eMode);
GtkWidget* pMenuBarContainerWidget = m_pSalMenu ? m_pSalMenu->GetMenuBarContainerWidget() : nullptr;
if( eType == SetType::Fullscreen )
More information about the Libreoffice-commits
mailing list