From 2feeb57dee7d7bd3a9685f4ce0f7fee81630977d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 16 Oct 2015 03:57:31 +0200 Subject: [PATCH] iconcache: Mark surfaces as dirty after changing data This is required to tell cairo to update its cached areas. --- src/x11/iconcache.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/x11/iconcache.c b/src/x11/iconcache.c index 4747295d4..508dd82b1 100644 --- a/src/x11/iconcache.c +++ b/src/x11/iconcache.c @@ -182,6 +182,8 @@ argbdata_to_surface (gulong *argb_data, int w, int h) } } + cairo_surface_mark_dirty (surface); + return surface; }