From ab2f1cddc60132ebe3b3cad466a408b803c990c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 7 Sep 2010 22:01:32 -0400 Subject: [PATCH] Dont post damage event from window_copy_surface We always call this between window_draw() and attaching the window surface so the surface we're copying to isn't visible. --- clients/window.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/clients/window.c b/clients/window.c index 9354f180..f1b435b1 100644 --- a/clients/window.c +++ b/clients/window.c @@ -873,10 +873,6 @@ window_copy_surface(struct window *window, cairo_paint (cr); cairo_destroy (cr); - - wl_surface_damage(window->surface, - rectangle->x, rectangle->y, - rectangle->width, rectangle->height); } static gboolean