Add small client for testing shm surfaces

This commit is contained in:
Kristian Høgsberg 2010-10-26 00:02:20 -04:00
parent d0c3b9da22
commit 012a007771
7 changed files with 348 additions and 19 deletions

View file

@ -166,6 +166,7 @@ dnd_draw(struct dnd *dnd)
CAIRO_CONTENT_COLOR_ALPHA,
rectangle.width,
rectangle.height);
cairo_surface_destroy(wsurface);
cr = cairo_create(surface);
cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE);