summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/theme.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/theme.c b/source/theme.c
index 3cecd084..3ad8b95e 100644
--- a/source/theme.c
+++ b/source/theme.c
@@ -937,6 +937,7 @@ void rofi_theme_get_image ( const widget *widget, const char *property, cairo_t
if ( img != NULL ) {
cairo_pattern_t * pat = cairo_pattern_create_for_surface ( img );
+ cairo_pattern_set_extend ( pat, CAIRO_EXTEND_REPEAT );
cairo_set_source ( d, pat );
cairo_pattern_destroy ( pat );
}