[gtk+] gdk_window_end_paint: Flush destination surface after paint
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gdk_window_end_paint: Flush destination surface after paint
- Date: Mon, 10 Nov 2014 14:32:57 +0000 (UTC)
commit 90555e06beb929c4491a58b6136aa9f0f8ae1fae
Author: Alexander Larsson <alexl redhat com>
Date: Mon Nov 10 15:24:14 2014 +0100
gdk_window_end_paint: Flush destination surface after paint
It seems in cairo 1.14 we need this after having painted an image surface
to a X11 window surface (i.e. with GDK_RENDERING=image).
gdk/gdkwindow.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index be4f75c..ca7632a 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -3117,6 +3117,8 @@ gdk_window_end_paint (GdkWindow *window)
cairo_paint (cr);
cairo_destroy (cr);
+
+ cairo_surface_flush (surface);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]