diff options
Diffstat (limited to 'src/statistics/gtk_statistics.c')
-rw-r--r-- | src/statistics/gtk_statistics.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/statistics/gtk_statistics.c b/src/statistics/gtk_statistics.c index 29d0b342..adac737f 100644 --- a/src/statistics/gtk_statistics.c +++ b/src/statistics/gtk_statistics.c | |||
@@ -132,6 +132,12 @@ statistics_expose (GtkWidget *statistics, | |||
132 | cairo_t *cr; | 132 | cairo_t *cr; |
133 | 133 | ||
134 | cr = gdk_cairo_create (statistics->window); | 134 | cr = gdk_cairo_create (statistics->window); |
135 | cairo_translate (cr, event->area.x, event->area.y); | ||
136 | cairo_rectangle (cr, | ||
137 | 0, 0, | ||
138 | event->area.width, event->area.height); | ||
139 | cairo_clip (cr); | ||
140 | |||
135 | gtk_statistics_draw (statistics, cr); | 141 | gtk_statistics_draw (statistics, cr); |
136 | cairo_destroy (cr); | 142 | cairo_destroy (cr); |
137 | return FALSE; | 143 | return FALSE; |