[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara
caolanm at redhat.com
Mon Sep 11 07:54:31 UTC 2017
vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit ead4daeabd273c8b632d22a3330ca92dc58ec0f8
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Sep 7 16:39:12 2017 +0100
its really the contents we want to redraw
doesn't matter in practice though, but change it anyway
Change-Id: I9df8304f01c80a899bdd7219fc4ce459bda7de08
Reviewed-on: https://gerrit.libreoffice.org/42065
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
index 898df4499adc..60619cec48f9 100644
--- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
@@ -3309,7 +3309,8 @@ cairo::SurfaceSharedPtr GtkSalGraphics::CreateSurface(const OutputDevice& /*rRef
void GtkSalGraphics::WidgetQueueDraw() const
{
//request gtk to sync the entire contents
- gtk_widget_queue_draw(mpWindow);
+ GtkWidget *pWidget = GTK_WIDGET(mpFrame->getFixedContainer());
+ gtk_widget_queue_draw(pWidget);
}
namespace {
More information about the Libreoffice-commits
mailing list