background: Fix clearing too much from the background

This commit is contained in:
Bastien Nocera 2012-09-30 05:40:56 +02:00
parent fbddd14a45
commit 5b6385067d

View file

@ -275,7 +275,7 @@ on_screenshot_finished (GObject *source,
cairo_save (cr);
cairo_set_operator (cr, CAIRO_OPERATOR_CLEAR);
cairo_rectangle (cr, workarea_rect.x - rect.x, workarea_rect.y - rect.y, rect.width, rect.height);
cairo_rectangle (cr, workarea_rect.x - rect.x, workarea_rect.y - rect.y, workarea_rect.width, workarea_rect.height);
cairo_fill (cr);
cairo_restore (cr);