summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/unx/gtk/window/gtksalframe.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx
index 83526a1bfa2f..df53136ca76e 100644
--- a/vcl/unx/gtk/window/gtksalframe.cxx
+++ b/vcl/unx/gtk/window/gtksalframe.cxx
@@ -3444,7 +3444,7 @@ gboolean GtkSalFrame::signalDraw( GtkWidget*, cairo_t *cr, gpointer frame )
// FIXME: we quite probably want to stop re-rendering of pieces
// that we know are just damaged by us and hence already re-rendered
- pThis->m_nDuringRender++;
+ pThis->pushIgnoreDamage();
// FIXME: we need to profile whether re-rendering the entire
// clip region, and just pushing (with renderArea) smaller pieces
@@ -3460,7 +3460,7 @@ gboolean GtkSalFrame::signalDraw( GtkWidget*, cairo_t *cr, gpointer frame )
pThis->renderArea( cr, &rect );
}
- pThis->m_nDuringRender--;
+ pThis->popIgnoreDamage();
cairo_surface_flush(cairo_get_target(cr));