From 90555e06beb929c4491a58b6136aa9f0f8ae1fae Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Mon, 10 Nov 2014 15:24:14 +0100 Subject: [PATCH] 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 file changed, 2 insertions(+) diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index be4f75ca35..ca7632a75f 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); } }