summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-09-07 16:39:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-09-11 09:54:10 +0200
commitead4daeabd273c8b632d22a3330ca92dc58ec0f8 (patch)
treec33846d7e72ea8a8d926cccd5a1884c9be2230c2 /vcl
parent1a547a566eba5943f9e4d9987baf4aee80846dd1 (diff)
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@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx3
1 files changed, 2 insertions, 1 deletions
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 {