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.
This commit is contained in:
@@ -873,10 +873,6 @@ window_copy_surface(struct window *window,
|
|||||||
|
|
||||||
cairo_paint (cr);
|
cairo_paint (cr);
|
||||||
cairo_destroy (cr);
|
cairo_destroy (cr);
|
||||||
|
|
||||||
wl_surface_damage(window->surface,
|
|
||||||
rectangle->x, rectangle->y,
|
|
||||||
rectangle->width, rectangle->height);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
|||||||
Reference in New Issue
Block a user