diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-04 14:59:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-04 15:00:50 +0000 |
commit | 5a009a4387a84a36d2e3418c7e7b097cb10c3f5a (patch) | |
tree | a542a3630a58eea9fe16eb1dd378bed1d856c0cb | |
parent | 19af4b899eb51631a1b16e53cd32adf697a10284 (diff) |
consistent use of [pop|push]IgnoreDamage
Change-Id: I9a1fccc2cb9f2cd2f336218cf336c358c1a87af1
-rw-r--r-- | vcl/unx/gtk/window/gtksalframe.cxx | 4 |
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)); |