diff options
Diffstat (limited to 'common')
| -rw-r--r-- | common/background-image.c | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/common/background-image.c b/common/background-image.c index f3d2551e..5ede55e3 100644 --- a/common/background-image.c +++ b/common/background-image.c @@ -58,6 +58,7 @@ void render_background_image(cairo_t *cairo, cairo_surface_t *image,  	double width = cairo_image_surface_get_width(image);  	double height = cairo_image_surface_get_height(image); +	cairo_save(cairo);  	switch (mode) {  	case BACKGROUND_MODE_STRETCH:  		cairo_scale(cairo, @@ -116,4 +117,5 @@ void render_background_image(cairo_t *cairo, cairo_surface_t *image,  		break;  	}  	cairo_paint(cairo); +	cairo_restore(cairo);  }  | 
