Dont post damage event from window_copy_surface
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 8 Sep 2010 02:01:32 +0000 (22:01 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 8 Sep 2010 02:01:32 +0000 (22:01 -0400)
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

index 9354f18..f1b435b 100644 (file)
@@ -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