diff options
author | Dave Davenport <qball@blame.services> | 2021-06-13 21:35:42 +0200 |
---|---|---|
committer | Dave Davenport <qball@blame.services> | 2021-06-13 21:35:42 +0200 |
commit | 1e25ae03b7c091a00e1980b969b2cbd5b5a89f18 (patch) | |
tree | ede7350ad763a276a0870b0f850f4bd2519b93c0 | |
parent | a0b8a05315d4ed4f89c843a1c4c7420ce424d875 (diff) |
[Widget] Extend the pattern when loading, good for bg patterns.
-rw-r--r-- | source/theme.c | 1 |
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 ); } |