[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Dec 17 09:11:33 UTC 2019
vcl/unx/gtk3/gtk3gtkframe.cxx | 5 -----
1 file changed, 5 deletions(-)
New commits:
commit 5a303d68b44415e1c64df1cd83b2bb4da51ac57b
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Dec 16 20:39:56 2019 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Dec 17 10:10:31 2019 +0100
drop gtk_widget_set_double_buffered for X too
Change-Id: I52f26bdf68e2ec8269c221de0fbf985629312ef3
Reviewed-on: https://gerrit.libreoffice.org/85243
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 8483304923e9..54ba13e1ee19 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -856,13 +856,8 @@ void GtkSalFrame::InitCommon()
GtkWidget *pEventWidget = getMouseEventWidget();
gtk_widget_set_app_paintable(GTK_WIDGET(m_pFixedContainer), true);
- /*non-X11 displays won't show anything at all without double-buffering
- enabled*/
- if (DLSYM_GDK_IS_X11_DISPLAY(getGdkDisplay()))
- gtk_widget_set_double_buffered(GTK_WIDGET(m_pFixedContainer), false);
gtk_widget_set_redraw_on_allocate(GTK_WIDGET(m_pFixedContainer), false);
-
// connect signals
g_signal_connect( G_OBJECT(m_pWindow), "style-updated", G_CALLBACK(signalStyleUpdated), this );
gtk_widget_set_has_tooltip(pEventWidget, true);
More information about the Libreoffice-commits
mailing list