background: Fix clearing too much from the background
This commit is contained in:
parent
fbddd14a45
commit
5b6385067d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue