[mutter/gnome-3-18] iconcache: Mark surfaces as dirty after changing data
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gnome-3-18] iconcache: Mark surfaces as dirty after changing data
- Date: Fri, 16 Oct 2015 02:18:59 +0000 (UTC)
commit 83d19c8ae20549a8578d22a5cfd9d73816443311
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Oct 16 03:57:31 2015 +0200
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 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/x11/iconcache.c b/src/x11/iconcache.c
index 4747295..508dd82 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]